Commit
•
b5e217f
1
Parent(s):
62679be
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_C25k_k16_mse_weighted
|
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_C25k_k16_mse_weighted
|
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.0353
|
19 |
+
- Accuracy: 0.5194
|
20 |
+
- Multicode K: 1
|
21 |
+
- Dead Code Fraction/layer0: 0.1640
|
22 |
+
- Mse/layer0: 501.8128
|
23 |
+
- Input Norm/layer0: 31.9989
|
24 |
+
- Output Norm/layer0: 22.8009
|
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.005
|
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_with_warmup
|
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 |
+
| 2.8364 | 0.05 | 500 | 2.7649 | 0.4227 | 1 | 0.3619 | 634.8932 | 31.9979 | 18.0819 |
|
59 |
+
| 2.3611 | 0.1 | 1000 | 2.3705 | 0.4712 | 1 | 0.3607 | 568.7264 | 31.9979 | 20.6630 |
|
60 |
+
| 2.2395 | 0.15 | 1500 | 2.2531 | 0.4866 | 1 | 0.3266 | 550.3311 | 31.9979 | 21.3297 |
|
61 |
+
| 2.1999 | 0.2 | 2000 | 2.1908 | 0.4955 | 1 | 0.3048 | 539.0150 | 31.9980 | 21.7663 |
|
62 |
+
| 2.1688 | 0.25 | 2500 | 2.1551 | 0.5006 | 1 | 0.2949 | 530.4651 | 31.9980 | 22.0228 |
|
63 |
+
| 2.1108 | 0.3 | 3000 | 2.1269 | 0.5051 | 1 | 0.2809 | 524.9530 | 31.9981 | 22.2071 |
|
64 |
+
| 2.1045 | 0.35 | 3500 | 2.1130 | 0.5079 | 1 | 0.2735 | 523.0844 | 31.9982 | 22.3519 |
|
65 |
+
| 2.0944 | 0.4 | 4000 | 2.0996 | 0.5089 | 1 | 0.2655 | 519.8852 | 31.9983 | 22.3930 |
|
66 |
+
| 2.1314 | 0.45 | 4500 | 2.0860 | 0.5115 | 1 | 0.2567 | 517.0385 | 31.9983 | 22.4720 |
|
67 |
+
| 2.0685 | 1.02 | 5000 | 2.0770 | 0.5131 | 1 | 0.2497 | 514.3712 | 31.9984 | 22.4943 |
|
68 |
+
| 2.0496 | 1.07 | 5500 | 2.0730 | 0.5137 | 1 | 0.2381 | 513.7823 | 31.9985 | 22.5625 |
|
69 |
+
| 2.1002 | 1.12 | 6000 | 2.0667 | 0.5144 | 1 | 0.2305 | 510.7876 | 31.9986 | 22.5882 |
|
70 |
+
| 2.0723 | 1.17 | 6500 | 2.0632 | 0.5148 | 1 | 0.2206 | 510.5624 | 31.9986 | 22.6133 |
|
71 |
+
| 2.023 | 1.22 | 7000 | 2.0574 | 0.5157 | 1 | 0.2110 | 509.9878 | 31.9987 | 22.6544 |
|
72 |
+
| 2.0791 | 1.27 | 7500 | 2.0513 | 0.5168 | 1 | 0.2033 | 507.1514 | 31.9987 | 22.7018 |
|
73 |
+
| 2.0252 | 1.32 | 8000 | 2.0463 | 0.5173 | 1 | 0.1953 | 505.2723 | 31.9988 | 22.7108 |
|
74 |
+
| 2.0432 | 1.37 | 8500 | 2.0423 | 0.5183 | 1 | 0.1875 | 502.9395 | 31.9988 | 22.7562 |
|
75 |
+
| 2.0549 | 1.42 | 9000 | 2.0394 | 0.5188 | 1 | 0.1797 | 502.9016 | 31.9988 | 22.7722 |
|
76 |
+
| 2.0087 | 1.47 | 9500 | 2.0365 | 0.5193 | 1 | 0.1704 | 504.0088 | 31.9989 | 22.7990 |
|
77 |
+
| 2.0569 | 2.04 | 10000 | 2.0353 | 0.5194 | 1 | 0.1640 | 501.8128 | 31.9989 | 22.8009 |
|
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 |
+
}
|