asahi417 commited on
Commit
fef2bdd
1 Parent(s): 474b310
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
3
+ "architectures": [
4
+ "XLMRobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-location",
16
+ "2": "B-person",
17
+ "3": "I-person",
18
+ "4": "B-organization",
19
+ "5": "I-location",
20
+ "6": "I-organization"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B-location": 1,
26
+ "B-organization": 4,
27
+ "B-person": 2,
28
+ "I-location": 5,
29
+ "I-organization": 6,
30
+ "I-person": 3,
31
+ "O": 0
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 514,
35
+ "model_type": "xlm-roberta",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "output_past": true,
39
+ "pad_token_id": 1,
40
+ "type_vocab_size": 1,
41
+ "vocab_size": 250002
42
+ }
parameter.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"dataset": ["panx_dataset/ru"], "transformers_model": "xlm-roberta-base", "random_seed": 1234, "lr": 1e-05, "total_step": 13000, "warmup_step": 700, "weight_decay": 1e-07, "batch_size": 16, "max_seq_length": 128, "fp16": false, "max_grad_norm": 1.0, "lower_case": false}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:738c18d1f928c84c0128621a415878a296338fb2315123a56827df76ce67ce60
3
+ size 1109919201
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": "<mask>"}
test_panx_dataset-ar.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 50.45396127855396, "recall": 54.007277891186654, "precision": 47.33934961879571, "summary": " precision recall f1-score support\n\n location 0.59 0.44 0.50 3856\norganization 0.31 0.63 0.42 3596\n person 0.77 0.56 0.65 3815\n\n micro avg 0.47 0.54 0.50 11267\n macro avg 0.56 0.54 0.52 11267\nweighted avg 0.56 0.54 0.52 11267\n"}, "test": {"f1": 50.955414012738856, "recall": 54.35651478816946, "precision": 47.95486600846262, "summary": " precision recall f1-score support\n\n location 0.62 0.44 0.51 3780\norganization 0.32 0.64 0.43 3629\n person 0.76 0.56 0.64 3850\n\n micro avg 0.48 0.54 0.51 11259\n macro avg 0.57 0.54 0.53 11259\nweighted avg 0.57 0.54 0.53 11259\n"}}
test_panx_dataset-en.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 52.439463940496076, "recall": 56.691462982642584, "precision": 48.78078517434772, "summary": " precision recall f1-score support\n\n location 0.45 0.47 0.46 4803\norganization 0.40 0.67 0.50 4677\n person 0.74 0.56 0.64 4635\n\n micro avg 0.49 0.57 0.52 14115\n macro avg 0.53 0.57 0.53 14115\nweighted avg 0.53 0.57 0.53 14115\n"}, "test": {"f1": 51.857760053173806, "recall": 56.15373542536347, "precision": 48.17238824401087, "summary": " precision recall f1-score support\n\n location 0.42 0.43 0.42 4633\norganization 0.40 0.69 0.51 4744\n person 0.76 0.57 0.65 4517\n\n micro avg 0.48 0.56 0.52 13894\n macro avg 0.53 0.56 0.53 13894\nweighted avg 0.52 0.56 0.53 13894\n"}}
test_panx_dataset-es.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 66.55490360435876, "recall": 67.94621026894866, "precision": 65.2194320582023, "summary": " precision recall f1-score support\n\n location 0.80 0.67 0.73 4567\norganization 0.49 0.86 0.62 3737\n person 0.86 0.53 0.65 3966\n\n micro avg 0.65 0.68 0.67 12270\n macro avg 0.72 0.68 0.67 12270\nweighted avg 0.72 0.68 0.67 12270\n"}, "test": {"f1": 66.81829063921474, "recall": 68.2952691680261, "precision": 65.40384314950789, "summary": " precision recall f1-score support\n\n location 0.81 0.67 0.73 4725\norganization 0.48 0.86 0.61 3576\n person 0.86 0.54 0.67 3959\n\n micro avg 0.65 0.68 0.67 12260\n macro avg 0.72 0.69 0.67 12260\nweighted avg 0.73 0.68 0.68 12260\n"}}
test_panx_dataset-ja.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 39.900951197448855, "recall": 42.41176356325635, "precision": 37.67080745341615, "summary": " precision recall f1-score support\n\n location 0.52 0.52 0.52 19595\norganization 0.25 0.51 0.34 16328\n person 0.57 0.22 0.32 15558\n\n micro avg 0.38 0.42 0.40 51481\n macro avg 0.45 0.41 0.39 51481\nweighted avg 0.45 0.42 0.40 51481\n"}, "test": {"f1": 39.900951197448855, "recall": 42.41176356325635, "precision": 37.67080745341615, "summary": " precision recall f1-score support\n\n location 0.52 0.52 0.52 19595\norganization 0.25 0.51 0.34 16328\n person 0.57 0.22 0.32 15558\n\n micro avg 0.38 0.42 0.40 51481\n macro avg 0.45 0.41 0.39 51481\nweighted avg 0.45 0.42 0.40 51481\n"}}
test_panx_dataset-ko.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 52.56274180847057, "recall": 52.73064505049118, "precision": 52.395904436860064, "summary": " precision recall f1-score support\n\n location 0.70 0.60 0.64 5997\norganization 0.35 0.59 0.44 4459\n person 0.71 0.36 0.47 4101\n\n micro avg 0.52 0.53 0.53 14557\n macro avg 0.59 0.51 0.52 14557\nweighted avg 0.60 0.53 0.53 14557\n"}, "test": {"f1": 51.85824217536839, "recall": 52.097344519170775, "precision": 51.62132453970871, "summary": " precision recall f1-score support\n\n location 0.71 0.60 0.65 5855\norganization 0.34 0.58 0.43 4319\n person 0.70 0.35 0.46 4249\n\n micro avg 0.52 0.52 0.52 14423\n macro avg 0.58 0.51 0.51 14423\nweighted avg 0.59 0.52 0.53 14423\n"}}
test_panx_dataset-ru.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 89.16495798657178, "recall": 89.90595102967407, "precision": 88.43607943217162, "summary": " precision recall f1-score support\n\n location 0.89 0.91 0.90 4852\norganization 0.82 0.83 0.83 3892\n person 0.94 0.96 0.95 3590\n\n micro avg 0.88 0.90 0.89 12334\n macro avg 0.88 0.90 0.89 12334\nweighted avg 0.88 0.90 0.89 12334\n"}, "test": {"f1": 88.67886096060619, "recall": 89.38162108893816, "precision": 87.98706548100242, "summary": " precision recall f1-score support\n\n location 0.88 0.91 0.90 4560\norganization 0.83 0.83 0.83 4074\n person 0.94 0.95 0.95 3543\n\n micro avg 0.88 0.89 0.89 12177\n macro avg 0.88 0.90 0.89 12177\nweighted avg 0.88 0.89 0.89 12177\n"}}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 512, "name_or_path": "xlm-roberta-base"}