Downloads · 30 days
6
13% of all-time downloads
yashshinde0080/zeronet-3
zeronet-3 is a text generation model from yashshinde0080. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A minimal GPT language model trained from scratch using only Python's standard library (no PyTorch/TensorFlow).
Downloads · 30 days
6
13% of all-time downloads
All-time downloads
46
Public
Repo size
1 MB
Likes
0
Public
Click a slice to open those files.
.json2.7 MB · 71%
From the Hugging Face model README
A minimal GPT language model trained from scratch using only Python's standard library (no PyTorch/TensorFlow).
This model implements the core GPT architecture:
| Parameter | Value |
|---|---|
| Layers | 6 |
| Embedding Dimension | 192 |
| Attention Heads | 6 |
| Context Length | 256 |
| Vocabulary Size | 77 |
| Total Parameters | 112,256 |
This model uses a custom pure-Python implementation. See the repository for the complete code.
# Load and generate
from model import gpt, generate
text = generate(prompt="Once upon a time", temperature=0.7)
print(text)
Limitations
Small model size (educational purposes)
Character-level tokenization (not BPE)
Limited training data and compute
Pure Python = slow inference
License
Apache 2.0
Acknowledgments
Based on Andrej Karpathy's educational implementations (micrograd, makemore, nanoGPT).