OSainz/mdt-ie-re-baseline
Browse files- .gitattributes +1 -0
- README.md +72 -0
- added_tokens.json +6 -0
- config.json +65 -0
- model.safetensors +3 -0
- runs/Feb19_09-10-13_a4027b53f756/events.out.tfevents.1708333814.a4027b53f756.3931.0 +3 -0
- runs/Feb19_09-11-16_a4027b53f756/events.out.tfevents.1708333884.a4027b53f756.3931.1 +3 -0
- runs/Feb19_09-11-16_a4027b53f756/events.out.tfevents.1708335102.a4027b53f756.3931.2 +3 -0
- runs/Feb19_09-52-48_a4027b53f756/events.out.tfevents.1708336376.a4027b53f756.3931.3 +3 -0
- runs/Feb19_09-52-48_a4027b53f756/events.out.tfevents.1708338957.a4027b53f756.3931.4 +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +87 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: xlm-roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: tmp
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# tmp
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.4127
|
23 |
+
- Precision: 0.3197
|
24 |
+
- Recall: 0.2438
|
25 |
+
- F1: 0.2766
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 1e-05
|
45 |
+
- train_batch_size: 32
|
46 |
+
- eval_batch_size: 32
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: constant
|
50 |
+
- num_epochs: 3
|
51 |
+
- mixed_precision_training: Native AMP
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
|
57 |
+
| 0.8182 | 0.35 | 500 | 0.5251 | 0.0 | 0.0 | 0.0 |
|
58 |
+
| 0.6835 | 0.7 | 1000 | 0.4857 | 0.0 | 0.0 | 0.0 |
|
59 |
+
| 0.6643 | 1.04 | 1500 | 0.4691 | 0.0 | 0.0 | 0.0 |
|
60 |
+
| 0.6403 | 1.39 | 2000 | 0.4580 | 0.4531 | 0.0349 | 0.0647 |
|
61 |
+
| 0.5617 | 1.74 | 2500 | 0.4528 | 0.3373 | 0.0673 | 0.1122 |
|
62 |
+
| 0.4896 | 2.09 | 3000 | 0.4265 | 0.3268 | 0.1611 | 0.2158 |
|
63 |
+
| 0.4451 | 2.43 | 3500 | 0.4087 | 0.3860 | 0.1791 | 0.2447 |
|
64 |
+
| 0.416 | 2.78 | 4000 | 0.4222 | 0.2937 | 0.2224 | 0.2531 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.37.2
|
70 |
+
- Pytorch 2.1.0+cu121
|
71 |
+
- Datasets 2.17.0
|
72 |
+
- Tokenizers 0.15.2
|
added_tokens.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[/E1]": 250003,
|
3 |
+
"[/E2]": 250005,
|
4 |
+
"[E1]": 250002,
|
5 |
+
"[E2]": 250004
|
6 |
+
}
|
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"head_token": "[E1]",
|
11 |
+
"head_token_id": 250002,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"id2label": {
|
16 |
+
"0": "arg",
|
17 |
+
"1": "causes",
|
18 |
+
"2": "domain",
|
19 |
+
"3": "entails",
|
20 |
+
"4": "has-part",
|
21 |
+
"5": "has-property",
|
22 |
+
"6": "in-context",
|
23 |
+
"7": "in-place",
|
24 |
+
"8": "in-time",
|
25 |
+
"9": "is-a",
|
26 |
+
"10": "no_relation",
|
27 |
+
"11": "part-of",
|
28 |
+
"12": "subject",
|
29 |
+
"13": "target"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"arg": 0,
|
35 |
+
"causes": 1,
|
36 |
+
"domain": 2,
|
37 |
+
"entails": 3,
|
38 |
+
"has-part": 4,
|
39 |
+
"has-property": 5,
|
40 |
+
"in-context": 6,
|
41 |
+
"in-place": 7,
|
42 |
+
"in-time": 8,
|
43 |
+
"is-a": 9,
|
44 |
+
"no_relation": 10,
|
45 |
+
"part-of": 11,
|
46 |
+
"subject": 12,
|
47 |
+
"target": 13
|
48 |
+
},
|
49 |
+
"layer_norm_eps": 1e-05,
|
50 |
+
"max_position_embeddings": 514,
|
51 |
+
"model_type": "xlm-roberta",
|
52 |
+
"num_attention_heads": 12,
|
53 |
+
"num_hidden_layers": 12,
|
54 |
+
"output_past": true,
|
55 |
+
"pad_token_id": 1,
|
56 |
+
"position_embedding_type": "absolute",
|
57 |
+
"problem_type": "single_label_classification",
|
58 |
+
"tail_token": "[E2]",
|
59 |
+
"tail_token_id": 250004,
|
60 |
+
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.37.2",
|
62 |
+
"type_vocab_size": 1,
|
63 |
+
"use_cache": true,
|
64 |
+
"vocab_size": 250006
|
65 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66de01e017c930feb95a8f27e88ae29447921710e68c11721a6687fa9f8823c0
|
3 |
+
size 1112254208
|
runs/Feb19_09-10-13_a4027b53f756/events.out.tfevents.1708333814.a4027b53f756.3931.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12f8d9e5a9e786c9e47de2cff110f59f4cbee6a90828df7528f28eea822d29ba
|
3 |
+
size 5036
|
runs/Feb19_09-11-16_a4027b53f756/events.out.tfevents.1708333884.a4027b53f756.3931.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddcf3d82aac54ebbfe69164e0064e9509cc09b8a18240bef755137661626b498
|
3 |
+
size 10006
|
runs/Feb19_09-11-16_a4027b53f756/events.out.tfevents.1708335102.a4027b53f756.3931.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e41b552e0182add38d0099dfb5f8984cd1301bd702ca0eed1529deadcb5d511c
|
3 |
+
size 508
|
runs/Feb19_09-52-48_a4027b53f756/events.out.tfevents.1708336376.a4027b53f756.3931.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c5533566c50b2c439ddf3800c4da1f92e1661894f1c186b065ac35b0afd389f
|
3 |
+
size 10006
|
runs/Feb19_09-52-48_a4027b53f756/events.out.tfevents.1708338957.a4027b53f756.3931.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1af0f8d92e572c908b162a3fad533a033a15da01aca9994fa96b0d0f6689c030
|
3 |
+
size 508
|
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,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c64f894a9888ec9d193474397c28acc9154e070264bae25477f0385b12f2b8d
|
3 |
+
size 17083580
|
tokenizer_config.json
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"250001": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"250002": {
|
45 |
+
"content": "[E1]",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": false
|
51 |
+
},
|
52 |
+
"250003": {
|
53 |
+
"content": "[/E1]",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": true,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": false
|
59 |
+
},
|
60 |
+
"250004": {
|
61 |
+
"content": "[E2]",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": true,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": false
|
67 |
+
},
|
68 |
+
"250005": {
|
69 |
+
"content": "[/E2]",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": true,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": false
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"bos_token": "<s>",
|
78 |
+
"clean_up_tokenization_spaces": true,
|
79 |
+
"cls_token": "<s>",
|
80 |
+
"eos_token": "</s>",
|
81 |
+
"mask_token": "<mask>",
|
82 |
+
"model_max_length": 512,
|
83 |
+
"pad_token": "<pad>",
|
84 |
+
"sep_token": "</s>",
|
85 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
86 |
+
"unk_token": "<unk>"
|
87 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b6c09b3d27c58481ec28a09158a4acd88c108c495b934a7aab9e88bc9261408
|
3 |
+
size 4664
|