Downloads · 30 days
7
22% of all-time downloads
amDANIEL2024/gptmdogo-bible
gptmdogo-bible is a machine learning model from amDANIEL2024. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Custom-architecture GPT trained from scratch on a character-level tokenizer.
Downloads · 30 days
7
22% of all-time downloads
All-time downloads
32
Public
Repo size
52.7 MB
Likes
0
Public
Click a slice to open those files.
.pt52.7 MB · 100%
From the Hugging Face model README
Custom-architecture GPT trained from scratch on a character-level tokenizer.
This is not a transformers-compatible model. To load it, download gpt_best.pt
and use the same GPT class definition from the training notebook:
ckpt = torch.load("gpt_best.pt", map_location="cpu", weights_only=False)
model = GPT(ckpt["config"])
model.load_state_dict(ckpt["model_state_dict"])
stoi, itos = ckpt["stoi"], ckpt["itos"]