Armandodelca
commited on
End of training
Browse files- README.md +80 -0
- config.json +42 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: dccuchile/bert-base-spanish-wwm-cased
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- f1
|
8 |
+
- recall
|
9 |
+
model-index:
|
10 |
+
- name: ClasificadorV2
|
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 |
+
# ClasificadorV2
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-cased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.1411
|
22 |
+
- Accuracy: 0.5708
|
23 |
+
- Off By One Accuracy: 0.9434
|
24 |
+
- F1: 0.5724
|
25 |
+
- Recall: 0.5708
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 2e-05
|
45 |
+
- train_batch_size: 50
|
46 |
+
- eval_batch_size: 50
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- lr_scheduler_warmup_steps: 500
|
51 |
+
- num_epochs: 5
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Off By One Accuracy | F1 | Recall |
|
57 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:-------------------:|:------:|:------:|
|
58 |
+
| 1.2177 | 0.3333 | 500 | 1.0309 | 0.5426 | 0.93 | 0.5414 | 0.5426 |
|
59 |
+
| 1.011 | 0.6667 | 1000 | 0.9836 | 0.565 | 0.9336 | 0.5485 | 0.565 |
|
60 |
+
| 0.9833 | 1.0 | 1500 | 0.9664 | 0.5752 | 0.9448 | 0.5704 | 0.5752 |
|
61 |
+
| 0.9004 | 1.3333 | 2000 | 0.9566 | 0.5728 | 0.9476 | 0.5743 | 0.5728 |
|
62 |
+
| 0.8974 | 1.6667 | 2500 | 0.9583 | 0.5782 | 0.9472 | 0.5784 | 0.5782 |
|
63 |
+
| 0.8912 | 2.0 | 3000 | 0.9480 | 0.5816 | 0.9498 | 0.5768 | 0.5816 |
|
64 |
+
| 0.7935 | 2.3333 | 3500 | 0.9768 | 0.582 | 0.9472 | 0.5800 | 0.582 |
|
65 |
+
| 0.7898 | 2.6667 | 4000 | 0.9831 | 0.5716 | 0.9426 | 0.5715 | 0.5716 |
|
66 |
+
| 0.7801 | 3.0 | 4500 | 0.9969 | 0.5736 | 0.9514 | 0.5759 | 0.5736 |
|
67 |
+
| 0.6714 | 3.3333 | 5000 | 1.0782 | 0.5826 | 0.9392 | 0.5795 | 0.5826 |
|
68 |
+
| 0.6783 | 3.6667 | 5500 | 1.0672 | 0.5724 | 0.9456 | 0.5752 | 0.5724 |
|
69 |
+
| 0.6764 | 4.0 | 6000 | 1.0762 | 0.567 | 0.9458 | 0.5708 | 0.567 |
|
70 |
+
| 0.5986 | 4.3333 | 6500 | 1.1349 | 0.5698 | 0.9412 | 0.5684 | 0.5698 |
|
71 |
+
| 0.5887 | 4.6667 | 7000 | 1.1335 | 0.5706 | 0.9398 | 0.5716 | 0.5706 |
|
72 |
+
| 0.5798 | 5.0 | 7500 | 1.1411 | 0.5708 | 0.9434 | 0.5724 | 0.5708 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.40.2
|
78 |
+
- Pytorch 2.2.1+cu121
|
79 |
+
- Datasets 2.19.1
|
80 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dccuchile/bert-base-spanish-wwm-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.5,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.5,
|
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 |
+
"output_past": true,
|
34 |
+
"pad_token_id": 1,
|
35 |
+
"position_embedding_type": "absolute",
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.40.2",
|
39 |
+
"type_vocab_size": 2,
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 31002
|
42 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86d01608eb9ae8e10b0d16985182076dec4edafa9c88c7e922727d791d5ac4e5
|
3 |
+
size 439442436
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:234391ad8ddb9aa33f4b4a3944956f27eb165690a7d4b9c3cbfbc48176d3acbe
|
3 |
+
size 4920
|