PhilipQuirke
commited on
Update model card with YAML front matter
Browse files
README.md
CHANGED
@@ -1,32 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# QuantaMaths: `add_d15_l2_h3_t80K_s572091`
|
2 |
|
3 |
This repository contains a transformer model that can predict addition questions.
|
4 |
|
5 |
### Model-specific metadata
|
6 |
- **Operation type**: addition
|
7 |
-
- **Num digits**: 15
|
8 |
-
- **Layers**: 2
|
9 |
-
- **Attention Heads**: 3
|
10 |
-
- **Training steps**: 80,000
|
11 |
-
- **Random seed**: 572091
|
12 |
-
|
13 |
-
**Contents**:
|
14 |
-
- `model.pth`: The trained transformer model.
|
15 |
-
- `training_loss.json`: Data gathered during model training (used to plot "loss over training batches").
|
16 |
-
- `behaviors.json`: Facts gathered about the model by direct inspection (attention pattern data, PCA data, digit impact data, etc.).
|
17 |
-
- `features.json`: Facts gathered about hypothesized algorithm features via experimentation, e.g. node P12L0H1 implements the feature A3.ST.
|
18 |
-
|
19 |
-
**Provenance**:
|
20 |
-
- `model.pth` and `training_loss.json` were created by [QuantaMathsTrain.ipynb](https://github.com/PhilipQuirke/quanta_maths/blob/main/notebooks/QuantaMathsTrain.ipynb).
|
21 |
-
- `behaviors.json` and `features.json` were created by [QuantaMathsAnalyse.ipynb](https://github.com/PhilipQuirke/quanta_maths/blob/main/notebooks/QuantaMathsAnalyse.ipynb).
|
22 |
-
- The JSON files are used by [QuantaMathsAlgorithm.ipynb](https://github.com/PhilipQuirke/quanta_maths/blob/main/notebooks/QuantaMathsAlgorithm.ipynb).
|
23 |
-
|
24 |
-
**Folder name details**:
|
25 |
-
- "add", "sub", or "mix": The types of questions the model can predict.
|
26 |
-
- "d5" to "d20": How many digits the model handles (e.g. a d5 sub model can predict the answer in 123450-345670=-0123230).
|
27 |
-
- "l1", "l2", or "l3": The number of layers in the model.
|
28 |
-
- "h3" or "h4": The number of attention heads in the model.
|
29 |
-
- "t15K" to "t85K", etc.: The number of batches the model was trained on.
|
30 |
-
- "s372001", etc.: The random seed used in model training.
|
31 |
-
|
32 |
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- addition
|
4 |
+
- mathematics
|
5 |
+
license: apache-2.0
|
6 |
+
library_name: transformers
|
7 |
+
accuracy_add: 0.99999
|
8 |
+
train_loss: 8.6e-08
|
9 |
+
---
|
10 |
# QuantaMaths: `add_d15_l2_h3_t80K_s572091`
|
11 |
|
12 |
This repository contains a transformer model that can predict addition questions.
|
13 |
|
14 |
### Model-specific metadata
|
15 |
- **Operation type**: addition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
+
(Your shared text, minus YAML, goes here...)
|