asahi417 commited on
Commit
6c8b65a
1 Parent(s): ac1ef9b
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "0": "B-organization",
15
+ "1": "I-organization",
16
+ "2": "O",
17
+ "3": "B-person",
18
+ "4": "I-person",
19
+ "5": "B-location",
20
+ "6": "I-location"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 4096,
24
+ "label2id": {
25
+ "B-location": 5,
26
+ "B-organization": 0,
27
+ "B-person": 3,
28
+ "I-location": 6,
29
+ "I-organization": 1,
30
+ "I-person": 4,
31
+ "O": 2
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 514,
35
+ "model_type": "xlm-roberta",
36
+ "num_attention_heads": 16,
37
+ "num_hidden_layers": 24,
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/ko"], "transformers_model": "xlm-roberta-large", "random_seed": 1234, "lr": 1e-05, "total_step": 5000, "warmup_step": 700, "weight_decay": 1e-07, "batch_size": 32, "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:9ca1de7c0cc43fb1f293bef20b11f4d2c7a5e2080f9ce7bb5fc948ba97f20c45
3
+ size 2235557041
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": 56.676460985961484, "recall": 61.63131268305671, "precision": 52.459016393442624, "summary": " precision recall f1-score support\n\n location 0.43 0.43 0.43 3856\norganization 0.43 0.64 0.52 3596\n person 0.74 0.78 0.76 3815\n\n micro avg 0.52 0.62 0.57 11267\n macro avg 0.53 0.62 0.57 11267\nweighted avg 0.53 0.62 0.57 11267\n"}, "test": {"f1": 57.19661335841957, "recall": 62.1014299671374, "precision": 53.00985595147839, "summary": " precision recall f1-score support\n\n location 0.45 0.42 0.43 3780\norganization 0.44 0.66 0.53 3629\n person 0.72 0.77 0.75 3850\n\n micro avg 0.53 0.62 0.57 11259\n macro avg 0.54 0.62 0.57 11259\nweighted avg 0.54 0.62 0.57 11259\n"}}
test_panx_dataset-en.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 58.53253537205521, "recall": 59.93623804463337, "precision": 57.19307733910222, "summary": " precision recall f1-score support\n\n location 0.42 0.47 0.45 4803\norganization 0.56 0.59 0.57 4677\n person 0.77 0.74 0.75 4635\n\n micro avg 0.57 0.60 0.59 14115\n macro avg 0.58 0.60 0.59 14115\nweighted avg 0.58 0.60 0.59 14115\n"}, "test": {"f1": 57.875534975092954, "recall": 59.370951489851734, "precision": 56.45359978100192, "summary": " precision recall f1-score support\n\n location 0.39 0.45 0.42 4633\norganization 0.57 0.60 0.58 4744\n person 0.76 0.74 0.75 4517\n\n micro avg 0.56 0.59 0.58 13894\n macro avg 0.58 0.59 0.58 13894\nweighted avg 0.57 0.59 0.58 13894\n"}}
test_panx_dataset-es.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 66.19777854644681, "recall": 70.18744906275468, "precision": 62.63728271146992, "summary": " precision recall f1-score support\n\n location 0.53 0.58 0.56 4567\norganization 0.54 0.76 0.63 3737\n person 0.88 0.79 0.83 3966\n\n micro avg 0.63 0.70 0.66 12270\n macro avg 0.65 0.71 0.67 12270\nweighted avg 0.65 0.70 0.67 12270\n"}, "test": {"f1": 66.24027124913309, "recall": 70.1141924959217, "precision": 62.77201694172631, "summary": " precision recall f1-score support\n\n location 0.54 0.59 0.56 4725\norganization 0.54 0.75 0.63 3576\n person 0.87 0.79 0.83 3959\n\n micro avg 0.63 0.70 0.66 12260\n macro avg 0.65 0.71 0.67 12260\nweighted avg 0.65 0.70 0.67 12260\n"}}
test_panx_dataset-ja.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 62.070909867577974, "recall": 70.56389736019113, "precision": 55.402705546828535, "summary": " precision recall f1-score support\n\n location 0.57 0.74 0.65 19595\norganization 0.47 0.65 0.55 16328\n person 0.63 0.72 0.67 15558\n\n micro avg 0.55 0.71 0.62 51481\n macro avg 0.56 0.70 0.62 51481\nweighted avg 0.56 0.71 0.62 51481\n"}, "test": {"f1": 62.070909867577974, "recall": 70.56389736019113, "precision": 55.402705546828535, "summary": " precision recall f1-score support\n\n location 0.57 0.74 0.65 19595\norganization 0.47 0.65 0.55 16328\n person 0.63 0.72 0.67 15558\n\n micro avg 0.55 0.71 0.62 51481\n macro avg 0.56 0.70 0.62 51481\nweighted avg 0.56 0.71 0.62 51481\n"}}
test_panx_dataset-ko.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 89.84904760282141, "recall": 90.5681115614481, "precision": 89.14131169709263, "summary": " precision recall f1-score support\n\n location 0.92 0.94 0.93 5997\norganization 0.84 0.85 0.85 4459\n person 0.90 0.92 0.91 4101\n\n micro avg 0.89 0.91 0.90 14557\n macro avg 0.89 0.90 0.90 14557\nweighted avg 0.89 0.91 0.90 14557\n"}, "test": {"f1": 89.67792939882446, "recall": 90.44581571101713, "precision": 88.9229720518064, "summary": " precision recall f1-score support\n\n location 0.91 0.94 0.93 5855\norganization 0.84 0.84 0.84 4319\n person 0.90 0.92 0.91 4249\n\n micro avg 0.89 0.90 0.90 14423\n macro avg 0.89 0.90 0.89 14423\nweighted avg 0.89 0.90 0.90 14423\n"}}
test_panx_dataset-ru.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 69.4193149307972, "recall": 72.79065996432625, "precision": 66.34643807271652, "summary": " precision recall f1-score support\n\n location 0.71 0.80 0.75 4852\norganization 0.66 0.68 0.67 3892\n person 0.60 0.69 0.64 3590\n\n micro avg 0.66 0.73 0.69 12334\n macro avg 0.66 0.72 0.69 12334\nweighted avg 0.66 0.73 0.69 12334\n"}, "test": {"f1": 68.62323654695376, "recall": 72.10314527387698, "precision": 65.46376379361766, "summary": " precision recall f1-score support\n\n location 0.70 0.79 0.74 4560\norganization 0.65 0.68 0.66 4074\n person 0.60 0.68 0.64 3543\n\n micro avg 0.65 0.72 0.69 12177\n macro avg 0.65 0.72 0.68 12177\nweighted avg 0.65 0.72 0.69 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-large"}