asahi417 commited on
Commit
dc9828d
1 Parent(s): fd5cc44
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-rating",
15
+ "1": "I-rating",
16
+ "2": "O",
17
+ "3": "B-amenity",
18
+ "4": "I-amenity",
19
+ "5": "B-location",
20
+ "6": "I-location",
21
+ "7": "B-restaurant",
22
+ "8": "I-restaurant",
23
+ "9": "B-money",
24
+ "10": "B-time",
25
+ "11": "I-time",
26
+ "12": "B-dish",
27
+ "13": "I-dish",
28
+ "14": "B-cuisine",
29
+ "15": "I-money",
30
+ "16": "I-cuisine"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 4096,
34
+ "label2id": {
35
+ "B-amenity": 3,
36
+ "B-cuisine": 14,
37
+ "B-dish": 12,
38
+ "B-location": 5,
39
+ "B-money": 9,
40
+ "B-rating": 0,
41
+ "B-restaurant": 7,
42
+ "B-time": 10,
43
+ "I-amenity": 4,
44
+ "I-cuisine": 16,
45
+ "I-dish": 13,
46
+ "I-location": 6,
47
+ "I-money": 15,
48
+ "I-rating": 1,
49
+ "I-restaurant": 8,
50
+ "I-time": 11,
51
+ "O": 2
52
+ },
53
+ "layer_norm_eps": 1e-05,
54
+ "max_position_embeddings": 514,
55
+ "model_type": "xlm-roberta",
56
+ "num_attention_heads": 16,
57
+ "num_hidden_layers": 24,
58
+ "output_past": true,
59
+ "pad_token_id": 1,
60
+ "type_vocab_size": 1,
61
+ "vocab_size": 250002
62
+ }
parameter.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"dataset": ["mit_restaurant"], "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:8de291f5f8f378633b38d28c1fe801e04ca679f06648ed94cfcd1ebcc2de4b9f
3
+ size 2235595636
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": 21.813602015113347, "recall": 23.57103973870441, "precision": 20.30004688232536, "summary": " precision recall f1-score support\n\n entity 0.20 0.24 0.22 1837\n\n micro avg 0.20 0.24 0.22 1837\n macro avg 0.20 0.24 0.22 1837\nweighted avg 0.20 0.24 0.22 1837\n"}, "test": {"f1": 21.771858714533877, "recall": 22.66425557564798, "precision": 20.94707520891365, "summary": " precision recall f1-score support\n\n entity 0.21 0.23 0.22 1659\n\n micro avg 0.21 0.23 0.22 1659\n macro avg 0.21 0.23 0.22 1659\nweighted avg 0.21 0.23 0.22 1659\n"}}
test_fin_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 5.47945205479452, "recall": 11.428571428571429, "precision": 3.6036036036036037, "summary": " precision recall f1-score support\n\n entity 0.04 0.11 0.05 35\n\n micro avg 0.04 0.11 0.05 35\n macro avg 0.04 0.11 0.05 35\nweighted avg 0.04 0.11 0.05 35\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_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 79.63020996552804, "recall": 80.64106632814979, "precision": 78.64438254410399, "summary": " precision recall f1-score support\n\n amenity 0.68 0.71 0.70 533\n cuisine 0.84 0.84 0.84 532\n dish 0.74 0.82 0.78 288\n location 0.84 0.84 0.84 812\n money 0.86 0.87 0.86 171\n rating 0.74 0.82 0.78 201\n restaurant 0.86 0.83 0.85 402\n time 0.65 0.69 0.67 212\n\n micro avg 0.79 0.81 0.80 3151\n macro avg 0.78 0.80 0.79 3151\nweighted avg 0.79 0.81 0.80 3151\n"}}
test_mit_restaurant_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 83.39889850511409, "recall": 84.10028562361155, "precision": 82.70911360799002, "summary": " precision recall f1-score support\n\n entity 0.83 0.84 0.83 3151\n\n micro avg 0.83 0.84 0.83 3151\n macro avg 0.83 0.84 0.83 3151\nweighted avg 0.83 0.84 0.83 3151\n"}}
test_ontonotes5_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 6.0644346178142765, "recall": 20.839363241678726, "precision": 3.548546081813701, "summary": " precision recall f1-score support\n\n entity 0.04 0.21 0.06 691\n\n micro avg 0.04 0.21 0.06 691\n macro avg 0.04 0.21 0.06 691\nweighted avg 0.04 0.21 0.06 691\n"}, "test": {"f1": 4.648241206030151, "recall": 15.74468085106383, "precision": 2.726602800294768, "summary": " precision recall f1-score support\n\n entity 0.03 0.16 0.05 705\n\n micro avg 0.03 0.16 0.05 705\n macro avg 0.03 0.16 0.05 705\nweighted avg 0.03 0.16 0.05 705\n"}}
test_panx_dataset-en_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 23.831938633193865, "recall": 28.4851010627214, "precision": 20.48553873819871, "summary": " precision recall f1-score support\n\n entity 0.20 0.28 0.24 4799\n\n micro avg 0.20 0.28 0.24 4799\n macro avg 0.20 0.28 0.24 4799\nweighted avg 0.20 0.28 0.24 4799\n"}, "test": {"f1": 22.363246335359314, "recall": 27.042801556420233, "precision": 19.064309661688508, "summary": " precision recall f1-score support\n\n entity 0.19 0.27 0.22 4626\n\n micro avg 0.19 0.27 0.22 4626\n macro avg 0.19 0.27 0.22 4626\nweighted avg 0.19 0.27 0.22 4626\n"}}
test_wnut2017_span_lower.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"valid": {"f1": 18.30065359477124, "recall": 18.91891891891892, "precision": 17.72151898734177, "summary": " precision recall f1-score support\n\n entity 0.18 0.19 0.18 74\n\n micro avg 0.18 0.19 0.18 74\n macro avg 0.18 0.19 0.18 74\nweighted avg 0.18 0.19 0.18 74\n"}, "test": {"f1": 22.933333333333337, "recall": 28.666666666666668, "precision": 19.11111111111111, "summary": " precision recall f1-score support\n\n entity 0.19 0.29 0.23 150\n\n micro avg 0.19 0.29 0.23 150\n macro avg 0.19 0.29 0.23 150\nweighted avg 0.19 0.29 0.23 150\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"}