Small Reuters GPT-2

Trained from random weights on concatenated Reuters article titles and bodies using ingeniumacademy/gpt2-reuters-tokenizer. No pretrained model weights were loaded for training.

  • Configuration: 4 layers, 4 heads, embedding dimension 256, context 128, vocabulary 52,000.
  • Parameters: 16,504,320. Epochs: 5. Learning rate: 0.0003.
  • Batch size: 16; AdamW; weight decay 0.01; seed 42; float32.
  • Validation loss: 4.134635; test loss: 3.945434; test perplexity: 51.698796.

Load this folder with AutoTokenizer.from_pretrained(...) and GPT2LMHeadModel.from_pretrained(...).

Downloads last month
-
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

Dataset used to train AkinduH/reuters-gpt2