Update README.md
Browse files
README.md
CHANGED
|
@@ -5,4 +5,20 @@ language:
|
|
| 5 |
base_model:
|
| 6 |
- openai-community/gpt2-medium
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
base_model:
|
| 6 |
- openai-community/gpt2-medium
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# GPT-2 (From Scratch in PyTorch) — Fine-Tuned Version
|
| 11 |
+
|
| 12 |
+
This model is a **custom GPT-2 implementation** built entirely from scratch in **PyTorch** (no Hugging Face Transformers for the architecture itself) and **fine-tuned** on a custom dataset using **Supervised Fine-Tuning (SFT)**.
|
| 13 |
+
|
| 14 |
+
## Model Details
|
| 15 |
+
|
| 16 |
+
- **Architecture:** GPT-2 (from scratch)
|
| 17 |
+
- **Variants Supported:** gpt2-small, gpt2-medium, gpt2-large, gpt2-xl
|
| 18 |
+
- **Framework:** PyTorch
|
| 19 |
+
- **Pretraining Source:** Loaded GPT-2 pretrained weights from OpenAI format
|
| 20 |
+
- **Fine-Tuning Method:** Supervised Fine-Tuning (SFT)
|
| 21 |
+
- **Fine-Tuning Data:** Custom dataset (domain-specific; see dataset section)
|
| 22 |
+
- **Tokenization:** GPT-2 tokenizer style
|
| 23 |
+
|
| 24 |
+
|