https://github.com/zombietdv/n_gram-model
n_gram model implementation with numpy only
https://github.com/zombietdv/n_gram-model
backpropagation numpy
Last synced: 18 days ago
JSON representation
n_gram model implementation with numpy only
- Host: GitHub
- URL: https://github.com/zombietdv/n_gram-model
- Owner: zombieTDV
- License: mit
- Created: 2023-05-22T14:22:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T12:01:50.000Z (4 months ago)
- Last Synced: 2024-12-09T00:19:32.926Z (2 months ago)
- Topics: backpropagation, numpy
- Language: Python
- Homepage:
- Size: 120 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# n_gram-model
n_gram model implementation with numpy onlyHow to use it?
N = n_gram_model()
N.train()
N.sample()I learned the model from Andrej Karpathy's videos, check it out if you are curious https://youtu.be/PaCmpygFfXo