asahi417 commited on
Commit
e18d290
1 Parent(s): d5c2883
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-location",
18
+ "4": "I-location",
19
+ "5": "B-person",
20
+ "6": "I-person"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 4096,
24
+ "label2id": {
25
+ "B-location": 3,
26
+ "B-organization": 0,
27
+ "B-person": 5,
28
+ "I-location": 4,
29
+ "I-organization": 1,
30
+ "I-person": 6,
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/en"], "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": true}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bee736a4862174f38dc1a4bc0278c8ce426359331641347e6be1aefcb3fd1ccb
3
+ size 2235555369
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_bc5cdr_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 0.0, "recall": 0.0, "precision": 0.0, "summary": ""}, "test": {"f1": 0.0, "recall": 0.0, "precision": 0.0, "summary": ""}}
test_bionlp2004_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 0.0, "recall": 0.0, "precision": 0.0, "summary": ""}}
test_conll2003_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 69.62705984388552, "recall": 80.3281969181509, "precision": 61.441910301546, "summary": " precision recall f1-score support\n\n entity 0.61 0.80 0.70 4997\n\n micro avg 0.61 0.80 0.70 4997\n macro avg 0.61 0.80 0.70 4997\nweighted avg 0.61 0.80 0.70 4997\n"}, "test": {"f1": 69.75491516294102, "recall": 78.86723507917173, "precision": 62.53017865765331, "summary": " precision recall f1-score support\n\n entity 0.63 0.79 0.70 4926\n\n micro avg 0.63 0.79 0.70 4926\n macro avg 0.63 0.79 0.70 4926\nweighted avg 0.63 0.79 0.70 4926\n"}}
test_fin_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 12.060301507537687, "recall": 14.173228346456693, "precision": 10.495626822157435, "summary": " precision recall f1-score support\n\n entity 0.10 0.14 0.12 254\n\n micro avg 0.10 0.14 0.12 254\n macro avg 0.10 0.14 0.12 254\nweighted avg 0.10 0.14 0.12 254\n"}}
test_mit_movie_trivia_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 0.0, "recall": 0.0, "precision": 0.0, "summary": ""}}
test_mit_restaurant_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 3.048065650644783, "recall": 1.600985221674877, "precision": 31.70731707317073, "summary": " precision recall f1-score support\n\n entity 0.32 0.02 0.03 812\n\n micro avg 0.32 0.02 0.03 812\n macro avg 0.32 0.02 0.03 812\nweighted avg 0.32 0.02 0.03 812\n"}}
test_ontonotes5_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 26.88284518828452, "recall": 58.63117870722433, "precision": 17.439493327301516, "summary": " precision recall f1-score support\n\n entity 0.17 0.59 0.27 3945\n\n micro avg 0.17 0.59 0.27 3945\n macro avg 0.17 0.59 0.27 3945\nweighted avg 0.17 0.59 0.27 3945\n"}, "test": {"f1": 28.506676466985176, "recall": 58.77746905784289, "precision": 18.81620441497534, "summary": " precision recall f1-score support\n\n entity 0.19 0.59 0.29 3959\n\n micro avg 0.19 0.59 0.29 3959\n macro avg 0.19 0.59 0.29 3959\nweighted avg 0.19 0.59 0.29 3959\n"}}
test_panx_dataset-en_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 82.90697266378916, "recall": 83.7326339665438, "precision": 82.0974355410383, "summary": " precision recall f1-score support\n\n location 0.84 0.85 0.85 4799\norganization 0.74 0.76 0.75 4677\n person 0.88 0.90 0.89 4632\n\n micro avg 0.82 0.84 0.83 14108\n macro avg 0.82 0.84 0.83 14108\nweighted avg 0.82 0.84 0.83 14108\n"}, "test": {"f1": 82.64351044521158, "recall": 83.63466109630482, "precision": 81.6755768148565, "summary": " precision recall f1-score support\n\n location 0.83 0.86 0.84 4626\norganization 0.75 0.75 0.75 4744\n person 0.88 0.91 0.89 4513\n\n micro avg 0.82 0.84 0.83 13883\n macro avg 0.82 0.84 0.83 13883\nweighted avg 0.82 0.84 0.83 13883\n"}}
test_panx_dataset-en_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 92.69259351003221, "recall": 92.8338531329742, "precision": 92.55176312628083, "summary": " precision recall f1-score support\n\n entity 0.93 0.93 0.93 14108\n\n micro avg 0.93 0.93 0.93 14108\n macro avg 0.93 0.93 0.93 14108\nweighted avg 0.93 0.93 0.93 14108\n"}, "test": {"f1": 92.40056052603211, "recall": 92.61686955269035, "precision": 92.18525953541726, "summary": " precision recall f1-score support\n\n entity 0.92 0.93 0.92 13883\n\n micro avg 0.92 0.93 0.92 13883\n macro avg 0.92 0.93 0.92 13883\nweighted avg 0.92 0.93 0.92 13883\n"}}
test_wnut2017_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 47.939262472885034, "recall": 40.625, "precision": 58.46560846560847, "summary": " precision recall f1-score support\n\n entity 0.58 0.41 0.48 544\n\n micro avg 0.58 0.41 0.48 544\n macro avg 0.58 0.41 0.48 544\nweighted avg 0.58 0.41 0.48 544\n"}, "test": {"f1": 51.26582278481012, "recall": 42.04152249134948, "precision": 65.67567567567568, "summary": " precision recall f1-score support\n\n entity 0.66 0.42 0.51 578\n\n micro avg 0.66 0.42 0.51 578\n macro avg 0.66 0.42 0.51 578\nweighted avg 0.66 0.42 0.51 578\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"}