GPT-2 (small) trained from scratch on Reuters articles.

  • Objective: causal language modelling (next-token prediction)
  • Weights: randomly initialised, no pretrained GPT weights
  • Tokenizer: ingeniumacademy/gpt2-reuters-tokenizer
  • Data: ingeniumacademy/reuters_articles (title + body)

Results

{
  "model_config": {
    "n_layer": 6,
    "n_head": 8,
    "n_embd": 256,
    "n_positions": 256,
    "vocab_size": 52000
  },
  "parameters": 18116608,
  "epochs": 5,
  "training_time_min": 8.39,
  "final_train_loss": 4.0512,
  "val_loss": 4.374,
  "val_perplexity": 79.36,
  "test_loss": 4.1585,
  "test_perplexity": 63.98
}

Supporting files: loss_curve.png, training_log_history.json, results.json.

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