• Stars
    star
    234
  • Rank 171,630 (Top 4 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple implimentation of Bayesian Flow Networks (BFN)

Bayesian Flow Networks

A PyTorch implementation of Bayesian Flow Networks

Currently use of a non causal version of LLAMA2. Currently training TinyStories Models matching https://github.com/karpathy/llama2.c/tree/master

I am going to be using this repository to explore training dynamics of this new class of models. I will maintain a minimal implimentation in the Minimal.ipynd for a simple BFN implimentation. Everything else is an early work in progress.

Paper Figure - BFN

Features

Correctness

  • Discrete model with continuous-time loss, training and sampling (completed)
  • SOTA performance on XOR dataset
  • Tiny Stories 15m LLAMA2 Initial Code
  • Tiny Stories weights (training)
  • Wiki Text8 Dataset
  • Bayesian Flow GPT-2 Scale
  • Fancy Visuals