IParraMartin
commited on
Commit
•
224eb8d
1
Parent(s):
9939108
IParraMartin/XLM-EusBERTa-sentiment-classification
Browse files- README.md +78 -0
- config.json +39 -0
- model.safetensors +3 -0
- runs/Dec21_19-56-19_37a4f5554ef6/events.out.tfevents.1703188584.37a4f5554ef6.2758.2 +3 -0
- tokenizer.json +0 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: IParraMartin/XLM-EusBERTa-V1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- basque_glue
|
8 |
+
model-index:
|
9 |
+
- name: XLM-EusBERTa-sentiment-classification
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# XLM-EusBERTa-sentiment-classification
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [IParraMartin/XLM-EusBERTa-V1](https://huggingface.co/IParraMartin/XLM-EusBERTa-V1) on the basque_glue dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.0882
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 0.0001
|
40 |
+
- train_batch_size: 8
|
41 |
+
- eval_batch_size: 8
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 20
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
51 |
+
| 1.106 | 1.0 | 760 | 1.0912 |
|
52 |
+
| 1.1012 | 2.0 | 1520 | 1.0923 |
|
53 |
+
| 1.1021 | 3.0 | 2280 | 1.0906 |
|
54 |
+
| 1.1026 | 4.0 | 3040 | 1.0890 |
|
55 |
+
| 1.099 | 5.0 | 3800 | 1.0897 |
|
56 |
+
| 1.0989 | 6.0 | 4560 | 1.0892 |
|
57 |
+
| 1.0958 | 7.0 | 5320 | 1.0883 |
|
58 |
+
| 1.0972 | 8.0 | 6080 | 1.0891 |
|
59 |
+
| 1.0929 | 9.0 | 6840 | 1.0989 |
|
60 |
+
| 1.0967 | 10.0 | 7600 | 1.0918 |
|
61 |
+
| 1.0884 | 11.0 | 8360 | 1.0894 |
|
62 |
+
| 1.0921 | 12.0 | 9120 | 1.0898 |
|
63 |
+
| 1.0934 | 13.0 | 9880 | 1.0894 |
|
64 |
+
| 1.0911 | 14.0 | 10640 | 1.0891 |
|
65 |
+
| 1.0907 | 15.0 | 11400 | 1.0889 |
|
66 |
+
| 1.0952 | 16.0 | 12160 | 1.0909 |
|
67 |
+
| 1.0865 | 17.0 | 12920 | 1.0883 |
|
68 |
+
| 1.0916 | 18.0 | 13680 | 1.0884 |
|
69 |
+
| 1.0919 | 19.0 | 14440 | 1.0883 |
|
70 |
+
| 1.0899 | 20.0 | 15200 | 1.0882 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.35.2
|
76 |
+
- Pytorch 2.1.0+cu121
|
77 |
+
- Datasets 2.15.0
|
78 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "IParraMartin/XLM-EusBERTa-V1",
|
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 |
+
"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.35.2",
|
36 |
+
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 250002
|
39 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ebfb484ae99646b74f8fe95940723d781738f1f548c9cb6f8aa51e87d688b0b
|
3 |
+
size 1112208084
|
runs/Dec21_19-56-19_37a4f5554ef6/events.out.tfevents.1703188584.37a4f5554ef6.2758.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:762b45c14ae585ab8475f5e935808e9e9a834cc5340e8ef79b1a3f87925812e7
|
3 |
+
size 14984
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad95bd0fdf4fd89722412d3ea233186cb61675efa44062f9134e771cf500a8b4
|
3 |
+
size 4600
|