PhilipQuirke
commited on
Update model card with YAML front matter
Browse files
README.md
CHANGED
@@ -14,4 +14,35 @@ This repository contains a transformer model that can predict addition questions
|
|
14 |
### Model-specific metadata
|
15 |
- **Operation type**: addition
|
16 |
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
### Model-specific metadata
|
15 |
- **Operation type**: addition
|
16 |
|
17 |
+
# QuantaMaths: `add_d8_l2_h3_t45K_s173289`
|
18 |
+
|
19 |
+
This repository contains a transformer model that can predict addition questions.
|
20 |
+
|
21 |
+
### Model-specific metadata
|
22 |
+
- **Operation type**: addition
|
23 |
+
- **Num digits**: 8
|
24 |
+
- **Layers**: 2
|
25 |
+
- **Attention Heads**: 3
|
26 |
+
- **Training steps**: 45,000
|
27 |
+
- **Random seed**: 173289
|
28 |
+
|
29 |
+
**Contents**:
|
30 |
+
- `model.pth`: The trained transformer model.
|
31 |
+
- `training_loss.json`: Data gathered during model training (used to plot "loss over training batches").
|
32 |
+
- `behaviors.json`: Facts gathered about the model by direct inspection (attention pattern data, PCA data, digit impact data, etc.).
|
33 |
+
- `features.json`: Facts gathered about hypothesized algorithm features via experimentation, e.g. node P12L0H1 implements the feature A3.ST.
|
34 |
+
|
35 |
+
**Provenance**:
|
36 |
+
- `model.pth` and `training_loss.json` were created by [QuantaMathsTrain.ipynb](https://github.com/PhilipQuirke/quanta_maths/blob/main/notebooks/QuantaMathsTrain.ipynb).
|
37 |
+
- `behaviors.json` and `features.json` were created by [QuantaMathsAnalyse.ipynb](https://github.com/PhilipQuirke/quanta_maths/blob/main/notebooks/QuantaMathsAnalyse.ipynb).
|
38 |
+
- The JSON files are used by [QuantaMathsAlgorithm.ipynb](https://github.com/PhilipQuirke/quanta_maths/blob/main/notebooks/QuantaMathsAlgorithm.ipynb).
|
39 |
+
|
40 |
+
**Folder name details**:
|
41 |
+
- "add", "sub", or "mix": The types of questions the model can predict.
|
42 |
+
- "d5" to "d20": How many digits the model handles (e.g. a d5 sub model can predict the answer in 123450-345670=-0123230).
|
43 |
+
- "l1", "l2", or "l3": The number of layers in the model.
|
44 |
+
- "h3" or "h4": The number of attention heads in the model.
|
45 |
+
- "t15K" to "t85K", etc.: The number of batches the model was trained on.
|
46 |
+
- "s372001", etc.: The random seed used in model training.
|
47 |
+
|
48 |
+
|