v3 mini-eval model, trained from scratch on a ~20GB (5B-token) sample of 1800–1875 English texts using a Llama-based Causal Language Model.
| Detail | Value |
|---|---|
| Model Architecture | LlamaForCausalLM (Decoder-Only Transformer) |
| Parameter Count | ~500M |
| Training Type | Trained from Scratch (Random Initialization) |
| Tokenizer | Custom BPE, Vocab Size 32,000 |
| Sequence Length | 4096 tokens |
| Attention Type | Grouped Query Attention (GQA) |
This model is a custom size and configuration based on Llama:
| Parameter | Value |
|---|---|
| Number of Layers | 24 |
| Hidden Size (d) | 1280 |
| Intermediate Size ($\text{d}_{\text{ff}}$) | 3456 |
| Attention Heads | 20 (Query) / 5 (Key/Value) |
| Activation Function | SiLU (silu) |
| Normalization | RMS Norm (rms_norm_eps: 1e-06) |
| Position Embeddings | Rotary Positional Embeddings (RoPE, theta: 10000) |
sample_5b_tokens)ap-\npear) and character-confusion errors (deatli, lie for "he").Model weights and tokenizer are in the final/ subfolder.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
REPO = "haykgrigorian/TimeCapsuleLLM-English-1800-1875-v3-mini-eval"
tok = AutoTokenizer.from_pretrained(REPO, subfolder="final")
model = AutoModelForCausalLM.from_pretrained(REPO, subfolder="final", dtype=torch.bfloat16).eval()
This model was trained on an H100 SXM from RunPod
Total: $85
checkpoint-13000/optimizer.pt 2.0 GBcheckpoint-13000/model.safetensors 998 MBfinal/model.safetensors 998 MBmodel.safetensors 998 MBcheckpoint-13000/rng_state.pth 14.2 kBcheckpoint-13000/training_args.bin 5 kBfinal/training_args.bin 5 kBcheckpoint-13000/scheduler.pt 1.1 kB