elisanchez-beep
commited on
Commit
•
9faa53f
1
Parent(s):
cad6a6d
Add model
Browse files- .gitattributes +1 -0
- config.json +39 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +21 -0
- trainer_state.json +97 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlm-roberta-large",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForTokenClassification"
|
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": "ner",
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 1024,
|
14 |
+
"id2label": {
|
15 |
+
"0": "LABEL_0",
|
16 |
+
"1": "LABEL_1",
|
17 |
+
"2": "LABEL_2"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 4096,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0,
|
23 |
+
"LABEL_1": 1,
|
24 |
+
"LABEL_2": 2
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"max_position_embeddings": 514,
|
28 |
+
"model_type": "xlm-roberta",
|
29 |
+
"num_attention_heads": 16,
|
30 |
+
"num_hidden_layers": 24,
|
31 |
+
"output_past": true,
|
32 |
+
"pad_token_id": 1,
|
33 |
+
"position_embedding_type": "absolute",
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.20.0",
|
36 |
+
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 250002
|
39 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7770e49062bba31693dbbb616439f80d01e7b76548e3dd5c142310abce735ee0
|
3 |
+
size 2235515434
|
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
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2c509a525eb51aebb33fb59c24ee923c1d4c1db23c3ae81fe05ccf354084f7b
|
3 |
+
size 17082758
|
tokenizer_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"cls_token": "<s>",
|
5 |
+
"eos_token": "</s>",
|
6 |
+
"mask_token": {
|
7 |
+
"__type": "AddedToken",
|
8 |
+
"content": "<mask>",
|
9 |
+
"lstrip": true,
|
10 |
+
"normalized": true,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"model_max_length": 512,
|
15 |
+
"name_or_path": "xlm-roberta-large",
|
16 |
+
"pad_token": "<pad>",
|
17 |
+
"sep_token": "</s>",
|
18 |
+
"special_tokens_map_file": null,
|
19 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
20 |
+
"unk_token": "<unk>"
|
21 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9588719153936546,
|
3 |
+
"best_model_checkpoint": "experiments_results/cometa/outputs/xlm-roberta-large-output/cometa_8_0.01_0.00002_02-26-24_12-34/checkpoint-1452",
|
4 |
+
"epoch": 3.998624484181568,
|
5 |
+
"global_step": 1452,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"learning_rate": 1.596774193548387e-05,
|
13 |
+
"loss": 0.1244,
|
14 |
+
"step": 363
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"eval_accuracy": 0.988247268052282,
|
19 |
+
"eval_f1": 0.6509704104358893,
|
20 |
+
"eval_loss": 0.03377820923924446,
|
21 |
+
"eval_precision": 0.7153846153846154,
|
22 |
+
"eval_recall": 0.5971978984238179,
|
23 |
+
"eval_runtime": 18.9255,
|
24 |
+
"eval_samples_per_second": 153.602,
|
25 |
+
"eval_steps_per_second": 19.233,
|
26 |
+
"step": 363
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"learning_rate": 1.0645161290322582e-05,
|
31 |
+
"loss": 0.0355,
|
32 |
+
"step": 726
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.9933040497107349,
|
37 |
+
"eval_f1": 0.7906197654941373,
|
38 |
+
"eval_loss": 0.018763022497296333,
|
39 |
+
"eval_precision": 0.9276729559748428,
|
40 |
+
"eval_recall": 0.688849970811442,
|
41 |
+
"eval_runtime": 18.9192,
|
42 |
+
"eval_samples_per_second": 153.653,
|
43 |
+
"eval_steps_per_second": 19.24,
|
44 |
+
"step": 726
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"learning_rate": 5.322580645161291e-06,
|
49 |
+
"loss": 0.0196,
|
50 |
+
"step": 1089
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.0,
|
54 |
+
"eval_accuracy": 0.9973966145275337,
|
55 |
+
"eval_f1": 0.9279573080343908,
|
56 |
+
"eval_loss": 0.00810301024466753,
|
57 |
+
"eval_precision": 0.9427710843373494,
|
58 |
+
"eval_recall": 0.9136018680677175,
|
59 |
+
"eval_runtime": 19.0179,
|
60 |
+
"eval_samples_per_second": 152.856,
|
61 |
+
"eval_steps_per_second": 19.14,
|
62 |
+
"step": 1089
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 4.0,
|
66 |
+
"learning_rate": 0.0,
|
67 |
+
"loss": 0.0111,
|
68 |
+
"step": 1452
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 4.0,
|
72 |
+
"eval_accuracy": 0.9985001071352047,
|
73 |
+
"eval_f1": 0.9588719153936546,
|
74 |
+
"eval_loss": 0.005104937590658665,
|
75 |
+
"eval_precision": 0.9651094027202839,
|
76 |
+
"eval_recall": 0.9527145359019265,
|
77 |
+
"eval_runtime": 18.9209,
|
78 |
+
"eval_samples_per_second": 153.64,
|
79 |
+
"eval_steps_per_second": 19.238,
|
80 |
+
"step": 1452
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 4.0,
|
84 |
+
"step": 1452,
|
85 |
+
"total_flos": 1523924460800142.0,
|
86 |
+
"train_loss": 0.047672507848293,
|
87 |
+
"train_runtime": 706.4241,
|
88 |
+
"train_samples_per_second": 16.46,
|
89 |
+
"train_steps_per_second": 2.055
|
90 |
+
}
|
91 |
+
],
|
92 |
+
"max_steps": 1452,
|
93 |
+
"num_train_epochs": 4,
|
94 |
+
"total_flos": 1523924460800142.0,
|
95 |
+
"trial_name": null,
|
96 |
+
"trial_params": null
|
97 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09fca7ef623fdd402e649a8e264b1525380042e0c81838ec82110a8c81b896e0
|
3 |
+
size 3832
|