Michael Beukman commited on
Commit
c7ca8f4
1 Parent(s): 21dc7f1

Initial Commit

Browse files
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-DATE",
16
+ "2": "I-DATE",
17
+ "3": "B-PER",
18
+ "4": "I-PER",
19
+ "5": "B-ORG",
20
+ "6": "I-ORG",
21
+ "7": "B-LOC",
22
+ "8": "I-LOC"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "B-DATE": 1,
28
+ "B-LOC": 7,
29
+ "B-ORG": 5,
30
+ "B-PER": 3,
31
+ "I-DATE": 2,
32
+ "I-LOC": 8,
33
+ "I-ORG": 6,
34
+ "I-PER": 4,
35
+ "O": 0
36
+ },
37
+ "layer_norm_eps": 1e-05,
38
+ "max_position_embeddings": 514,
39
+ "model_type": "xlm-roberta",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
42
+ "output_past": true,
43
+ "pad_token_id": 1,
44
+ "position_embedding_type": "absolute",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.11.3",
47
+ "type_vocab_size": 1,
48
+ "use_cache": true,
49
+ "vocab_size": 250002
50
+ }
eval_results.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ f1 = 0.8310648518815053
2
+ loss = 0.24819360812589844
3
+ precision = 0.8225039619651348
4
+ recall = 0.8398058252427184
5
+ report = precision recall f1-score support
6
+
7
+ DATE 0.82 0.81 0.82 112
8
+ LOC 0.76 0.86 0.81 109
9
+ ORG 0.81 0.86 0.83 172
10
+ PER 0.87 0.83 0.85 225
11
+
12
+ micro avg 0.82 0.84 0.83 618
13
+ macro avg 0.82 0.84 0.83 618
14
+ weighted avg 0.82 0.84 0.83 618
15
+
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6cd0254ab850e83756944951f332552f2b9936362812cf85bdc79d6e29f6d08
3
+ size 1109924593
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": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
test_predictions.txt ADDED
The diff for this file is too large to render. See raw diff
 
test_results.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ f1 = 0.7458811782326511
2
+ loss = 0.3358299644035732
3
+ precision = 0.7217391304347827
4
+ recall = 0.7716942148760331
5
+ report = precision recall f1-score support
6
+
7
+ DATE 0.67 0.74 0.70 130
8
+ LOC 0.70 0.81 0.75 374
9
+ ORG 0.70 0.71 0.70 257
10
+ PER 0.85 0.80 0.82 207
11
+
12
+ micro avg 0.72 0.77 0.75 968
13
+ macro avg 0.73 0.76 0.74 968
14
+ weighted avg 0.73 0.77 0.75 968
15
+
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
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": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "xlm-roberta-base", "tokenizer_class": "XLMRobertaTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5373c3c0faaac3509399585ad124cf51e9e1e099b91694ed208ccc36a80e88d8
3
+ size 1583