Added model metadata
Browse files
README.md
CHANGED
|
@@ -1,40 +1,41 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- text-generation
|
| 5 |
+
- pytorch
|
| 6 |
+
- transformer
|
| 7 |
+
- custom-model
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
---
|
| 12 |
|
| 13 |
+
# VelocityLM - 2B Parameter Language Model
|
| 14 |
|
| 15 |
+
A custom transformer model with 2B parameters trained for text generation.
|
| 16 |
|
| 17 |
+
## Model Details
|
| 18 |
|
| 19 |
+
- **Parameters:** ~2 billion
|
| 20 |
+
- **Architecture:** Custom Transformer with RoPE, RMSNorm, SwiGLU
|
| 21 |
+
- **Context Length:** 2,048 tokens
|
| 22 |
+
- **Tokenizer:** GPT-2 compatible
|
| 23 |
+
- **Training:** Falcon RefinedWeb dataset
|
| 24 |
|
| 25 |
+
## Usage
|
| 26 |
|
| 27 |
+
```python
|
| 28 |
+
from transformers import AutoTokenizer
|
| 29 |
+
import torch
|
| 30 |
|
| 31 |
+
# Load tokenizer
|
| 32 |
+
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
| 33 |
|
| 34 |
+
# Load model (you'll need custom loading code)
|
| 35 |
+
# See the Space implementation for details
|
| 36 |
+
```
|
| 37 |
|
| 38 |
+
## Files
|
| 39 |
|
| 40 |
+
- config.json - Model configuration
|
| 41 |
+
- pytorch_model.bin - Model weights
|