asahi417 commited on
Commit
60ddd12
1 Parent(s): 06fdfb4
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "O",
16
+ "2": "B-other",
17
+ "3": "B-person",
18
+ "4": "I-person",
19
+ "5": "B-location",
20
+ "6": "I-organization",
21
+ "7": "I-other",
22
+ "8": "I-location"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 4096,
26
+ "label2id": {
27
+ "B-location": 5,
28
+ "B-organization": 0,
29
+ "B-other": 2,
30
+ "B-person": 3,
31
+ "I-location": 8,
32
+ "I-organization": 6,
33
+ "I-other": 7,
34
+ "I-person": 4,
35
+ "O": 1
36
+ },
37
+ "layer_norm_eps": 1e-05,
38
+ "max_position_embeddings": 514,
39
+ "model_type": "xlm-roberta",
40
+ "num_attention_heads": 16,
41
+ "num_hidden_layers": 24,
42
+ "output_past": true,
43
+ "pad_token_id": 1,
44
+ "type_vocab_size": 1,
45
+ "vocab_size": 250002
46
+ }
parameter.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"dataset": ["conll2003"], "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:a763a5fa1e8663e3faa587701286bdd377582b0bebb1f64ddf360546b184c929
3
+ size 2235563698
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_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 94.58277254374158, "recall": 94.98226051697922, "precision": 94.18663092645335, "summary": " precision recall f1-score support\n\n location 0.96 0.97 0.96 1837\norganization 0.91 0.93 0.92 1341\n other 0.88 0.89 0.88 922\n person 0.97 0.98 0.98 1819\n\n micro avg 0.94 0.95 0.95 5919\n macro avg 0.93 0.94 0.94 5919\nweighted avg 0.94 0.95 0.95 5919\n"}, "test": {"f1": 91.04214424263797, "recall": 91.73773987206823, "precision": 90.35701785089255, "summary": " precision recall f1-score support\n\n location 0.92 0.92 0.92 1659\norganization 0.87 0.90 0.89 1660\n other 0.79 0.83 0.81 702\n person 0.97 0.97 0.97 1607\n\n micro avg 0.90 0.92 0.91 5628\n macro avg 0.89 0.90 0.90 5628\nweighted avg 0.90 0.92 0.91 5628\n"}}
test_conll2003_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 96.6237265302686, "recall": 96.94205102213212, "precision": 96.3074857334676, "summary": " precision recall f1-score support\n\n entity 0.96 0.97 0.97 5919\n\n micro avg 0.96 0.97 0.97 5919\n macro avg 0.96 0.97 0.97 5919\nweighted avg 0.96 0.97 0.97 5919\n"}, "test": {"f1": 94.80381760339343, "recall": 95.3091684434968, "precision": 94.30379746835443, "summary": " precision recall f1-score support\n\n entity 0.94 0.95 0.95 5628\n\n micro avg 0.94 0.95 0.95 5628\n macro avg 0.94 0.95 0.95 5628\nweighted avg 0.94 0.95 0.95 5628\n"}}
test_fin_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 20.59496567505721, "recall": 17.307692307692307, "precision": 25.423728813559322, "summary": " precision recall f1-score support\n\n entity 0.25 0.17 0.21 260\n\n micro avg 0.25 0.17 0.21 260\n macro avg 0.25 0.17 0.21 260\nweighted avg 0.25 0.17 0.21 260\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": 23.939679547596608, "recall": 15.64039408866995, "precision": 51.00401606425703, "summary": " precision recall f1-score support\n\n entity 0.51 0.16 0.24 812\n\n micro avg 0.51 0.16 0.24 812\n macro avg 0.51 0.16 0.24 812\nweighted avg 0.51 0.16 0.24 812\n"}}
test_ontonotes5_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 58.28702816631538, "recall": 77.11026615969581, "precision": 46.850454335438165, "summary": " precision recall f1-score support\n\n entity 0.47 0.77 0.58 3945\n\n micro avg 0.47 0.77 0.58 3945\n macro avg 0.47 0.77 0.58 3945\nweighted avg 0.47 0.77 0.58 3945\n"}, "test": {"f1": 57.73769548114747, "recall": 76.00404142460218, "precision": 46.55012376237624, "summary": " precision recall f1-score support\n\n entity 0.47 0.76 0.58 3959\n\n micro avg 0.47 0.76 0.58 3959\n macro avg 0.47 0.76 0.58 3959\nweighted avg 0.47 0.76 0.58 3959\n"}}
test_panx_dataset-en_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 58.905311940455704, "recall": 59.46271618939609, "precision": 58.358260869565214, "summary": " precision recall f1-score support\n\n entity 0.58 0.59 0.59 14108\n\n micro avg 0.58 0.59 0.59 14108\n macro avg 0.58 0.59 0.59 14108\nweighted avg 0.58 0.59 0.59 14108\n"}, "test": {"f1": 57.9007579007579, "recall": 58.33033206079378, "precision": 57.47746468876428, "summary": " precision recall f1-score support\n\n entity 0.57 0.58 0.58 13883\n\n micro avg 0.57 0.58 0.58 13883\n macro avg 0.57 0.58 0.58 13883\nweighted avg 0.57 0.58 0.58 13883\n"}}
test_wnut2017_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 77.32610659439926, "recall": 78.67647058823529, "precision": 76.02131438721138, "summary": " precision recall f1-score support\n\n entity 0.76 0.79 0.77 544\n\n micro avg 0.76 0.79 0.77 544\n macro avg 0.76 0.79 0.77 544\nweighted avg 0.76 0.79 0.77 544\n"}, "test": {"f1": 67.03470031545741, "recall": 73.52941176470588, "precision": 61.59420289855072, "summary": " precision recall f1-score support\n\n entity 0.62 0.74 0.67 578\n\n micro avg 0.62 0.74 0.67 578\n macro avg 0.62 0.74 0.67 578\nweighted avg 0.62 0.74 0.67 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"}