Upload folder using huggingface_hub
Browse files- README.md +126 -3
- config.json +89 -0
- labels.txt +28 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- trainer_state.json +623 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
CHANGED
@@ -1,3 +1,126 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: roberta-large
|
4 |
+
metrics:
|
5 |
+
- f1
|
6 |
+
model-index:
|
7 |
+
- name: roberta-large-emopillars-contextless
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
# roberta-large-emopillars-contextless
|
12 |
+
|
13 |
+
This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on [EmoPillars'](https://huggingface.co/datasets/alex-shvets/EmoPillars) "[context-less](https://huggingface.co/datasets/alex-shvets/EmoPillars/tree/main/context-less)" subset.
|
14 |
+
|
15 |
+
## Model description
|
16 |
+
|
17 |
+
The model is a multi-label classifier over 28 emotional classes for a context-less scenario. It detects emotions in the entire input (including context if provided).
|
18 |
+
|
19 |
+
## How to use
|
20 |
+
|
21 |
+
Here is how to use this model:
|
22 |
+
|
23 |
+
```python
|
24 |
+
>>> import torch
|
25 |
+
>>> from transformers import pipeline
|
26 |
+
>>> model_name = "roberta-large-emopillars-contextless"
|
27 |
+
>>> threshold = 0.5
|
28 |
+
>>> emotions = ["admiration","amusement","anger","annoyance","approval","caring","confusion","curiosity","desire","disappointment","disapproval","disgust","embarrassment","excitement","fear","gratitude","grief","joy","love","nervousness","optimism","pride","realization","relief","remorse","sadness","surprise","neutral"]
|
29 |
+
>>> label_to_emotion = dict(zip(list(range(len(emotions))), emotions))
|
30 |
+
>>> device = torch.device("cuda" if torch.cuda.is_available() else "CPU")
|
31 |
+
>>> pipe = pipeline("text-classification", model=model_name, truncation=True, return_all_scores=True, device=-1 if device.type=="cpu" else 0)
|
32 |
+
>>> utterances = ["Ok is it just me or is anyone else getting goosebumps too???", "Don’t know what to do"]
|
33 |
+
>>> outcome = pipe(utterances)
|
34 |
+
>>> dominant_classes = [[prediction for prediction in example if prediction['score']>=threshold] for example in outcome]
|
35 |
+
>>> for example in dominant_classes:
|
36 |
+
>>> print(", ".join(["%s:%.2lf" % (label_to_emotion[int(prediction['label'])], prediction['score']) for prediction in sorted(example, key = lambda x: x['score'], reverse=True)]))
|
37 |
+
curiosity:0.77, fear:0.69, nervousness:0.64
|
38 |
+
confusion:1.00, nervousness:1.00, annoyance:0.85
|
39 |
+
```
|
40 |
+
|
41 |
+
## Training data
|
42 |
+
|
43 |
+
The training data consists of 266,456 samples of [EmoPillars'](https://huggingface.co/datasets/alex-shvets/EmoPillars) "[context-less](https://huggingface.co/datasets/alex-shvets/EmoPillars/tree/main/context-less)" subset created using [Mistral](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) within [our data synthesis pipeline EmoPillars on GitHub](https://github.com/alex-shvets/emopillars). [WikiPlots](https://github.com/markriedl/WikiPlots) was used as a seed corpus.
|
44 |
+
|
45 |
+
## Training procedure
|
46 |
+
|
47 |
+
### Training hyperparameters
|
48 |
+
|
49 |
+
The following hyperparameters were used during training:
|
50 |
+
- learning_rate: 2e-05
|
51 |
+
- train_batch_size: 64
|
52 |
+
- eval_batch_size: 8
|
53 |
+
- seed: 752
|
54 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
+
- lr_scheduler_type: linear
|
56 |
+
- num_epochs: 10.0
|
57 |
+
|
58 |
+
### Framework versions
|
59 |
+
|
60 |
+
- Transformers 4.45.0.dev0
|
61 |
+
- Pytorch 2.4.0a0+gite3b9b71
|
62 |
+
- Datasets 2.21.0
|
63 |
+
- Tokenizers 0.19.1
|
64 |
+
|
65 |
+
## Evaluation
|
66 |
+
|
67 |
+
Scores for the evaluation on the EmoPillars' test split:
|
68 |
+
|
69 |
+
| **class** | **precision**| **recall** | **f1-score** | **support** |
|
70 |
+
| :--- | :---: | :---: | :---: | ---: |
|
71 |
+
| admiration | 0.80 | 0.80 | 0.80 | 4113 |
|
72 |
+
| amusement | 0.83 | 0.75 | 0.79 | 1255 |
|
73 |
+
| anger | 0.90 | 0.90 | 0.90 | 7376 |
|
74 |
+
| annoyance | 0.87 | 0.85 | 0.86 | 5675 |
|
75 |
+
| approval | 0.62 | 0.60 | 0.61 | 1359 |
|
76 |
+
| caring | 0.76 | 0.75 | 0.75 | 2925 |
|
77 |
+
| confusion | 0.84 | 0.83 | 0.83 | 8257 |
|
78 |
+
| curiosity | 0.88 | 0.87 | 0.87 | 5067 |
|
79 |
+
| desire | 0.85 | 0.84 | 0.85 | 5411 |
|
80 |
+
| disappointment | 0.87 | 0.87 | 0.87 | 8118 |
|
81 |
+
| disapproval | 0.70 | 0.66 | 0.68 | 2883 |
|
82 |
+
| disgust | 0.82 | 0.80 | 0.81 | 1901 |
|
83 |
+
| embarrassment | 0.78 | 0.68 | 0.73 | 719 |
|
84 |
+
| excitement | 0.80 | 0.79 | 0.80 | 4532 |
|
85 |
+
| fear | 0.91 | 0.91 | 0.91 | 6029 |
|
86 |
+
| gratitude | 0.85 | 0.82 | 0.84 | 989 |
|
87 |
+
| grief | 0.77 | 0.75 | 0.76 | 944 |
|
88 |
+
| joy | 0.82 | 0.84 | 0.83 | 4100 |
|
89 |
+
| love | 0.80 | 0.80 | 0.80 | 1725 |
|
90 |
+
| nervousness | 0.86 | 0.85 | 0.86 | 8344 |
|
91 |
+
| optimism | 0.87 | 0.85 | 0.86 | 3214 |
|
92 |
+
| pride | 0.90 | 0.89 | 0.89 | 3159 |
|
93 |
+
| realization | 0.79 | 0.64 | 0.70 | 635 |
|
94 |
+
| relief | 0.81 | 0.80 | 0.80 | 1325 |
|
95 |
+
| remorse | 0.72 | 0.66 | 0.69 | 1297 |
|
96 |
+
| sadness | 0.85 | 0.89 | 0.87 | 5744 |
|
97 |
+
| surprise | 0.87 | 0.86 | 0.86 | 5527 |
|
98 |
+
| neutral | 0.78 | 0.70 | 0.74 | 2869 |
|
99 |
+
| **micro avg** | 0.84 | 0.83 | 0.84 | 105492 |
|
100 |
+
| **macro avg** | 0.82 | 0.79 | 0.81 | 105492 |
|
101 |
+
| **weighted avg** | 0.84 | 0.83 | 0.84 | 105492 |
|
102 |
+
| **samples avg** | 0.85 | 0.84 | 0.83 | 105492 |
|
103 |
+
|
104 |
+
When fine-tuned on downstream tasks, this model achieves the following results:
|
105 |
+
|
106 |
+
| **task** | **precision**| **recall** | **f1-score** |
|
107 |
+
| :--- | :---: | :---: | :---: |
|
108 |
+
| GoEmotions | 0.53 | 0.58 | 0.55 |
|
109 |
+
| ISEAR | 0.76 | 0.75 | 0.75 |
|
110 |
+
|
111 |
+
For more details on the evaluation, please visit our [GitHub repository](https://github.com/alex-shvets/emopillars).
|
112 |
+
|
113 |
+
|
114 |
+
## Disclaimer
|
115 |
+
|
116 |
+
<details>
|
117 |
+
|
118 |
+
<summary>Click to expand</summary>
|
119 |
+
|
120 |
+
The model published in this repository is intended for a generalist purpose and is available to third parties. This model may have bias and/or any other undesirable distortions.
|
121 |
+
|
122 |
+
When third parties deploy or provide systems and/or services to other parties using this model (or using systems based on this model) or become users of the model, they should note that it is their responsibility to mitigate the risks arising from its use and, in any event, to comply with applicable regulations, including regulations regarding the use of Artificial Intelligence.
|
123 |
+
|
124 |
+
In no event shall the creator of the model be liable for any results arising from the use made by third parties of this model.
|
125 |
+
|
126 |
+
</details>
|
config.json
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta-large",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"finetuning_task": "text-classification",
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 1024,
|
14 |
+
"id2label": {
|
15 |
+
"0": "0",
|
16 |
+
"1": "1",
|
17 |
+
"2": "10",
|
18 |
+
"3": "11",
|
19 |
+
"4": "12",
|
20 |
+
"5": "13",
|
21 |
+
"6": "14",
|
22 |
+
"7": "15",
|
23 |
+
"8": "16",
|
24 |
+
"9": "17",
|
25 |
+
"10": "18",
|
26 |
+
"11": "19",
|
27 |
+
"12": "2",
|
28 |
+
"13": "20",
|
29 |
+
"14": "21",
|
30 |
+
"15": "22",
|
31 |
+
"16": "23",
|
32 |
+
"17": "24",
|
33 |
+
"18": "25",
|
34 |
+
"19": "26",
|
35 |
+
"20": "27",
|
36 |
+
"21": "3",
|
37 |
+
"22": "4",
|
38 |
+
"23": "5",
|
39 |
+
"24": "6",
|
40 |
+
"25": "7",
|
41 |
+
"26": "8",
|
42 |
+
"27": "9"
|
43 |
+
},
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"intermediate_size": 4096,
|
46 |
+
"label2id": {
|
47 |
+
"0": 0,
|
48 |
+
"1": 1,
|
49 |
+
"10": 2,
|
50 |
+
"11": 3,
|
51 |
+
"12": 4,
|
52 |
+
"13": 5,
|
53 |
+
"14": 6,
|
54 |
+
"15": 7,
|
55 |
+
"16": 8,
|
56 |
+
"17": 9,
|
57 |
+
"18": 10,
|
58 |
+
"19": 11,
|
59 |
+
"2": 12,
|
60 |
+
"20": 13,
|
61 |
+
"21": 14,
|
62 |
+
"22": 15,
|
63 |
+
"23": 16,
|
64 |
+
"24": 17,
|
65 |
+
"25": 18,
|
66 |
+
"26": 19,
|
67 |
+
"27": 20,
|
68 |
+
"3": 21,
|
69 |
+
"4": 22,
|
70 |
+
"5": 23,
|
71 |
+
"6": 24,
|
72 |
+
"7": 25,
|
73 |
+
"8": 26,
|
74 |
+
"9": 27
|
75 |
+
},
|
76 |
+
"layer_norm_eps": 1e-05,
|
77 |
+
"max_position_embeddings": 514,
|
78 |
+
"model_type": "roberta",
|
79 |
+
"num_attention_heads": 16,
|
80 |
+
"num_hidden_layers": 24,
|
81 |
+
"pad_token_id": 1,
|
82 |
+
"position_embedding_type": "absolute",
|
83 |
+
"problem_type": "multi_label_classification",
|
84 |
+
"torch_dtype": "float32",
|
85 |
+
"transformers_version": "4.45.0.dev0",
|
86 |
+
"type_vocab_size": 1,
|
87 |
+
"use_cache": true,
|
88 |
+
"vocab_size": 50265
|
89 |
+
}
|
labels.txt
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
admiration
|
2 |
+
amusement
|
3 |
+
anger
|
4 |
+
annoyance
|
5 |
+
approval
|
6 |
+
caring
|
7 |
+
confusion
|
8 |
+
curiosity
|
9 |
+
desire
|
10 |
+
disappointment
|
11 |
+
disapproval
|
12 |
+
disgust
|
13 |
+
embarrassment
|
14 |
+
excitement
|
15 |
+
fear
|
16 |
+
gratitude
|
17 |
+
grief
|
18 |
+
joy
|
19 |
+
love
|
20 |
+
nervousness
|
21 |
+
optimism
|
22 |
+
pride
|
23 |
+
realization
|
24 |
+
relief
|
25 |
+
remorse
|
26 |
+
sadness
|
27 |
+
surprise
|
28 |
+
neutral
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0466b71a43bbbeecec6d828a1caeb21be928cf27ad1a95792c2c838a3f760176
|
3 |
+
size 1421602016
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "RobertaTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"truncation_side": "left",
|
57 |
+
"unk_token": "<unk>"
|
58 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,623 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 41640,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.12007684918347743,
|
13 |
+
"grad_norm": 0.9133885502815247,
|
14 |
+
"learning_rate": 1.9759846301633046e-05,
|
15 |
+
"loss": 0.1965,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.24015369836695485,
|
20 |
+
"grad_norm": 0.7431137561798096,
|
21 |
+
"learning_rate": 1.951969260326609e-05,
|
22 |
+
"loss": 0.1331,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.36023054755043227,
|
27 |
+
"grad_norm": 0.9133521318435669,
|
28 |
+
"learning_rate": 1.927953890489914e-05,
|
29 |
+
"loss": 0.1226,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.4803073967339097,
|
34 |
+
"grad_norm": 0.6364143490791321,
|
35 |
+
"learning_rate": 1.903938520653218e-05,
|
36 |
+
"loss": 0.1166,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.6003842459173871,
|
41 |
+
"grad_norm": 0.6985872387886047,
|
42 |
+
"learning_rate": 1.879923150816523e-05,
|
43 |
+
"loss": 0.1127,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.7204610951008645,
|
48 |
+
"grad_norm": 0.7310335040092468,
|
49 |
+
"learning_rate": 1.855907780979827e-05,
|
50 |
+
"loss": 0.1105,
|
51 |
+
"step": 3000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.840537944284342,
|
55 |
+
"grad_norm": 0.6750699877738953,
|
56 |
+
"learning_rate": 1.831892411143132e-05,
|
57 |
+
"loss": 0.1082,
|
58 |
+
"step": 3500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.9606147934678194,
|
62 |
+
"grad_norm": 0.6943972110748291,
|
63 |
+
"learning_rate": 1.8078770413064363e-05,
|
64 |
+
"loss": 0.1062,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 1.080691642651297,
|
69 |
+
"grad_norm": 0.6837930083274841,
|
70 |
+
"learning_rate": 1.7838616714697408e-05,
|
71 |
+
"loss": 0.0992,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 1.2007684918347743,
|
76 |
+
"grad_norm": 0.7417839765548706,
|
77 |
+
"learning_rate": 1.7598463016330453e-05,
|
78 |
+
"loss": 0.0954,
|
79 |
+
"step": 5000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 1.3208453410182517,
|
83 |
+
"grad_norm": 0.6663339734077454,
|
84 |
+
"learning_rate": 1.7358309317963498e-05,
|
85 |
+
"loss": 0.0943,
|
86 |
+
"step": 5500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.440922190201729,
|
90 |
+
"grad_norm": 0.838683545589447,
|
91 |
+
"learning_rate": 1.7118155619596542e-05,
|
92 |
+
"loss": 0.0945,
|
93 |
+
"step": 6000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.5609990393852065,
|
97 |
+
"grad_norm": 0.7603605389595032,
|
98 |
+
"learning_rate": 1.6878001921229587e-05,
|
99 |
+
"loss": 0.0945,
|
100 |
+
"step": 6500
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.6810758885686838,
|
104 |
+
"grad_norm": 0.7760754227638245,
|
105 |
+
"learning_rate": 1.6637848222862635e-05,
|
106 |
+
"loss": 0.0934,
|
107 |
+
"step": 7000
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.8011527377521612,
|
111 |
+
"grad_norm": 0.7395870089530945,
|
112 |
+
"learning_rate": 1.6397694524495677e-05,
|
113 |
+
"loss": 0.094,
|
114 |
+
"step": 7500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 1.9212295869356388,
|
118 |
+
"grad_norm": 0.6932771801948547,
|
119 |
+
"learning_rate": 1.6157540826128725e-05,
|
120 |
+
"loss": 0.0924,
|
121 |
+
"step": 8000
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 2.0413064361191164,
|
125 |
+
"grad_norm": 0.8017829656600952,
|
126 |
+
"learning_rate": 1.591738712776177e-05,
|
127 |
+
"loss": 0.0882,
|
128 |
+
"step": 8500
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.161383285302594,
|
132 |
+
"grad_norm": 0.669118344783783,
|
133 |
+
"learning_rate": 1.5677233429394814e-05,
|
134 |
+
"loss": 0.0814,
|
135 |
+
"step": 9000
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 2.281460134486071,
|
139 |
+
"grad_norm": 0.8860443830490112,
|
140 |
+
"learning_rate": 1.543707973102786e-05,
|
141 |
+
"loss": 0.0804,
|
142 |
+
"step": 9500
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 2.4015369836695486,
|
146 |
+
"grad_norm": 0.9437547326087952,
|
147 |
+
"learning_rate": 1.5196926032660904e-05,
|
148 |
+
"loss": 0.0812,
|
149 |
+
"step": 10000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 2.521613832853026,
|
153 |
+
"grad_norm": 0.7827271223068237,
|
154 |
+
"learning_rate": 1.495677233429395e-05,
|
155 |
+
"loss": 0.0808,
|
156 |
+
"step": 10500
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 2.6416906820365034,
|
160 |
+
"grad_norm": 0.8598589897155762,
|
161 |
+
"learning_rate": 1.4716618635926993e-05,
|
162 |
+
"loss": 0.0821,
|
163 |
+
"step": 11000
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 2.7617675312199808,
|
167 |
+
"grad_norm": 0.8088162541389465,
|
168 |
+
"learning_rate": 1.447646493756004e-05,
|
169 |
+
"loss": 0.0814,
|
170 |
+
"step": 11500
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 2.881844380403458,
|
174 |
+
"grad_norm": 0.8733372688293457,
|
175 |
+
"learning_rate": 1.4236311239193086e-05,
|
176 |
+
"loss": 0.0803,
|
177 |
+
"step": 12000
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 3.0019212295869355,
|
181 |
+
"grad_norm": 0.7828580141067505,
|
182 |
+
"learning_rate": 1.399615754082613e-05,
|
183 |
+
"loss": 0.0804,
|
184 |
+
"step": 12500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 3.121998078770413,
|
188 |
+
"grad_norm": 0.8635441064834595,
|
189 |
+
"learning_rate": 1.3756003842459176e-05,
|
190 |
+
"loss": 0.0687,
|
191 |
+
"step": 13000
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 3.2420749279538903,
|
195 |
+
"grad_norm": 0.8870617747306824,
|
196 |
+
"learning_rate": 1.3515850144092219e-05,
|
197 |
+
"loss": 0.0697,
|
198 |
+
"step": 13500
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 3.3621517771373677,
|
202 |
+
"grad_norm": 0.8219842910766602,
|
203 |
+
"learning_rate": 1.3275696445725266e-05,
|
204 |
+
"loss": 0.0691,
|
205 |
+
"step": 14000
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 3.4822286263208455,
|
209 |
+
"grad_norm": 0.8110594749450684,
|
210 |
+
"learning_rate": 1.303554274735831e-05,
|
211 |
+
"loss": 0.0697,
|
212 |
+
"step": 14500
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 3.602305475504323,
|
216 |
+
"grad_norm": 0.7413811087608337,
|
217 |
+
"learning_rate": 1.2795389048991355e-05,
|
218 |
+
"loss": 0.0698,
|
219 |
+
"step": 15000
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 3.7223823246878003,
|
223 |
+
"grad_norm": 0.868746817111969,
|
224 |
+
"learning_rate": 1.25552353506244e-05,
|
225 |
+
"loss": 0.0709,
|
226 |
+
"step": 15500
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 3.8424591738712777,
|
230 |
+
"grad_norm": 0.8406381011009216,
|
231 |
+
"learning_rate": 1.2315081652257446e-05,
|
232 |
+
"loss": 0.0708,
|
233 |
+
"step": 16000
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 3.962536023054755,
|
237 |
+
"grad_norm": 0.9255300164222717,
|
238 |
+
"learning_rate": 1.2074927953890491e-05,
|
239 |
+
"loss": 0.0704,
|
240 |
+
"step": 16500
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 4.082612872238233,
|
244 |
+
"grad_norm": 0.805314838886261,
|
245 |
+
"learning_rate": 1.1834774255523536e-05,
|
246 |
+
"loss": 0.0621,
|
247 |
+
"step": 17000
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 4.20268972142171,
|
251 |
+
"grad_norm": 0.8355468511581421,
|
252 |
+
"learning_rate": 1.1594620557156582e-05,
|
253 |
+
"loss": 0.0593,
|
254 |
+
"step": 17500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 4.322766570605188,
|
258 |
+
"grad_norm": 0.9546997547149658,
|
259 |
+
"learning_rate": 1.1354466858789625e-05,
|
260 |
+
"loss": 0.0591,
|
261 |
+
"step": 18000
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 4.442843419788665,
|
265 |
+
"grad_norm": 0.8729753494262695,
|
266 |
+
"learning_rate": 1.1114313160422672e-05,
|
267 |
+
"loss": 0.0597,
|
268 |
+
"step": 18500
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 4.562920268972142,
|
272 |
+
"grad_norm": 0.8652579188346863,
|
273 |
+
"learning_rate": 1.0874159462055715e-05,
|
274 |
+
"loss": 0.0608,
|
275 |
+
"step": 19000
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 4.68299711815562,
|
279 |
+
"grad_norm": 1.0657707452774048,
|
280 |
+
"learning_rate": 1.0634005763688761e-05,
|
281 |
+
"loss": 0.06,
|
282 |
+
"step": 19500
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 4.803073967339097,
|
286 |
+
"grad_norm": 1.0188003778457642,
|
287 |
+
"learning_rate": 1.0393852065321808e-05,
|
288 |
+
"loss": 0.0592,
|
289 |
+
"step": 20000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 4.923150816522575,
|
293 |
+
"grad_norm": 1.243787407875061,
|
294 |
+
"learning_rate": 1.0153698366954851e-05,
|
295 |
+
"loss": 0.0601,
|
296 |
+
"step": 20500
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 5.043227665706052,
|
300 |
+
"grad_norm": 0.8553707599639893,
|
301 |
+
"learning_rate": 9.913544668587897e-06,
|
302 |
+
"loss": 0.0565,
|
303 |
+
"step": 21000
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 5.163304514889529,
|
307 |
+
"grad_norm": 0.8106087446212769,
|
308 |
+
"learning_rate": 9.673390970220942e-06,
|
309 |
+
"loss": 0.0498,
|
310 |
+
"step": 21500
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 5.283381364073007,
|
314 |
+
"grad_norm": 0.925154447555542,
|
315 |
+
"learning_rate": 9.433237271853987e-06,
|
316 |
+
"loss": 0.0502,
|
317 |
+
"step": 22000
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 5.403458213256484,
|
321 |
+
"grad_norm": 1.060344934463501,
|
322 |
+
"learning_rate": 9.193083573487034e-06,
|
323 |
+
"loss": 0.0501,
|
324 |
+
"step": 22500
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 5.5235350624399615,
|
328 |
+
"grad_norm": 1.026363492012024,
|
329 |
+
"learning_rate": 8.952929875120078e-06,
|
330 |
+
"loss": 0.0505,
|
331 |
+
"step": 23000
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 5.643611911623439,
|
335 |
+
"grad_norm": 0.9036206603050232,
|
336 |
+
"learning_rate": 8.712776176753123e-06,
|
337 |
+
"loss": 0.051,
|
338 |
+
"step": 23500
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 5.763688760806916,
|
342 |
+
"grad_norm": 1.036981463432312,
|
343 |
+
"learning_rate": 8.472622478386168e-06,
|
344 |
+
"loss": 0.0506,
|
345 |
+
"step": 24000
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 5.883765609990394,
|
349 |
+
"grad_norm": 0.9116144776344299,
|
350 |
+
"learning_rate": 8.232468780019213e-06,
|
351 |
+
"loss": 0.0517,
|
352 |
+
"step": 24500
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 6.003842459173871,
|
356 |
+
"grad_norm": 0.8754561543464661,
|
357 |
+
"learning_rate": 7.992315081652257e-06,
|
358 |
+
"loss": 0.0507,
|
359 |
+
"step": 25000
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 6.123919308357348,
|
363 |
+
"grad_norm": 0.947286069393158,
|
364 |
+
"learning_rate": 7.752161383285304e-06,
|
365 |
+
"loss": 0.042,
|
366 |
+
"step": 25500
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 6.243996157540826,
|
370 |
+
"grad_norm": 0.9840195178985596,
|
371 |
+
"learning_rate": 7.512007684918349e-06,
|
372 |
+
"loss": 0.0424,
|
373 |
+
"step": 26000
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 6.364073006724303,
|
377 |
+
"grad_norm": 0.9733700156211853,
|
378 |
+
"learning_rate": 7.271853986551393e-06,
|
379 |
+
"loss": 0.0428,
|
380 |
+
"step": 26500
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 6.484149855907781,
|
384 |
+
"grad_norm": 0.927603542804718,
|
385 |
+
"learning_rate": 7.031700288184439e-06,
|
386 |
+
"loss": 0.0429,
|
387 |
+
"step": 27000
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 6.604226705091259,
|
391 |
+
"grad_norm": 0.9660381078720093,
|
392 |
+
"learning_rate": 6.791546589817484e-06,
|
393 |
+
"loss": 0.0429,
|
394 |
+
"step": 27500
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 6.724303554274735,
|
398 |
+
"grad_norm": 1.0146026611328125,
|
399 |
+
"learning_rate": 6.551392891450529e-06,
|
400 |
+
"loss": 0.0429,
|
401 |
+
"step": 28000
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 6.844380403458214,
|
405 |
+
"grad_norm": 1.0021497011184692,
|
406 |
+
"learning_rate": 6.311239193083573e-06,
|
407 |
+
"loss": 0.0431,
|
408 |
+
"step": 28500
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 6.964457252641691,
|
412 |
+
"grad_norm": 0.8908631801605225,
|
413 |
+
"learning_rate": 6.071085494716619e-06,
|
414 |
+
"loss": 0.043,
|
415 |
+
"step": 29000
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 7.084534101825168,
|
419 |
+
"grad_norm": 1.148420810699463,
|
420 |
+
"learning_rate": 5.830931796349665e-06,
|
421 |
+
"loss": 0.0386,
|
422 |
+
"step": 29500
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"epoch": 7.204610951008646,
|
426 |
+
"grad_norm": 1.3032015562057495,
|
427 |
+
"learning_rate": 5.590778097982709e-06,
|
428 |
+
"loss": 0.0363,
|
429 |
+
"step": 30000
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"epoch": 7.324687800192123,
|
433 |
+
"grad_norm": 0.9548340439796448,
|
434 |
+
"learning_rate": 5.350624399615755e-06,
|
435 |
+
"loss": 0.0361,
|
436 |
+
"step": 30500
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"epoch": 7.444764649375601,
|
440 |
+
"grad_norm": 1.2898118495941162,
|
441 |
+
"learning_rate": 5.1104707012488e-06,
|
442 |
+
"loss": 0.0365,
|
443 |
+
"step": 31000
|
444 |
+
},
|
445 |
+
{
|
446 |
+
"epoch": 7.564841498559078,
|
447 |
+
"grad_norm": 1.2241828441619873,
|
448 |
+
"learning_rate": 4.8703170028818446e-06,
|
449 |
+
"loss": 0.0367,
|
450 |
+
"step": 31500
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"epoch": 7.684918347742555,
|
454 |
+
"grad_norm": 1.2958580255508423,
|
455 |
+
"learning_rate": 4.630163304514889e-06,
|
456 |
+
"loss": 0.0366,
|
457 |
+
"step": 32000
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"epoch": 7.804995196926033,
|
461 |
+
"grad_norm": 1.0599451065063477,
|
462 |
+
"learning_rate": 4.390009606147935e-06,
|
463 |
+
"loss": 0.036,
|
464 |
+
"step": 32500
|
465 |
+
},
|
466 |
+
{
|
467 |
+
"epoch": 7.92507204610951,
|
468 |
+
"grad_norm": 1.230745792388916,
|
469 |
+
"learning_rate": 4.149855907780981e-06,
|
470 |
+
"loss": 0.0362,
|
471 |
+
"step": 33000
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"epoch": 8.045148895292987,
|
475 |
+
"grad_norm": 0.964049756526947,
|
476 |
+
"learning_rate": 3.909702209414025e-06,
|
477 |
+
"loss": 0.0348,
|
478 |
+
"step": 33500
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"epoch": 8.165225744476466,
|
482 |
+
"grad_norm": 1.253049612045288,
|
483 |
+
"learning_rate": 3.66954851104707e-06,
|
484 |
+
"loss": 0.031,
|
485 |
+
"step": 34000
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"epoch": 8.285302593659942,
|
489 |
+
"grad_norm": 1.0042595863342285,
|
490 |
+
"learning_rate": 3.4293948126801158e-06,
|
491 |
+
"loss": 0.0312,
|
492 |
+
"step": 34500
|
493 |
+
},
|
494 |
+
{
|
495 |
+
"epoch": 8.40537944284342,
|
496 |
+
"grad_norm": 1.0244569778442383,
|
497 |
+
"learning_rate": 3.189241114313161e-06,
|
498 |
+
"loss": 0.0314,
|
499 |
+
"step": 35000
|
500 |
+
},
|
501 |
+
{
|
502 |
+
"epoch": 8.525456292026897,
|
503 |
+
"grad_norm": 1.0348340272903442,
|
504 |
+
"learning_rate": 2.9490874159462057e-06,
|
505 |
+
"loss": 0.0308,
|
506 |
+
"step": 35500
|
507 |
+
},
|
508 |
+
{
|
509 |
+
"epoch": 8.645533141210375,
|
510 |
+
"grad_norm": 0.9708086848258972,
|
511 |
+
"learning_rate": 2.708933717579251e-06,
|
512 |
+
"loss": 0.0314,
|
513 |
+
"step": 36000
|
514 |
+
},
|
515 |
+
{
|
516 |
+
"epoch": 8.765609990393852,
|
517 |
+
"grad_norm": 1.1302130222320557,
|
518 |
+
"learning_rate": 2.468780019212296e-06,
|
519 |
+
"loss": 0.0311,
|
520 |
+
"step": 36500
|
521 |
+
},
|
522 |
+
{
|
523 |
+
"epoch": 8.88568683957733,
|
524 |
+
"grad_norm": 0.9478445649147034,
|
525 |
+
"learning_rate": 2.2286263208453413e-06,
|
526 |
+
"loss": 0.031,
|
527 |
+
"step": 37000
|
528 |
+
},
|
529 |
+
{
|
530 |
+
"epoch": 9.005763688760807,
|
531 |
+
"grad_norm": 0.935819149017334,
|
532 |
+
"learning_rate": 1.988472622478386e-06,
|
533 |
+
"loss": 0.0312,
|
534 |
+
"step": 37500
|
535 |
+
},
|
536 |
+
{
|
537 |
+
"epoch": 9.125840537944285,
|
538 |
+
"grad_norm": 0.9962431192398071,
|
539 |
+
"learning_rate": 1.7483189241114315e-06,
|
540 |
+
"loss": 0.0279,
|
541 |
+
"step": 38000
|
542 |
+
},
|
543 |
+
{
|
544 |
+
"epoch": 9.245917387127761,
|
545 |
+
"grad_norm": 1.0154587030410767,
|
546 |
+
"learning_rate": 1.5081652257444765e-06,
|
547 |
+
"loss": 0.0278,
|
548 |
+
"step": 38500
|
549 |
+
},
|
550 |
+
{
|
551 |
+
"epoch": 9.36599423631124,
|
552 |
+
"grad_norm": 1.0626943111419678,
|
553 |
+
"learning_rate": 1.2680115273775217e-06,
|
554 |
+
"loss": 0.0276,
|
555 |
+
"step": 39000
|
556 |
+
},
|
557 |
+
{
|
558 |
+
"epoch": 9.486071085494716,
|
559 |
+
"grad_norm": 0.9499347805976868,
|
560 |
+
"learning_rate": 1.027857829010567e-06,
|
561 |
+
"loss": 0.0276,
|
562 |
+
"step": 39500
|
563 |
+
},
|
564 |
+
{
|
565 |
+
"epoch": 9.606147934678194,
|
566 |
+
"grad_norm": 1.3397222757339478,
|
567 |
+
"learning_rate": 7.87704130643612e-07,
|
568 |
+
"loss": 0.0275,
|
569 |
+
"step": 40000
|
570 |
+
},
|
571 |
+
{
|
572 |
+
"epoch": 9.72622478386167,
|
573 |
+
"grad_norm": 1.0309653282165527,
|
574 |
+
"learning_rate": 5.475504322766571e-07,
|
575 |
+
"loss": 0.0273,
|
576 |
+
"step": 40500
|
577 |
+
},
|
578 |
+
{
|
579 |
+
"epoch": 9.84630163304515,
|
580 |
+
"grad_norm": 0.6541324257850647,
|
581 |
+
"learning_rate": 3.0739673390970224e-07,
|
582 |
+
"loss": 0.0275,
|
583 |
+
"step": 41000
|
584 |
+
},
|
585 |
+
{
|
586 |
+
"epoch": 9.966378482228626,
|
587 |
+
"grad_norm": 0.9202414155006409,
|
588 |
+
"learning_rate": 6.724303554274736e-08,
|
589 |
+
"loss": 0.0272,
|
590 |
+
"step": 41500
|
591 |
+
},
|
592 |
+
{
|
593 |
+
"epoch": 10.0,
|
594 |
+
"step": 41640,
|
595 |
+
"total_flos": 6.208512944497459e+17,
|
596 |
+
"train_loss": 0.06181274460669782,
|
597 |
+
"train_runtime": 22287.4377,
|
598 |
+
"train_samples_per_second": 119.554,
|
599 |
+
"train_steps_per_second": 1.868
|
600 |
+
}
|
601 |
+
],
|
602 |
+
"logging_steps": 500,
|
603 |
+
"max_steps": 41640,
|
604 |
+
"num_input_tokens_seen": 0,
|
605 |
+
"num_train_epochs": 10,
|
606 |
+
"save_steps": 500,
|
607 |
+
"stateful_callbacks": {
|
608 |
+
"TrainerControl": {
|
609 |
+
"args": {
|
610 |
+
"should_epoch_stop": false,
|
611 |
+
"should_evaluate": false,
|
612 |
+
"should_log": false,
|
613 |
+
"should_save": true,
|
614 |
+
"should_training_stop": true
|
615 |
+
},
|
616 |
+
"attributes": {}
|
617 |
+
}
|
618 |
+
},
|
619 |
+
"total_flos": 6.208512944497459e+17,
|
620 |
+
"train_batch_size": 64,
|
621 |
+
"trial_name": null,
|
622 |
+
"trial_params": null
|
623 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd769eb6a9bf0e21a7ff7686c3efb5d056478df49ca2eb3b690a984f2c0a5f32
|
3 |
+
size 5240
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|