Initial Commit
Browse files- README.md +90 -0
- config.json +38 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/xlm-v-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: scenario-TCR-XLMV_data-en-cardiff_eng_only_gamma2
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# scenario-TCR-XLMV_data-en-cardiff_eng_only_gamma2
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [facebook/xlm-v-base](https://huggingface.co/facebook/xlm-v-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 3.4094
|
22 |
+
- Accuracy: 0.5516
|
23 |
+
- F1: 0.5553
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 5e-05
|
43 |
+
- train_batch_size: 32
|
44 |
+
- eval_batch_size: 32
|
45 |
+
- seed: 77
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 30
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
54 |
+
| No log | 1.03 | 60 | 1.0398 | 0.4828 | 0.3902 |
|
55 |
+
| No log | 2.07 | 120 | 1.1798 | 0.4489 | 0.3679 |
|
56 |
+
| No log | 3.1 | 180 | 1.0463 | 0.4868 | 0.4351 |
|
57 |
+
| No log | 4.14 | 240 | 1.0244 | 0.5622 | 0.5553 |
|
58 |
+
| No log | 5.17 | 300 | 1.0819 | 0.5595 | 0.5478 |
|
59 |
+
| No log | 6.21 | 360 | 1.4170 | 0.5410 | 0.5407 |
|
60 |
+
| No log | 7.24 | 420 | 1.4249 | 0.5617 | 0.5653 |
|
61 |
+
| No log | 8.28 | 480 | 1.6285 | 0.5626 | 0.5627 |
|
62 |
+
| 0.6824 | 9.31 | 540 | 1.8719 | 0.5494 | 0.5516 |
|
63 |
+
| 0.6824 | 10.34 | 600 | 1.9037 | 0.5547 | 0.5574 |
|
64 |
+
| 0.6824 | 11.38 | 660 | 1.7645 | 0.5494 | 0.5516 |
|
65 |
+
| 0.6824 | 12.41 | 720 | 2.0301 | 0.5437 | 0.5459 |
|
66 |
+
| 0.6824 | 13.45 | 780 | 2.6619 | 0.5317 | 0.5330 |
|
67 |
+
| 0.6824 | 14.48 | 840 | 2.5606 | 0.5498 | 0.5520 |
|
68 |
+
| 0.6824 | 15.52 | 900 | 2.9065 | 0.5326 | 0.5347 |
|
69 |
+
| 0.6824 | 16.55 | 960 | 2.6860 | 0.5564 | 0.5597 |
|
70 |
+
| 0.132 | 17.59 | 1020 | 2.9277 | 0.5476 | 0.5495 |
|
71 |
+
| 0.132 | 18.62 | 1080 | 3.1905 | 0.5441 | 0.5472 |
|
72 |
+
| 0.132 | 19.66 | 1140 | 2.9974 | 0.5410 | 0.5446 |
|
73 |
+
| 0.132 | 20.69 | 1200 | 2.8902 | 0.5556 | 0.5575 |
|
74 |
+
| 0.132 | 21.72 | 1260 | 3.2156 | 0.5401 | 0.5432 |
|
75 |
+
| 0.132 | 22.76 | 1320 | 3.2772 | 0.5472 | 0.5501 |
|
76 |
+
| 0.132 | 23.79 | 1380 | 3.2211 | 0.5551 | 0.5569 |
|
77 |
+
| 0.132 | 24.83 | 1440 | 3.3844 | 0.5423 | 0.5450 |
|
78 |
+
| 0.0295 | 25.86 | 1500 | 3.3534 | 0.5494 | 0.5531 |
|
79 |
+
| 0.0295 | 26.9 | 1560 | 3.4030 | 0.5498 | 0.5534 |
|
80 |
+
| 0.0295 | 27.93 | 1620 | 3.4206 | 0.5511 | 0.5547 |
|
81 |
+
| 0.0295 | 28.97 | 1680 | 3.4273 | 0.5529 | 0.5565 |
|
82 |
+
| 0.0295 | 30.0 | 1740 | 3.4094 | 0.5516 | 0.5553 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.33.3
|
88 |
+
- Pytorch 2.1.1+cu121
|
89 |
+
- Datasets 2.14.5
|
90 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/xlm-v-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 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"LABEL_0": 0,
|
22 |
+
"LABEL_1": 1,
|
23 |
+
"LABEL_2": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-05,
|
26 |
+
"max_position_embeddings": 514,
|
27 |
+
"model_type": "xlm-roberta",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.33.3",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 901629
|
38 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:859802c10f5662fddb8d7e9b737f36224b03b94099b7882f0bd206f9729e30e9
|
3 |
+
size 3114051374
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8e0f25bdc270a07c6039dd573c8f2f08eea4b58cedf5948f548035c2996e7c7
|
3 |
+
size 4600
|