This model is a fine-tuned version of GeorgeUwaifo/iviegpt2new01cresults on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 5e-05 - trainbatchsize: 4 - evalbatchsize: 8 - gradientaccumulationsteps: 4 - totaltrainbatchsize: 16 - lrschedulertype: linear - lrschedulerwarmupsteps: 387 - numepochs: 5 - mixedprecisiontraining: Native AMP - Transformers 5.16.1 - Pytorch 2.11.0+cu128 - Datasets 4.8.5 - Tokenizers 0.23.1
gpt2-traning is an open-weight model for text generation from Yorukot, released under Apache License 2.0. It has 124M parameters. At 16-bit it needs about 0.3 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.
This is the lab4-yoru-AY-482206 checkpoint, trained from scratch on English C4. It was selected by the lowest development loss among nine experimental recipes.
Runs On
What it takes to serve gpt2-traning (124M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 0.2 GB | 0.3 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 0.1 GB | 0.1 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 0.1 GB | 0.1 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 7, 2026.
gpt2-traning on every accelerator the SAVRN Index prices, at every precision
Model Card
By Yorukot, published under apache-2.0, revision 38c5ac62627d.
This is the lab4-yoru-AY-482206 checkpoint, trained from scratch on English C4. It was selected by the lowest development loss among nine experimental recipes. The independent seed repeat and reserved audit evaluation were still pending when this checkpoint was published. Reported scores are local evaluation proxies, not an official online-judge result. - Stock Hugging Face GPT2LMHeadModel: 12 layers, 12 attention heads, hidden width 768, context length 1,024, vocabulary 50,257, tied input/output embeddings. - 124,439,808 unique parameters, commonly described as GPT-2 small. The lab uses the historical 117M model-family label. - GPT-2 tokenizer; documents packed with EOS separators. No…
Read Yorukot's full model card
GPT-2 trained on C4 — Lab 4, AY
This is the lab4-yoru-AY-482206 checkpoint, trained from scratch on English C4.
It was selected by the lowest development loss among nine experimental recipes.
The independent seed repeat and reserved audit evaluation were still pending
when this checkpoint was published. Reported scores are local evaluation proxies,
not an official online-judge result.
Model and training
- Stock Hugging Face
GPT2LMHeadModel: 12 layers, 12 attention heads, hidden width 768, context length 1,024, vocabulary 50,257, tied input/output embeddings. - 124,439,808 unique parameters, commonly described as GPT-2 small. The lab uses the historical 117M model-family label.
- GPT-2 tokenizer; documents packed with EOS separators. No pretrained model weights were used.
- Two NVIDIA H200 GPUs, BF16 training, FP32 saved parameters, 30-minute allocation.
- 1,631 optimizer updates; global batch 524,288 input tokens; 855,113,728 input tokens processed.
- Muon for hidden matrices: learning rate 0.0012, momentum 0.95, Nesterov, five Newton–Schulz steps, AdamW RMS matching.
- Auxiliary AdamW: learning rate 0.0006, betas
(0.9, 0.95). - Weight decay 0.1, no decay on normalization/bias parameters, gradient clipping 1.0, dropout 0, random seed 42.
- Five percent warmup followed by cosine decay to zero;
torch.compilewith the default mode. Training used PyTorch 2.14.0 and Transformers 5.17.0. - C4 revision:
1588ec454efa1a09f29cd18ddd04fe05fc8653a2.
Evaluation
English C4 validation documents were shuffled with seed 42, packed into 1,024-token blocks, and scored using 1,023 shifted prediction targets per block.
| Split | Documents | Evaluated blocks | Loss | Perplexity |
|---|---|---|---|---|
| Development | First 16,384 shuffled documents | 7,616 | 3.660120 | 38.8660 |
| Historical comparison | First 2,048 shuffled documents | 962 | 3.684590 | 39.8288 |
Development packing retains complete groups of 64 blocks for distributed evaluation. These splits overlap and are not independent tests. The lab's official evaluation uses 100,000 validation documents and may differ in packing and scoring. The larger reserved audit split is not included in these results.
Load the checkpoint
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "yorukot/gpt2-traning"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
Inference and evaluation use stock Transformers; the training optimizer is not required. This is a base language model for an educational experiment, without instruction tuning. Its web training data can produce inaccurate or biased text.
Configuration
- Architecture
- GPT2LMHeadModel
- Vocabulary size
- 50,257
- Model type
- gpt2
Identity and Version
- Repository
- yorukot/gpt2-traning
- Publisher
- Yorukot
- Task
- Text generation
- Modality
- Text
- Library
- transformers
- Parameters
- 124M parameters
- Languages
- en
- Revision
- 38c5ac62627d1ee8077a1cec46ec498be0b4e09b
- First published
- 2026-10-02
- Last updated
- 2026-10-02
Files and Weights
7 files, 501.3 MB in total. The weights are 1 file totalling 497.8 MB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model.safetensors | Weights | 497.8 MB | df8c52bf79aa |
| config.json | Configuration | 833 B | — |
| generation_config.json | Configuration | 214 B | — |
| README.md | Documentation | 3.0 KB | — |
| .gitattributes | Repository | 1.5 KB | — |
| tokenizer.json | Tokenizer | 3.6 MB | — |
| tokenizer_config.json | Tokenizer | 323 B | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 497.8 MB
Released by Yorukot through its official repository on Hugging Face. Read the license.
Built From
- Trained on (disclosed) allenai/c4
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 497.8 MB |
| 16-bit | 0.2 GB |
| 8-bit | 0.1 GB |
| 4-bit | 0.1 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About gpt2-traning
How much GPU memory does gpt2-traning need?
About 0.3 GB at 16-bit and 0.1 GB at 4-bit: the weights (124M parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run gpt2-traning on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use gpt2-traning commercially?
Yes. gpt2-traning is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
Similar Models
This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).