Michael Beukman
commited on
Commit
•
c37e28d
1
Parent(s):
d4c3000
Initial Commit
Browse files- config.json +50 -0
- eval_results.txt +15 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -0
- test_predictions.txt +0 -0
- test_results.txt +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
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.9266770670826834
|
2 |
+
loss = 0.10732872315803924
|
3 |
+
precision = 0.922360248447205
|
4 |
+
recall = 0.9310344827586207
|
5 |
+
report = precision recall f1-score support
|
6 |
+
|
7 |
+
DATE 0.90 0.94 0.92 109
|
8 |
+
LOC 0.94 0.95 0.94 63
|
9 |
+
ORG 0.76 0.82 0.79 45
|
10 |
+
PER 0.94 0.94 0.94 421
|
11 |
+
|
12 |
+
micro avg 0.92 0.93 0.93 638
|
13 |
+
macro avg 0.89 0.91 0.90 638
|
14 |
+
weighted avg 0.92 0.93 0.93 638
|
15 |
+
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:172227e1643d435a5f9bd18baaf4928c3d35c18ea07032a4675539a3992b2811
|
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.888888888888889
|
2 |
+
loss = 0.10679786939769352
|
3 |
+
precision = 0.881283422459893
|
4 |
+
recall = 0.8966267682263329
|
5 |
+
report = precision recall f1-score support
|
6 |
+
|
7 |
+
DATE 0.91 0.93 0.92 184
|
8 |
+
LOC 0.86 0.88 0.87 258
|
9 |
+
ORG 0.82 0.82 0.82 210
|
10 |
+
PER 0.93 0.94 0.94 267
|
11 |
+
|
12 |
+
micro avg 0.88 0.90 0.89 919
|
13 |
+
macro avg 0.88 0.90 0.89 919
|
14 |
+
weighted avg 0.88 0.90 0.89 919
|
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:b3577052f9cf6db4f5e475a3506be3c863f24f8a5b97b8b8977b45aba85c0bca
|
3 |
+
size 1583
|