Views
No views yet
transformers, no AutoModel, and no Trainer.| Parameters | 123,587,328 |
| Trained on | 2.46B tokens of FineWeb-Edu |
| Steps | 20,000 |
| Validation loss / perplexity | 3.1583 / 23.53 |
| Hardware | one RTX 2080 Ti, ~27 hours, fp16 |
| Architecture | RoPE, RMSNorm, SwiGLU, causal attention with a KV cache |
| Tokenizer | GPT-2 tiktoken vocabulary (50,304 padded) |
results/.pip install git+https://github.com/AuthRan/AuthLLM.git tiktoken1import torch
2from huggingface_hub import hf_hub_download
3from ashugpt.inference.generate import generate
4from ashugpt.tokenizer.tiktoken_bpe import TiktokenBPETokenizer
5from ashugpt.training.checkpoint import load_model_for_inference
6
7path = hf_hub_download("AuthRan/AshuGPT-124M-base", "model.pt")
8model = load_model_for_inference(path).eval()
9tok = TiktokenBPETokenizer()
10
11ids = torch.tensor([tok.encode("The process of photosynthesis", add_bos=True)])
12out = generate(model, ids, max_new_tokens=120, temperature=0.8, top_k=50, eos_id=tok.eos_id)
13print(tok.decode(out[0].tolist()))model.pt is inference-only — the optimizer state is stripped by
scripts/export_inference.py, which is why it is 494MB rather than 1.5GB. The
model is rebuilt from the config saved inside the checkpoint, so nothing is
hard-coded to a particular size.