adalbertojunior
commited on
Commit
•
fec8ce4
1
Parent(s):
a4833dc
Upload 13 files
Browse files- README.md +93 -0
- all_results.json +18 -0
- config.json +171 -0
- eval_results.json +12 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +65 -0
- train_results.json +9 -0
- trainer_state.json +152 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: models/distill-robertalex-3L-trained
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- adalbertojunior/entities
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
- accuracy
|
13 |
+
model-index:
|
14 |
+
- name: test_v6
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Token Classification
|
18 |
+
type: token-classification
|
19 |
+
dataset:
|
20 |
+
name: adalbertojunior/entities
|
21 |
+
type: adalbertojunior/entities
|
22 |
+
config: segmentacao
|
23 |
+
split: validation
|
24 |
+
args: segmentacao
|
25 |
+
metrics:
|
26 |
+
- name: Precision
|
27 |
+
type: precision
|
28 |
+
value: 0.7678083439606486
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.8550415905863258
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.8090804377039739
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.9699217442249749
|
38 |
+
---
|
39 |
+
|
40 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
41 |
+
should probably proofread and complete it, then remove this comment. -->
|
42 |
+
|
43 |
+
# test_v6
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [models/distill-robertalex-3L-trained](https://huggingface.co/models/distill-robertalex-3L-trained) on the adalbertojunior/entities dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.1536
|
48 |
+
- Precision: 0.7678
|
49 |
+
- Recall: 0.8550
|
50 |
+
- F1: 0.8091
|
51 |
+
- Accuracy: 0.9699
|
52 |
+
|
53 |
+
## Model description
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training and evaluation data
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training procedure
|
66 |
+
|
67 |
+
### Training hyperparameters
|
68 |
+
|
69 |
+
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 0.0002
|
71 |
+
- train_batch_size: 8
|
72 |
+
- eval_batch_size: 1
|
73 |
+
- seed: 42
|
74 |
+
- gradient_accumulation_steps: 8
|
75 |
+
- total_train_batch_size: 64
|
76 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
77 |
+
- lr_scheduler_type: linear
|
78 |
+
- lr_scheduler_warmup_steps: 500
|
79 |
+
- num_epochs: 20.0
|
80 |
+
|
81 |
+
### Training results
|
82 |
+
|
83 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
84 |
+
|:-------------:|:-------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
85 |
+
| 0.0925 | 19.3898 | 7000 | 0.1536 | 0.7678 | 0.8550 | 0.8091 | 0.9699 |
|
86 |
+
|
87 |
+
|
88 |
+
### Framework versions
|
89 |
+
|
90 |
+
- Transformers 4.47.1
|
91 |
+
- Pytorch 2.5.1+cu121
|
92 |
+
- Datasets 3.0.1
|
93 |
+
- Tokenizers 0.21.0
|
all_results.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 19.997926744989634,
|
3 |
+
"eval_accuracy": 0.9699217442249749,
|
4 |
+
"eval_f1": 0.8090804377039739,
|
5 |
+
"eval_loss": 0.15359356999397278,
|
6 |
+
"eval_precision": 0.7678083439606486,
|
7 |
+
"eval_recall": 0.8550415905863258,
|
8 |
+
"eval_runtime": 65.5854,
|
9 |
+
"eval_samples": 4960,
|
10 |
+
"eval_samples_per_second": 75.627,
|
11 |
+
"eval_steps_per_second": 75.627,
|
12 |
+
"total_flos": 6132708568035504.0,
|
13 |
+
"train_loss": 0.8169754918592458,
|
14 |
+
"train_runtime": 915.3849,
|
15 |
+
"train_samples": 23148,
|
16 |
+
"train_samples_per_second": 505.754,
|
17 |
+
"train_steps_per_second": 7.887
|
18 |
+
}
|
config.json
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models/distill-robertalex-3L-trained",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"dropout_task": null,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"finetuning_task": "ner",
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"id2label": {
|
16 |
+
"0": "B-ATRIBUICAO",
|
17 |
+
"1": "B-DECISAO",
|
18 |
+
"2": "B-FUNCAO",
|
19 |
+
"3": "B-FUNDAMENTO",
|
20 |
+
"4": "B-LOCAL",
|
21 |
+
"5": "B-ORGANIZACAO",
|
22 |
+
"6": "B-PEDIDO",
|
23 |
+
"7": "B-PESSOA",
|
24 |
+
"8": "B-REFLEXO",
|
25 |
+
"9": "B-TIPO_ACAO",
|
26 |
+
"10": "B-TRIBUNAL",
|
27 |
+
"11": "B-VALOR_ACORDO",
|
28 |
+
"12": "B-VALOR_CAUSA",
|
29 |
+
"13": "B-VALOR_CONDENACAO",
|
30 |
+
"14": "B-VALOR_CUSTAS",
|
31 |
+
"15": "B-VALOR_PEDIDO",
|
32 |
+
"16": "B-VARA",
|
33 |
+
"17": "E-ATRIBUICAO",
|
34 |
+
"18": "E-DECISAO",
|
35 |
+
"19": "E-FUNCAO",
|
36 |
+
"20": "E-FUNDAMENTO",
|
37 |
+
"21": "E-LOCAL",
|
38 |
+
"22": "E-ORGANIZACAO",
|
39 |
+
"23": "E-PEDIDO",
|
40 |
+
"24": "E-PESSOA",
|
41 |
+
"25": "E-REFLEXO",
|
42 |
+
"26": "E-TIPO_ACAO",
|
43 |
+
"27": "E-TRIBUNAL",
|
44 |
+
"28": "E-VALOR_ACORDO",
|
45 |
+
"29": "E-VALOR_CAUSA",
|
46 |
+
"30": "E-VALOR_CONDENACAO",
|
47 |
+
"31": "E-VALOR_CUSTAS",
|
48 |
+
"32": "E-VALOR_PEDIDO",
|
49 |
+
"33": "E-VARA",
|
50 |
+
"34": "I-ATRIBUICAO",
|
51 |
+
"35": "I-DECISAO",
|
52 |
+
"36": "I-FUNCAO",
|
53 |
+
"37": "I-FUNDAMENTO",
|
54 |
+
"38": "I-LOCAL",
|
55 |
+
"39": "I-ORGANIZACAO",
|
56 |
+
"40": "I-PEDIDO",
|
57 |
+
"41": "I-PESSOA",
|
58 |
+
"42": "I-REFLEXO",
|
59 |
+
"43": "I-TIPO_ACAO",
|
60 |
+
"44": "I-TRIBUNAL",
|
61 |
+
"45": "I-VALOR_ACORDO",
|
62 |
+
"46": "I-VALOR_CAUSA",
|
63 |
+
"47": "I-VALOR_CONDENACAO",
|
64 |
+
"48": "I-VALOR_CUSTAS",
|
65 |
+
"49": "I-VALOR_PEDIDO",
|
66 |
+
"50": "I-VARA",
|
67 |
+
"51": "O",
|
68 |
+
"52": "S-ATRIBUICAO",
|
69 |
+
"53": "S-DECISAO",
|
70 |
+
"54": "S-FUNCAO",
|
71 |
+
"55": "S-FUNDAMENTO",
|
72 |
+
"56": "S-LOCAL",
|
73 |
+
"57": "S-ORGANIZACAO",
|
74 |
+
"58": "S-PEDIDO",
|
75 |
+
"59": "S-PESSOA",
|
76 |
+
"60": "S-REFLEXO",
|
77 |
+
"61": "S-TIPO_ACAO",
|
78 |
+
"62": "S-TRIBUNAL",
|
79 |
+
"63": "S-VALOR_ACORDO",
|
80 |
+
"64": "S-VALOR_CAUSA",
|
81 |
+
"65": "S-VALOR_CONDENACAO",
|
82 |
+
"66": "S-VALOR_CUSTAS",
|
83 |
+
"67": "S-VALOR_PEDIDO",
|
84 |
+
"68": "S-VARA"
|
85 |
+
},
|
86 |
+
"initializer_range": 0.02,
|
87 |
+
"intermediate_size": 3072,
|
88 |
+
"label2id": {
|
89 |
+
"B-ATRIBUICAO": 0,
|
90 |
+
"B-DECISAO": 1,
|
91 |
+
"B-FUNCAO": 2,
|
92 |
+
"B-FUNDAMENTO": 3,
|
93 |
+
"B-LOCAL": 4,
|
94 |
+
"B-ORGANIZACAO": 5,
|
95 |
+
"B-PEDIDO": 6,
|
96 |
+
"B-PESSOA": 7,
|
97 |
+
"B-REFLEXO": 8,
|
98 |
+
"B-TIPO_ACAO": 9,
|
99 |
+
"B-TRIBUNAL": 10,
|
100 |
+
"B-VALOR_ACORDO": 11,
|
101 |
+
"B-VALOR_CAUSA": 12,
|
102 |
+
"B-VALOR_CONDENACAO": 13,
|
103 |
+
"B-VALOR_CUSTAS": 14,
|
104 |
+
"B-VALOR_PEDIDO": 15,
|
105 |
+
"B-VARA": 16,
|
106 |
+
"E-ATRIBUICAO": 17,
|
107 |
+
"E-DECISAO": 18,
|
108 |
+
"E-FUNCAO": 19,
|
109 |
+
"E-FUNDAMENTO": 20,
|
110 |
+
"E-LOCAL": 21,
|
111 |
+
"E-ORGANIZACAO": 22,
|
112 |
+
"E-PEDIDO": 23,
|
113 |
+
"E-PESSOA": 24,
|
114 |
+
"E-REFLEXO": 25,
|
115 |
+
"E-TIPO_ACAO": 26,
|
116 |
+
"E-TRIBUNAL": 27,
|
117 |
+
"E-VALOR_ACORDO": 28,
|
118 |
+
"E-VALOR_CAUSA": 29,
|
119 |
+
"E-VALOR_CONDENACAO": 30,
|
120 |
+
"E-VALOR_CUSTAS": 31,
|
121 |
+
"E-VALOR_PEDIDO": 32,
|
122 |
+
"E-VARA": 33,
|
123 |
+
"I-ATRIBUICAO": 34,
|
124 |
+
"I-DECISAO": 35,
|
125 |
+
"I-FUNCAO": 36,
|
126 |
+
"I-FUNDAMENTO": 37,
|
127 |
+
"I-LOCAL": 38,
|
128 |
+
"I-ORGANIZACAO": 39,
|
129 |
+
"I-PEDIDO": 40,
|
130 |
+
"I-PESSOA": 41,
|
131 |
+
"I-REFLEXO": 42,
|
132 |
+
"I-TIPO_ACAO": 43,
|
133 |
+
"I-TRIBUNAL": 44,
|
134 |
+
"I-VALOR_ACORDO": 45,
|
135 |
+
"I-VALOR_CAUSA": 46,
|
136 |
+
"I-VALOR_CONDENACAO": 47,
|
137 |
+
"I-VALOR_CUSTAS": 48,
|
138 |
+
"I-VALOR_PEDIDO": 49,
|
139 |
+
"I-VARA": 50,
|
140 |
+
"O": 51,
|
141 |
+
"S-ATRIBUICAO": 52,
|
142 |
+
"S-DECISAO": 53,
|
143 |
+
"S-FUNCAO": 54,
|
144 |
+
"S-FUNDAMENTO": 55,
|
145 |
+
"S-LOCAL": 56,
|
146 |
+
"S-ORGANIZACAO": 57,
|
147 |
+
"S-PEDIDO": 58,
|
148 |
+
"S-PESSOA": 59,
|
149 |
+
"S-REFLEXO": 60,
|
150 |
+
"S-TIPO_ACAO": 61,
|
151 |
+
"S-TRIBUNAL": 62,
|
152 |
+
"S-VALOR_ACORDO": 63,
|
153 |
+
"S-VALOR_CAUSA": 64,
|
154 |
+
"S-VALOR_CONDENACAO": 65,
|
155 |
+
"S-VALOR_CUSTAS": 66,
|
156 |
+
"S-VALOR_PEDIDO": 67,
|
157 |
+
"S-VARA": 68
|
158 |
+
},
|
159 |
+
"layer_norm_eps": 1e-05,
|
160 |
+
"max_position_embeddings": 8194,
|
161 |
+
"model_type": "roberta",
|
162 |
+
"num_attention_heads": 12,
|
163 |
+
"num_hidden_layers": 3,
|
164 |
+
"pad_token_id": 1,
|
165 |
+
"position_embedding_type": "absolute",
|
166 |
+
"torch_dtype": "bfloat16",
|
167 |
+
"transformers_version": "4.47.1",
|
168 |
+
"type_vocab_size": 1,
|
169 |
+
"use_cache": true,
|
170 |
+
"vocab_size": 50265
|
171 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 19.997926744989634,
|
3 |
+
"eval_accuracy": 0.9699217442249749,
|
4 |
+
"eval_f1": 0.8090804377039739,
|
5 |
+
"eval_loss": 0.15359356999397278,
|
6 |
+
"eval_precision": 0.7678083439606486,
|
7 |
+
"eval_recall": 0.8550415905863258,
|
8 |
+
"eval_runtime": 65.5854,
|
9 |
+
"eval_samples": 4960,
|
10 |
+
"eval_samples_per_second": 75.627,
|
11 |
+
"eval_steps_per_second": 75.627
|
12 |
+
}
|
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:1027ea711a64f6a4164bf67bfa8191750217d66373efabaf4d1eab321556837d
|
3 |
+
size 132437538
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
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": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": false,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"extra_special_tokens": {},
|
51 |
+
"mask_token": "<mask>",
|
52 |
+
"max_length": 512,
|
53 |
+
"model_max_length": 512,
|
54 |
+
"pad_to_multiple_of": null,
|
55 |
+
"pad_token": "<pad>",
|
56 |
+
"pad_token_type_id": 0,
|
57 |
+
"padding_side": "right",
|
58 |
+
"sep_token": "</s>",
|
59 |
+
"stride": 0,
|
60 |
+
"tokenizer_class": "RobertaTokenizer",
|
61 |
+
"trim_offsets": true,
|
62 |
+
"truncation_side": "right",
|
63 |
+
"truncation_strategy": "longest_first",
|
64 |
+
"unk_token": "<unk>"
|
65 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 19.997926744989634,
|
3 |
+
"total_flos": 6132708568035504.0,
|
4 |
+
"train_loss": 0.8169754918592458,
|
5 |
+
"train_runtime": 915.3849,
|
6 |
+
"train_samples": 23148,
|
7 |
+
"train_samples_per_second": 505.754,
|
8 |
+
"train_steps_per_second": 7.887
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8090804377039739,
|
3 |
+
"best_model_checkpoint": "./models/entities/test_v6/checkpoint-7000",
|
4 |
+
"epoch": 19.997926744989634,
|
5 |
+
"eval_steps": 7000,
|
6 |
+
"global_step": 7220,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.3842432619212164,
|
13 |
+
"grad_norm": 7.1875,
|
14 |
+
"learning_rate": 0.0002,
|
15 |
+
"loss": 8.369,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 2.7684865238424328,
|
20 |
+
"grad_norm": 4.84375,
|
21 |
+
"learning_rate": 0.00018511904761904765,
|
22 |
+
"loss": 1.059,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 4.1548030407740155,
|
27 |
+
"grad_norm": 5.28125,
|
28 |
+
"learning_rate": 0.00017023809523809523,
|
29 |
+
"loss": 0.6034,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 5.5390463026952315,
|
34 |
+
"grad_norm": 3.90625,
|
35 |
+
"learning_rate": 0.00015535714285714287,
|
36 |
+
"loss": 0.3745,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 6.923289564616448,
|
41 |
+
"grad_norm": 3.515625,
|
42 |
+
"learning_rate": 0.00014047619047619049,
|
43 |
+
"loss": 0.2708,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 8.309606081548031,
|
48 |
+
"grad_norm": 3.203125,
|
49 |
+
"learning_rate": 0.0001255952380952381,
|
50 |
+
"loss": 0.1967,
|
51 |
+
"step": 3000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 9.693849343469246,
|
55 |
+
"grad_norm": 2.3125,
|
56 |
+
"learning_rate": 0.00011071428571428572,
|
57 |
+
"loss": 0.1566,
|
58 |
+
"step": 3500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 11.080165860400829,
|
62 |
+
"grad_norm": 3.03125,
|
63 |
+
"learning_rate": 9.583333333333334e-05,
|
64 |
+
"loss": 0.1318,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 12.464409122322046,
|
69 |
+
"grad_norm": 4.84375,
|
70 |
+
"learning_rate": 8.095238095238096e-05,
|
71 |
+
"loss": 0.1131,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 13.848652384243263,
|
76 |
+
"grad_norm": 2.484375,
|
77 |
+
"learning_rate": 6.607142857142857e-05,
|
78 |
+
"loss": 0.1041,
|
79 |
+
"step": 5000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 15.234968901174845,
|
83 |
+
"grad_norm": 3.078125,
|
84 |
+
"learning_rate": 5.119047619047619e-05,
|
85 |
+
"loss": 0.0986,
|
86 |
+
"step": 5500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 16.619212163096062,
|
90 |
+
"grad_norm": 2.53125,
|
91 |
+
"learning_rate": 3.630952380952381e-05,
|
92 |
+
"loss": 0.0951,
|
93 |
+
"step": 6000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 18.005528680027645,
|
97 |
+
"grad_norm": 3.53125,
|
98 |
+
"learning_rate": 2.1428571428571428e-05,
|
99 |
+
"loss": 0.0921,
|
100 |
+
"step": 6500
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 19.389771941948858,
|
104 |
+
"grad_norm": 1.671875,
|
105 |
+
"learning_rate": 6.547619047619048e-06,
|
106 |
+
"loss": 0.0925,
|
107 |
+
"step": 7000
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 19.389771941948858,
|
111 |
+
"eval_accuracy": 0.9699217442249749,
|
112 |
+
"eval_f1": 0.8090804377039739,
|
113 |
+
"eval_loss": 0.15359356999397278,
|
114 |
+
"eval_precision": 0.7678083439606486,
|
115 |
+
"eval_recall": 0.8550415905863258,
|
116 |
+
"eval_runtime": 169.5033,
|
117 |
+
"eval_samples_per_second": 29.262,
|
118 |
+
"eval_steps_per_second": 29.262,
|
119 |
+
"step": 7000
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 19.997926744989634,
|
123 |
+
"step": 7220,
|
124 |
+
"total_flos": 6132708568035504.0,
|
125 |
+
"train_loss": 0.8169754918592458,
|
126 |
+
"train_runtime": 915.3849,
|
127 |
+
"train_samples_per_second": 505.754,
|
128 |
+
"train_steps_per_second": 7.887
|
129 |
+
}
|
130 |
+
],
|
131 |
+
"logging_steps": 500,
|
132 |
+
"max_steps": 7220,
|
133 |
+
"num_input_tokens_seen": 0,
|
134 |
+
"num_train_epochs": 20,
|
135 |
+
"save_steps": 7000,
|
136 |
+
"stateful_callbacks": {
|
137 |
+
"TrainerControl": {
|
138 |
+
"args": {
|
139 |
+
"should_epoch_stop": false,
|
140 |
+
"should_evaluate": false,
|
141 |
+
"should_log": false,
|
142 |
+
"should_save": true,
|
143 |
+
"should_training_stop": true
|
144 |
+
},
|
145 |
+
"attributes": {}
|
146 |
+
}
|
147 |
+
},
|
148 |
+
"total_flos": 6132708568035504.0,
|
149 |
+
"train_batch_size": 8,
|
150 |
+
"trial_name": null,
|
151 |
+
"trial_params": null
|
152 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:885427ad062bd54a33ec4c0969e5b2302b29c0637541f9098bc04c866f12a2cf
|
3 |
+
size 5432
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|