empty-michael
commited on
Commit
•
9a6fdde
1
Parent(s):
7a811cc
Model save
Browse files- README.md +85 -0
- generation_config.json +4 -0
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
model-index:
|
7 |
+
- name: tinystories_1layer_attn_mlp_C10k_k16
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# tinystories_1layer_attn_mlp_C10k_k16
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.1329
|
19 |
+
- Accuracy: 0.5091
|
20 |
+
- Multicode K: 1
|
21 |
+
- Dead Code Fraction/layer0: 0.1880
|
22 |
+
- Mse/layer0: 604.5097
|
23 |
+
- Input Norm/layer0: 31.9987
|
24 |
+
- Output Norm/layer0: 19.3897
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 0.0005
|
44 |
+
- train_batch_size: 16
|
45 |
+
- eval_batch_size: 16
|
46 |
+
- seed: 42
|
47 |
+
- gradient_accumulation_steps: 6
|
48 |
+
- total_train_batch_size: 96
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: constant
|
51 |
+
- lr_scheduler_warmup_ratio: 0.05
|
52 |
+
- training_steps: 10000
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Multicode K | Dead Code Fraction/layer0 | Mse/layer0 | Input Norm/layer0 | Output Norm/layer0 |
|
57 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:-----------:|:-------------------------:|:----------:|:-----------------:|:------------------:|
|
58 |
+
| 3.0494 | 0.05 | 500 | 2.9927 | 0.4177 | 1 | 0.0 | 805.1676 | 31.9986 | 10.3600 |
|
59 |
+
| 2.6986 | 0.1 | 1000 | 2.7080 | 0.4472 | 1 | 0.0084 | 739.3244 | 31.9985 | 12.7165 |
|
60 |
+
| 2.5145 | 0.15 | 1500 | 2.5252 | 0.4637 | 1 | 0.0546 | 697.1179 | 31.9984 | 14.4889 |
|
61 |
+
| 2.4197 | 0.2 | 2000 | 2.4093 | 0.4758 | 1 | 0.0988 | 670.0254 | 31.9983 | 15.7288 |
|
62 |
+
| 2.3541 | 0.25 | 2500 | 2.3404 | 0.4837 | 1 | 0.1337 | 651.1297 | 31.9983 | 16.6602 |
|
63 |
+
| 2.2742 | 0.3 | 3000 | 2.2907 | 0.4903 | 1 | 0.1499 | 642.6360 | 31.9983 | 17.3243 |
|
64 |
+
| 2.2488 | 0.35 | 3500 | 2.2565 | 0.4945 | 1 | 0.1575 | 640.3158 | 31.9983 | 17.7566 |
|
65 |
+
| 2.2287 | 0.4 | 4000 | 2.2333 | 0.4967 | 1 | 0.1613 | 638.8423 | 31.9983 | 18.0223 |
|
66 |
+
| 2.2576 | 0.45 | 4500 | 2.2155 | 0.4992 | 1 | 0.1676 | 639.7464 | 31.9983 | 18.1919 |
|
67 |
+
| 2.1901 | 1.02 | 5000 | 2.2026 | 0.5014 | 1 | 0.1696 | 638.1766 | 31.9984 | 18.3119 |
|
68 |
+
| 2.1686 | 1.07 | 5500 | 2.1935 | 0.5026 | 1 | 0.1716 | 638.6084 | 31.9984 | 18.4013 |
|
69 |
+
| 2.2158 | 1.12 | 6000 | 2.1833 | 0.5037 | 1 | 0.1779 | 632.9326 | 31.9985 | 18.5149 |
|
70 |
+
| 2.1843 | 1.17 | 6500 | 2.1760 | 0.5039 | 1 | 0.1797 | 631.2925 | 31.9985 | 18.5986 |
|
71 |
+
| 2.1339 | 1.22 | 7000 | 2.1696 | 0.5048 | 1 | 0.1819 | 627.9791 | 31.9985 | 18.7053 |
|
72 |
+
| 2.187 | 1.27 | 7500 | 2.1584 | 0.5063 | 1 | 0.1867 | 622.1227 | 31.9986 | 18.8338 |
|
73 |
+
| 2.1302 | 1.32 | 8000 | 2.1508 | 0.5071 | 1 | 0.1875 | 617.7162 | 31.9986 | 18.9493 |
|
74 |
+
| 2.1471 | 1.37 | 8500 | 2.1444 | 0.5082 | 1 | 0.1885 | 613.7248 | 31.9986 | 19.0666 |
|
75 |
+
| 2.1556 | 1.42 | 9000 | 2.1392 | 0.5087 | 1 | 0.1880 | 610.3757 | 31.9987 | 19.1817 |
|
76 |
+
| 2.1067 | 1.47 | 9500 | 2.1351 | 0.5091 | 1 | 0.1875 | 608.6866 | 31.9987 | 19.2836 |
|
77 |
+
| 2.1536 | 2.04 | 10000 | 2.1329 | 0.5091 | 1 | 0.1880 | 604.5097 | 31.9987 | 19.3897 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.35.2
|
83 |
+
- Pytorch 2.1.0+cu121
|
84 |
+
- Datasets 2.17.0
|
85 |
+
- Tokenizers 0.15.1
|
generation_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"transformers_version": "4.35.2"
|
4 |
+
}
|