Model save
Browse files
README.md
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: modelo-epico
|
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 |
+
# modelo-epico
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.2257
|
21 |
+
- Accuracy: 0.6
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 5
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 1.6677 | 0.1 | 5 | 1.5904 | 0.2 |
|
53 |
+
| 1.6574 | 0.2 | 10 | 1.6043 | 0.2 |
|
54 |
+
| 1.6257 | 0.3 | 15 | 1.5648 | 0.25 |
|
55 |
+
| 1.6168 | 0.4 | 20 | 1.5907 | 0.275 |
|
56 |
+
| 1.569 | 0.5 | 25 | 1.5746 | 0.275 |
|
57 |
+
| 1.5479 | 0.6 | 30 | 1.5310 | 0.275 |
|
58 |
+
| 1.5693 | 0.7 | 35 | 1.4761 | 0.35 |
|
59 |
+
| 1.4442 | 0.8 | 40 | 1.4862 | 0.325 |
|
60 |
+
| 1.4322 | 0.9 | 45 | 1.4651 | 0.325 |
|
61 |
+
| 1.4132 | 1.0 | 50 | 1.3922 | 0.25 |
|
62 |
+
| 1.2111 | 1.1 | 55 | 1.2754 | 0.5 |
|
63 |
+
| 1.2534 | 1.2 | 60 | 1.3157 | 0.35 |
|
64 |
+
| 1.3622 | 1.3 | 65 | 1.5002 | 0.275 |
|
65 |
+
| 1.224 | 1.4 | 70 | 1.6893 | 0.25 |
|
66 |
+
| 1.3443 | 1.5 | 75 | 1.5709 | 0.325 |
|
67 |
+
| 1.4062 | 1.6 | 80 | 1.5901 | 0.275 |
|
68 |
+
| 1.6972 | 1.7 | 85 | 1.6217 | 0.175 |
|
69 |
+
| 1.5011 | 1.8 | 90 | 1.4320 | 0.3 |
|
70 |
+
| 1.2093 | 1.9 | 95 | 1.4006 | 0.375 |
|
71 |
+
| 1.1032 | 2.0 | 100 | 1.4851 | 0.3 |
|
72 |
+
| 1.1088 | 2.1 | 105 | 1.5357 | 0.225 |
|
73 |
+
| 1.0199 | 2.2 | 110 | 1.3272 | 0.4 |
|
74 |
+
| 0.8264 | 2.3 | 115 | 1.2645 | 0.425 |
|
75 |
+
| 0.882 | 2.4 | 120 | 1.2772 | 0.425 |
|
76 |
+
| 0.9676 | 2.5 | 125 | 1.2152 | 0.6 |
|
77 |
+
| 0.9234 | 2.6 | 130 | 1.1970 | 0.55 |
|
78 |
+
| 0.9638 | 2.7 | 135 | 1.2324 | 0.525 |
|
79 |
+
| 0.8617 | 2.8 | 140 | 1.2457 | 0.65 |
|
80 |
+
| 0.783 | 2.9 | 145 | 1.2522 | 0.6 |
|
81 |
+
| 0.8607 | 3.0 | 150 | 1.1974 | 0.575 |
|
82 |
+
| 0.6252 | 3.1 | 155 | 1.2007 | 0.6 |
|
83 |
+
| 0.6922 | 3.2 | 160 | 1.3761 | 0.425 |
|
84 |
+
| 0.4611 | 3.3 | 165 | 1.1633 | 0.6 |
|
85 |
+
| 0.534 | 3.4 | 170 | 1.1376 | 0.55 |
|
86 |
+
| 0.4077 | 3.5 | 175 | 1.1891 | 0.55 |
|
87 |
+
| 0.4847 | 3.6 | 180 | 1.2391 | 0.55 |
|
88 |
+
| 0.573 | 3.7 | 185 | 1.3569 | 0.55 |
|
89 |
+
| 0.4307 | 3.8 | 190 | 1.2758 | 0.55 |
|
90 |
+
| 0.4476 | 3.9 | 195 | 1.1952 | 0.625 |
|
91 |
+
| 0.5455 | 4.0 | 200 | 1.1454 | 0.575 |
|
92 |
+
| 0.3741 | 4.1 | 205 | 1.1856 | 0.6 |
|
93 |
+
| 0.2889 | 4.2 | 210 | 1.2064 | 0.575 |
|
94 |
+
| 0.2342 | 4.3 | 215 | 1.1740 | 0.6 |
|
95 |
+
| 0.1775 | 4.4 | 220 | 1.1550 | 0.575 |
|
96 |
+
| 0.2052 | 4.5 | 225 | 1.2035 | 0.575 |
|
97 |
+
| 0.2276 | 4.6 | 230 | 1.1959 | 0.6 |
|
98 |
+
| 0.17 | 4.7 | 235 | 1.1827 | 0.625 |
|
99 |
+
| 0.2608 | 4.8 | 240 | 1.2152 | 0.6 |
|
100 |
+
| 0.3476 | 4.9 | 245 | 1.2261 | 0.6 |
|
101 |
+
| 0.3617 | 5.0 | 250 | 1.2257 | 0.6 |
|
102 |
+
|
103 |
+
|
104 |
+
### Framework versions
|
105 |
+
|
106 |
+
- Transformers 4.38.2
|
107 |
+
- Pytorch 2.2.1+cu121
|
108 |
+
- Datasets 2.18.0
|
109 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0,
|
23 |
+
"LABEL_1": 1,
|
24 |
+
"LABEL_2": 2,
|
25 |
+
"LABEL_3": 3,
|
26 |
+
"LABEL_4": 4
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-12,
|
29 |
+
"max_position_embeddings": 512,
|
30 |
+
"model_type": "bert",
|
31 |
+
"num_attention_heads": 12,
|
32 |
+
"num_hidden_layers": 12,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"position_embedding_type": "absolute",
|
35 |
+
"problem_type": "single_label_classification",
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.38.2",
|
38 |
+
"type_vocab_size": 2,
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 28996
|
41 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33b5f6c2e84592c3854cd5e39fb7bb129b1a6533f0b2d1cd796404c4fcda2192
|
3 |
+
size 433279996
|
runs/Apr02_01-34-37_439a824dba9a/events.out.tfevents.1712021834.439a824dba9a.1895.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44adf9368c7bd34aa82f9e0c0f22b6e63e19f1ac9cc090df759bfafe116e1d62
|
3 |
+
size 6159
|
runs/Apr02_01-38-41_439a824dba9a/events.out.tfevents.1712021932.439a824dba9a.1895.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0f2908c39c14ecce55bb8076c00bc7bf6da2aec72f77ffd84c9cc2cf2417dec
|
3 |
+
size 31616
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c754853dbfd454701c4c5b63e0b9ac281779112a043fb5c442c2cbb96a0bdf1e
|
3 |
+
size 4856
|