Downloads · 30 days
30
41% of all-time downloads
gra-dient/poormans-nanogpt-tiny
poormans-nanogpt-tiny is a text generation model from gra-dient. Use it when you need the model to write or continue text. The card lists the license as mit.
A tiny 4-layer GPT model trained on TinyStories.
Downloads · 30 days
30
41% of all-time downloads
All-time downloads
74
Public
Parameters
16.3M
65.2 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors65.2 MB · 100%
From the Hugging Face model README
A tiny 4-layer GPT model trained on TinyStories.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("gra-dient/poormans-nanogpt-tiny")
tokenizer = AutoTokenizer.from_pretrained("gra-dient/poormans-nanogpt-tiny")
This project builds upon and, in some ways, is a humble tribute to the work of Andrej Karpathy nanoGPT.
As we stand on the shoulders of giants, I hope this model series contributes something and encourages others to join in the fun.