Downloads · 30 days
18
21% of all-time downloads
hranjan043/simbot-gpt-level1
simbot-gpt-level1 is a text generation model from hranjan043. Use it when you need the model to write or continue text. It is set up for pytorch. The card lists the license as apache-2.0.
SimBot GPT is a from-scratch GPT-style language model implemented in PyTorch. This project is focused on learning LLM internals, not on instruction tuning or production use.
Downloads · 30 days
18
21% of all-time downloads
All-time downloads
87
Public
Repo size
96.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors48.1 MB · 100%
From the Hugging Face model README
SimBot GPT is a from-scratch GPT-style language model implemented in PyTorch. This project is focused on learning LLM internals, not on instruction tuning or production use.
⚠️ This is a base language model, not instruction-tuned and not grounded with RAG.
simbot.safetensors — model weights (safe & HF-recommended format)tokenizer.json — BPE tokenizerconfig.json — model hyperparametersmodel/simbot.py — model architecture (PyTorch)The following packages are required to load and run the model:
torch==2.9.1
tokenizers==0.22.1
safetensors
import json
from safetensors.torch import load_file
from tokenizers import Tokenizer
from model.simbot import SIMGPT
# Load tokenizer
tokenizer = Tokenizer.from_file("tokenizer.json")
# Load config
with open("config.json") as f:
cfg = json.load(f)
# Build model
model = SIMGPT(
vocab_size=cfg["vocab_size"],
block_size=cfg["block_size"],
n_layers=cfg["n_layers"],
n_heads=cfg["n_heads"],
d_model=cfg["d_model"]
)
# Load weights
state_dict = load_file("simbot.safetensors")
model.load_state_dict(state_dict)
model.eval()
This model is a custom PyTorch implementation and does not support the Hugging Face inference widget.
python inference.py