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: xlm-roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: scenario-NON-KD-SCR-COPY-CDF-CL-D2_data-cl-cardiff_cl_only_alpha
|
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-NON-KD-SCR-COPY-CDF-CL-D2_data-cl-cardiff_cl_only_alpha
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 6.4834
|
22 |
+
- Accuracy: 0.3758
|
23 |
+
- F1: 0.3692
|
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: 1123
|
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 | 1.1269 | 0.3302 | 0.2264 |
|
55 |
+
| 1.0552 | 2.17 | 500 | 1.4862 | 0.3673 | 0.3240 |
|
56 |
+
| 1.0552 | 3.26 | 750 | 2.0425 | 0.3580 | 0.3105 |
|
57 |
+
| 0.4849 | 4.35 | 1000 | 2.7827 | 0.3673 | 0.3562 |
|
58 |
+
| 0.4849 | 5.43 | 1250 | 2.3787 | 0.3804 | 0.3790 |
|
59 |
+
| 0.1731 | 6.52 | 1500 | 3.5404 | 0.3873 | 0.3523 |
|
60 |
+
| 0.1731 | 7.61 | 1750 | 4.1335 | 0.3765 | 0.3561 |
|
61 |
+
| 0.0878 | 8.7 | 2000 | 4.4114 | 0.375 | 0.3748 |
|
62 |
+
| 0.0878 | 9.78 | 2250 | 4.9951 | 0.3650 | 0.3587 |
|
63 |
+
| 0.036 | 10.87 | 2500 | 5.1386 | 0.3642 | 0.3569 |
|
64 |
+
| 0.036 | 11.96 | 2750 | 5.4524 | 0.3711 | 0.3499 |
|
65 |
+
| 0.0297 | 13.04 | 3000 | 5.4964 | 0.3681 | 0.3565 |
|
66 |
+
| 0.0297 | 14.13 | 3250 | 5.3291 | 0.3765 | 0.3709 |
|
67 |
+
| 0.0225 | 15.22 | 3500 | 5.6184 | 0.3719 | 0.3346 |
|
68 |
+
| 0.0225 | 16.3 | 3750 | 5.4079 | 0.3719 | 0.3466 |
|
69 |
+
| 0.0144 | 17.39 | 4000 | 5.6999 | 0.3634 | 0.3538 |
|
70 |
+
| 0.0144 | 18.48 | 4250 | 5.7290 | 0.3681 | 0.3575 |
|
71 |
+
| 0.007 | 19.57 | 4500 | 5.9349 | 0.3673 | 0.3272 |
|
72 |
+
| 0.007 | 20.65 | 4750 | 5.7265 | 0.3789 | 0.3760 |
|
73 |
+
| 0.0064 | 21.74 | 5000 | 6.1464 | 0.3611 | 0.3370 |
|
74 |
+
| 0.0064 | 22.83 | 5250 | 6.1483 | 0.3765 | 0.3678 |
|
75 |
+
| 0.0026 | 23.91 | 5500 | 6.3733 | 0.3742 | 0.3688 |
|
76 |
+
| 0.0026 | 25.0 | 5750 | 6.3795 | 0.3704 | 0.3498 |
|
77 |
+
| 0.002 | 26.09 | 6000 | 6.4692 | 0.3735 | 0.3582 |
|
78 |
+
| 0.002 | 27.17 | 6250 | 6.5994 | 0.3727 | 0.3448 |
|
79 |
+
| 0.0006 | 28.26 | 6500 | 6.4658 | 0.3758 | 0.3693 |
|
80 |
+
| 0.0006 | 29.35 | 6750 | 6.4834 | 0.3758 | 0.3692 |
|
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": "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 |
+
"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": 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:c4fbdf3288d213651b190b7a3d37b1ac05f48bee8a465cbb629b23e3e61685cc
|
3 |
+
size 942111086
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12ff3292f4ad6d95e04803cab8a7cadd7fc72deb3d10bbb22e3030805dfdc638
|
3 |
+
size 4600
|