Initial Commit
Browse files- README.md +88 -0
- config.json +39 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: FacebookAI/xlm-roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: scenario-KD-PR-MSV-D2_data-cl-cardiff_cl_only_alpha-jason
|
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-KD-PR-MSV-D2_data-cl-cardiff_cl_only_alpha-jason
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 16.2447
|
22 |
+
- Accuracy: 0.3866
|
23 |
+
- F1: 0.3858
|
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: 2222
|
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.09 | 250 | 12.0259 | 0.3449 | 0.3171 |
|
55 |
+
| 14.0331 | 2.17 | 500 | 11.3284 | 0.3819 | 0.3694 |
|
56 |
+
| 14.0331 | 3.26 | 750 | 11.1163 | 0.3951 | 0.3941 |
|
57 |
+
| 11.7619 | 4.35 | 1000 | 11.5284 | 0.3796 | 0.3733 |
|
58 |
+
| 11.7619 | 5.43 | 1250 | 11.3713 | 0.4174 | 0.4154 |
|
59 |
+
| 9.9697 | 6.52 | 1500 | 11.7460 | 0.3850 | 0.3770 |
|
60 |
+
| 9.9697 | 7.61 | 1750 | 12.6216 | 0.3927 | 0.3863 |
|
61 |
+
| 8.7178 | 8.7 | 2000 | 12.5277 | 0.4020 | 0.4005 |
|
62 |
+
| 8.7178 | 9.78 | 2250 | 11.8300 | 0.3912 | 0.3911 |
|
63 |
+
| 7.7259 | 10.87 | 2500 | 12.7404 | 0.4051 | 0.4035 |
|
64 |
+
| 7.7259 | 11.96 | 2750 | 13.6012 | 0.4051 | 0.4037 |
|
65 |
+
| 6.6383 | 13.04 | 3000 | 14.1112 | 0.3912 | 0.3884 |
|
66 |
+
| 6.6383 | 14.13 | 3250 | 14.0430 | 0.3920 | 0.3881 |
|
67 |
+
| 5.7088 | 15.22 | 3500 | 13.9183 | 0.3966 | 0.3951 |
|
68 |
+
| 5.7088 | 16.3 | 3750 | 14.5237 | 0.3904 | 0.3858 |
|
69 |
+
| 5.1104 | 17.39 | 4000 | 15.0371 | 0.4012 | 0.4011 |
|
70 |
+
| 5.1104 | 18.48 | 4250 | 15.4539 | 0.3866 | 0.3814 |
|
71 |
+
| 4.587 | 19.57 | 4500 | 14.4770 | 0.3989 | 0.3982 |
|
72 |
+
| 4.587 | 20.65 | 4750 | 15.9417 | 0.4136 | 0.4103 |
|
73 |
+
| 4.1118 | 21.74 | 5000 | 15.0406 | 0.3966 | 0.3966 |
|
74 |
+
| 4.1118 | 22.83 | 5250 | 16.1274 | 0.4020 | 0.4016 |
|
75 |
+
| 3.7338 | 23.91 | 5500 | 15.8530 | 0.3858 | 0.3835 |
|
76 |
+
| 3.7338 | 25.0 | 5750 | 16.3221 | 0.4090 | 0.4074 |
|
77 |
+
| 3.4628 | 26.09 | 6000 | 16.5572 | 0.4028 | 0.4017 |
|
78 |
+
| 3.4628 | 27.17 | 6250 | 16.4879 | 0.3881 | 0.3868 |
|
79 |
+
| 3.3012 | 28.26 | 6500 | 16.4834 | 0.3997 | 0.3995 |
|
80 |
+
| 3.3012 | 29.35 | 6750 | 16.2447 | 0.3866 | 0.3858 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.33.3
|
86 |
+
- Pytorch 2.1.1+cu121
|
87 |
+
- Datasets 2.14.5
|
88 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassificationKD"
|
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": 384,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 1536,
|
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": 6,
|
30 |
+
"output_past": true,
|
31 |
+
"pad_token_id": 1,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"problem_type": "single_label_classification",
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.33.3",
|
36 |
+
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 250002
|
39 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:041d4b45031c01f3dd66bec069214bf84905c711c8096a8caacb313a9513d866
|
3 |
+
size 429199798
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f22ebf3c5e9dfdb2b7ed5163db8d2e6a4519f47751d688df568f26f2e10552c1
|
3 |
+
size 4600
|