Update README.md
Browse files
README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
| 1 |
|
| 2 |
-
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
|
|
|
|
| 1 |
|
| 2 |
+
# Custom GPT Model
|
| 3 |
|
| 4 |
+
This is a custom GPT model with:
|
| 5 |
+
- RMS normalization
|
| 6 |
+
- Rotary positional embeddings (RoPE)
|
| 7 |
+
- Separate Q,K,V projections
|
| 8 |
+
- Squared ReLU activation in MLP
|
| 9 |
+
- QK normalization in attention
|
| 10 |
+
- Zero initialization for projection layers
|
| 11 |
|
| 12 |
+
## Architecture
|
| 13 |
+
- Vocabulary Size: 50304
|
| 14 |
+
- Context Length: 1024
|
| 15 |
+
- Number of Layers: 12
|
| 16 |
+
- Number of Heads: 6
|
| 17 |
+
- Embedding Dimension: 768
|
| 18 |
|
| 19 |
+
## Usage
|
| 20 |
+
```python
|
| 21 |
+
from transformers import AutoModel
|
| 22 |
+
model = AutoModel.from_pretrained("Arjun-G-Ravi/Custom-GPT-555k")
|
| 23 |
+
```
|
| 24 |
|