Upload AtomSLM checkpoint
Browse files- .gitattributes +2 -0
- README.md +39 -16
- compare_charts.png +3 -0
- dashboard.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
compare_charts.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
dashboard.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,34 +1,49 @@
|
|
| 1 |
---
|
| 2 |
library_name: pytorch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- atomslm
|
| 5 |
- language-model
|
| 6 |
- shared-weights
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# AtomSLM-600K
|
| 10 |
|
| 11 |
-
**AtomSLM** is a compact, shared-weight language model family built on the
|
| 12 |
-
AtomNet architecture (Shared Weight Core + Per-Layer FiLM Modulation).
|
|
|
|
|
|
|
| 13 |
|
| 14 |
## Model Details
|
| 15 |
|
| 16 |
-
| Field
|
| 17 |
-
|---------------|---------------------------|
|
| 18 |
-
| Architecture
|
| 19 |
-
| Parameters
|
| 20 |
-
| Vocab size
|
| 21 |
-
| d_model
|
| 22 |
-
| Layers
|
| 23 |
-
| FFN
|
| 24 |
-
|
|
| 25 |
-
| Weight tying
|
| 26 |
-
|
|
| 27 |
-
|
|
|
|
|
| 28 |
|
| 29 |
## Training
|
| 30 |
|
| 31 |
-
Trained on
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
### Hyperparameters
|
| 34 |
|
|
@@ -55,6 +70,14 @@ Trained on **TinyStories + WikiText-2** with a custom BPE tokenizer.
|
|
| 55 |
}
|
| 56 |
```
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
## Usage
|
| 59 |
|
| 60 |
```python
|
|
@@ -69,4 +92,4 @@ model.eval()
|
|
| 69 |
|
| 70 |
## License
|
| 71 |
|
| 72 |
-
|
|
|
|
| 1 |
---
|
| 2 |
library_name: pytorch
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
datasets:
|
| 5 |
+
- roneneldan/TinyStories
|
| 6 |
+
- Salesforce/wikitext
|
| 7 |
+
- HuggingFaceTB/everyday-conversations-llama3.1-2k
|
| 8 |
tags:
|
| 9 |
- atomslm
|
| 10 |
- language-model
|
| 11 |
- shared-weights
|
| 12 |
+
- pytorch
|
| 13 |
---
|
| 14 |
|
| 15 |
# AtomSLM-600K
|
| 16 |
|
| 17 |
+
**AtomSLM** is a compact, shared-weight language model family built on the
|
| 18 |
+
AtomNet architecture (Shared Weight Core + Per-Layer FiLM Modulation).
|
| 19 |
+
One shared weight core is reused across all N layers, with tiny per-layer
|
| 20 |
+
FiLM vectors providing the only per-layer state — deep reasoning at minimal parameter cost.
|
| 21 |
|
| 22 |
## Model Details
|
| 23 |
|
| 24 |
+
| Field | Value |
|
| 25 |
+
|------------------|--------------------------------|
|
| 26 |
+
| Architecture | AtomNet (shared-core + FiLM) |
|
| 27 |
+
| Parameters | 0.613M |
|
| 28 |
+
| Vocab size | 4096 |
|
| 29 |
+
| d_model | 120 |
|
| 30 |
+
| Layers | 8 |
|
| 31 |
+
| FFN multiplier | 2.0 |
|
| 32 |
+
| Context window | 256 tokens |
|
| 33 |
+
| Weight tying | True |
|
| 34 |
+
| Best val loss | 3.3455 |
|
| 35 |
+
| Best PPL (val) | 28.37 |
|
| 36 |
+
| Trained steps | 4900 |
|
| 37 |
|
| 38 |
## Training
|
| 39 |
|
| 40 |
+
Trained on the following datasets with a custom BPE tokenizer (vocab size matching the config above):
|
| 41 |
+
|
| 42 |
+
- `roneneldan/TinyStories`
|
| 43 |
+
- `wikitext-2-raw-v1`
|
| 44 |
+
- `wikitext-103-raw-v1`
|
| 45 |
+
- `hand-crafted-conversations`
|
| 46 |
+
- `HuggingFaceTB/everyday-conversations-llama3.1-2k`
|
| 47 |
|
| 48 |
### Hyperparameters
|
| 49 |
|
|
|
|
| 70 |
}
|
| 71 |
```
|
| 72 |
|
| 73 |
+
## Training Dashboard
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
|
| 77 |
+
## Benchmark vs Reference Models
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
|
| 81 |
## Usage
|
| 82 |
|
| 83 |
```python
|
|
|
|
| 92 |
|
| 93 |
## License
|
| 94 |
|
| 95 |
+
Apache 2.0
|
compare_charts.png
ADDED
|
Git LFS Details
|
dashboard.png
ADDED
|
Git LFS Details
|