Skip to content

Commit

Permalink
Add transformer example
Browse files Browse the repository at this point in the history
  • Loading branch information
parsiad committed Aug 23, 2024
1 parent b1e398f commit 00e7cf1
Show file tree
Hide file tree
Showing 2 changed files with 457 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ sys.path.insert(0, os.path.expanduser("~/micrograd-pp/python"))
## Examples

* [Train a simple feedforward neural network on MNIST to classify handwritten digits](https://nbviewer.org/github/parsiad/micrograd-pp/blob/main/examples/mnist.ipynb)
* [Learn an n-gram model](https://nbviewer.org/github/parsiad/micrograd-pp/blob/main/examples/n-gram.ipynb)
* [Learn an n-gram model to generate text](https://nbviewer.org/github/parsiad/micrograd-pp/blob/main/examples/n-gram.ipynb)
* [Train a decoder-only transformer to generate text](https://nbviewer.org/github/parsiad/micrograd-pp/blob/main/examples/transformer.ipynb)
Loading

0 comments on commit 00e7cf1

Please sign in to comment.