Reuters GPT-2 trained from scratch

A small GPT-2-style causal language model trained from randomly initialized weights on the ingeniumacademy/reuters_articles dataset.

Dataset and tokenizer

  • Dataset: ingeniumacademy/reuters_articles
  • Input text: article title + two newlines + article body
  • Tokenizer: ingeniumacademy/gpt2-reuters-tokenizer
  • Objective: causal next-token prediction

Architecture

  • Layers: 4
  • Attention heads: 4
  • Hidden dimension: 256
  • Context length: 256
  • Vocabulary size: 52000
  • Parameters: 16,537,088

Training

  • The GPT model weights were randomly initialized; no pretrained GPT checkpoint was used.
  • Main model: 5 epochs
  • Comparison model: comparison_2_epochs/
  • Shared seed: 42
  • Learning rate: 0.0005
  • Effective per-device batch size: 16

See all_run_summaries.json and training_evidence/ for measured results and logs.

Downloads last month
161
Safetensors
Model size
16.5M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support