|
Download README.md from Raleesa/gpt2_model: direct link, hf CLI and curl.
- Browser
- Download file 781 Bytes
-
https://huggingface.co/Raleesa/gpt2_model/resolve/main/README.md
- Command line
-
hf download hf://Raleesa/gpt2_model/README.md
-
curl -L -o README.md https://huggingface.co/Raleesa/gpt2_model/resolve/main/README.md
781 Bytes
| language: | |
| - en | |
| license: mit | |
| tags: | |
| - gpt2 | |
| - causal-language-modeling | |
| - self-supervised-learning | |
| - reuters | |
| # Reuters GPT-2 From Scratch | |
| ## Overview | |
| A small GPT-2-style autoregressive language model | |
| trained from randomly initialized weights on the | |
| Reuters Articles dataset. | |
| ## Dataset | |
| ingeniumacademy/reuters_articles | |
| ## Tokenizer | |
| ingeniumacademy/gpt2-reuters-tokenizer | |
| ## Architecture | |
| - Embedding dimension: 256 | |
| - Transformer layers: 4 | |
| - Attention heads: 4 | |
| - Context length: 256 | |
| ## Training | |
| - Epochs: 2 | |
| - Learning rate: 0.0005 | |
| - Training batch size: 8 | |
| - Gradient accumulation: 2 | |
| ## Evaluation | |
| Training loss: 5.4773 | |
| Validation loss: 5.0473 | |
| Test loss: 4.8201 | |
| ## Important | |
| The GPT-2 model weights were initialized randomly. | |
| No pretrained GPT-2 model weights were used. | |