PyTorch
Safetensors
atomslm
language-model
Sqersters commited on
Commit
5c42dbc
·
verified ·
1 Parent(s): a7265a9

Upload AtomSLM checkpoint

Browse files
Files changed (4) hide show
  1. .gitattributes +2 -0
  2. README.md +39 -16
  3. compare_charts.png +3 -0
  4. 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 | Value |
17
- |---------------|---------------------------|
18
- | Architecture | AtomNet (shared-core FiLM)|
19
- | Parameters | 0.613M |
20
- | Vocab size | 4096 |
21
- | d_model | 120 |
22
- | Layers | 8 |
23
- | FFN mult | 2.0 |
24
- | Max seq len | 256 |
25
- | Weight tying | True |
26
- | Val loss | 3.3455 |
27
- | Trained steps | 4900 |
 
28
 
29
  ## Training
30
 
31
- Trained on **TinyStories + WikiText-2** with a custom BPE tokenizer.
 
 
 
 
 
 
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
- MIT
 
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
+ ![Training Dashboard](dashboard.png)
76
+
77
+ ## Benchmark vs Reference Models
78
+
79
+ ![Comparison Charts](compare_charts.png)
80
+
81
  ## Usage
82
 
83
  ```python
 
92
 
93
  ## License
94
 
95
+ Apache 2.0
compare_charts.png ADDED

Git LFS Details

  • SHA256: cfe5cd4e4b02e708fed81ed5721bf8dca8136cacccccc0f71331c2943942a6c7
  • Pointer size: 131 Bytes
  • Size of remote file: 140 kB
dashboard.png ADDED

Git LFS Details

  • SHA256: d7d26758a4cca116ceeafab69049e29725f23ed31fce12e4ccbe0704fbfa7f98
  • Pointer size: 131 Bytes
  • Size of remote file: 129 kB