martagrueso
commited on
Commit
•
ef7e998
1
Parent(s):
bdbe441
Training complete
Browse files- README.md +7 -7
- config.json +16 -13
- model.safetensors +2 -2
- special_tokens_map.json +11 -3
- spiece.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -17
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
tags:
|
4 |
- classification
|
5 |
- generated_from_trainer
|
@@ -15,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# clasificador-muchocine
|
17 |
|
18 |
-
This model is a fine-tuned version of [
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 1.
|
21 |
-
- Accuracy: 0.
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -49,9 +49,9 @@ The following hyperparameters were used during training:
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
-
| No log | 1.0 | 388 | 1.
|
53 |
-
| 1.
|
54 |
-
|
|
55 |
|
56 |
|
57 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
base_model: dccuchile/albert-base-spanish
|
3 |
tags:
|
4 |
- classification
|
5 |
- generated_from_trainer
|
|
|
15 |
|
16 |
# clasificador-muchocine
|
17 |
|
18 |
+
This model is a fine-tuned version of [dccuchile/albert-base-spanish](https://huggingface.co/dccuchile/albert-base-spanish) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.2835
|
21 |
+
- Accuracy: 0.4568
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| No log | 1.0 | 388 | 1.3371 | 0.4284 |
|
53 |
+
| 1.4336 | 2.0 | 776 | 1.2459 | 0.4503 |
|
54 |
+
| 1.0895 | 3.0 | 1164 | 1.2835 | 0.4568 |
|
55 |
|
56 |
|
57 |
### Framework versions
|
config.json
CHANGED
@@ -1,13 +1,17 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"attention_probs_dropout_prob": 0
|
7 |
-
"
|
8 |
-
"
|
|
|
|
|
|
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
-
"hidden_dropout_prob": 0
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
"0": "LABEL_0",
|
@@ -17,6 +21,7 @@
|
|
17 |
"4": "LABEL_4"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
|
|
20 |
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
"LABEL_0": 0,
|
@@ -27,19 +32,17 @@
|
|
27 |
},
|
28 |
"layer_norm_eps": 1e-12,
|
29 |
"max_position_embeddings": 512,
|
30 |
-
"model_type": "
|
|
|
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 |
-
"summary_activation": "gelu",
|
37 |
-
"summary_last_dropout": 0.1,
|
38 |
-
"summary_type": "first",
|
39 |
-
"summary_use_proj": true,
|
40 |
"torch_dtype": "float32",
|
41 |
"transformers_version": "4.35.2",
|
42 |
"type_vocab_size": 2,
|
43 |
-
"
|
44 |
-
"vocab_size": 31002
|
45 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dccuchile/albert-base-spanish",
|
3 |
"architectures": [
|
4 |
+
"AlbertForSequenceClassification"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"gap_size": 0,
|
13 |
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
"hidden_size": 768,
|
16 |
"id2label": {
|
17 |
"0": "LABEL_0",
|
|
|
21 |
"4": "LABEL_4"
|
22 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
+
"inner_group_num": 1,
|
25 |
"intermediate_size": 3072,
|
26 |
"label2id": {
|
27 |
"LABEL_0": 0,
|
|
|
32 |
},
|
33 |
"layer_norm_eps": 1e-12,
|
34 |
"max_position_embeddings": 512,
|
35 |
+
"model_type": "albert",
|
36 |
+
"net_structure_type": 0,
|
37 |
"num_attention_heads": 12,
|
38 |
+
"num_hidden_groups": 1,
|
39 |
"num_hidden_layers": 12,
|
40 |
+
"num_memory_blocks": 0,
|
41 |
"pad_token_id": 0,
|
42 |
"position_embedding_type": "absolute",
|
43 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
44 |
"torch_dtype": "float32",
|
45 |
"transformers_version": "4.35.2",
|
46 |
"type_vocab_size": 2,
|
47 |
+
"vocab_size": 31000
|
|
|
48 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6c6b504f249e5ac193bc36937eb1ebb4c7839b755d85716a4deecfce4b2e920
|
3 |
+
size 47265140
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,15 @@
|
|
1 |
{
|
|
|
2 |
"cls_token": "[CLS]",
|
3 |
-
"
|
4 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"sep_token": "[SEP]",
|
6 |
-
"unk_token": "
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "[MASK]",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
"sep_token": "[SEP]",
|
14 |
+
"unk_token": "<unk>"
|
15 |
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28c98d44f2c8ba92d861c8705ca4386454387ac7070fb00e9cd934f401387656
|
3 |
+
size 797897
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
-
"content": "
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
@@ -9,49 +9,49 @@
|
|
9 |
"special": true
|
10 |
},
|
11 |
"1": {
|
12 |
-
"content": "
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
-
"
|
20 |
-
"content": "[
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
-
"content": "[
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
-
"
|
36 |
-
"content": "[
|
37 |
-
"lstrip":
|
38 |
"normalized": false,
|
39 |
"rstrip": false,
|
40 |
"single_word": false,
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
|
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
46 |
-
"do_basic_tokenize": true,
|
47 |
"do_lower_case": true,
|
|
|
|
|
48 |
"mask_token": "[MASK]",
|
49 |
-
"model_max_length":
|
50 |
-
"
|
51 |
-
"
|
52 |
"sep_token": "[SEP]",
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"tokenizer_class": "ElectraTokenizer",
|
56 |
-
"unk_token": "[UNK]"
|
57 |
}
|
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
+
"content": "<pad>",
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
|
|
9 |
"special": true
|
10 |
},
|
11 |
"1": {
|
12 |
+
"content": "<unk>",
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
+
"2": {
|
20 |
+
"content": "[CLS]",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
+
"3": {
|
28 |
+
"content": "[SEP]",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": true,
|
38 |
"normalized": false,
|
39 |
"rstrip": false,
|
40 |
"single_word": false,
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
+
"bos_token": "[CLS]",
|
45 |
"clean_up_tokenization_spaces": true,
|
46 |
"cls_token": "[CLS]",
|
|
|
47 |
"do_lower_case": true,
|
48 |
+
"eos_token": "[SEP]",
|
49 |
+
"keep_accents": true,
|
50 |
"mask_token": "[MASK]",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"remove_space": true,
|
54 |
"sep_token": "[SEP]",
|
55 |
+
"tokenizer_class": "AlbertTokenizer",
|
56 |
+
"unk_token": "<unk>"
|
|
|
|
|
57 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4600
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9c185c58e6248b627764c0af8495172af6949791f2d62f47029958450f1c986
|
3 |
size 4600
|