End of training
Browse files- README.md +58 -0
- config.json +47 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: dccuchile/distilbert-base-spanish-uncased
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: bluesky-spanish-classifier
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# bluesky-spanish-classifier
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [dccuchile/distilbert-base-spanish-uncased](https://huggingface.co/dccuchile/distilbert-base-spanish-uncased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 2.1904
|
18 |
+
- Classification Report: {'ar': {'precision': 0.03571428571428571, 'recall': 0.00966183574879227, 'f1-score': 0.015209125475285171, 'support': 207.0}, 'cl': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 263.0}, 'co': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 171.0}, 'es': {'precision': 0.2221276595744681, 'recall': 0.786144578313253, 'f1-score': 0.34638354346383543, 'support': 332.0}, 'mx': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 203.0}, 'pe': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 161.0}, 'pr': {'precision': 0.010101010101010102, 'recall': 0.04, 'f1-score': 0.016129032258064516, 'support': 50.0}, 'uy': {'precision': 0.07142857142857142, 'recall': 0.05217391304347826, 'f1-score': 0.06030150753768844, 'support': 115.0}, 've': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 22.0}, 'accuracy': 0.1778215223097113, 'macro avg': {'precision': 0.03770794742425948, 'recall': 0.09866448078950261, 'f1-score': 0.04866924541498595, 'support': 1524.0}, 'weighted avg': {'precision': 0.05896232043367241, 'recall': 0.1778215223097113, 'f1-score': 0.08260416691805432, 'support': 1524.0}}
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 4
|
39 |
+
- eval_batch_size: 4
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- lr_scheduler_warmup_steps: 2
|
44 |
+
- training_steps: 2
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss | Classification Report |
|
49 |
+
|:-------------:|:------:|:----:|:---------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
50 |
+
| 2.0868 | 0.0022 | 2 | 2.1904 | {'ar': {'precision': 0.03571428571428571, 'recall': 0.00966183574879227, 'f1-score': 0.015209125475285171, 'support': 207.0}, 'cl': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 263.0}, 'co': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 171.0}, 'es': {'precision': 0.2221276595744681, 'recall': 0.786144578313253, 'f1-score': 0.34638354346383543, 'support': 332.0}, 'mx': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 203.0}, 'pe': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 161.0}, 'pr': {'precision': 0.010101010101010102, 'recall': 0.04, 'f1-score': 0.016129032258064516, 'support': 50.0}, 'uy': {'precision': 0.07142857142857142, 'recall': 0.05217391304347826, 'f1-score': 0.06030150753768844, 'support': 115.0}, 've': {'precision': 0.0, 'recall': 0.0, 'f1-score': 0.0, 'support': 22.0}, 'accuracy': 0.1778215223097113, 'macro avg': {'precision': 0.03770794742425948, 'recall': 0.09866448078950261, 'f1-score': 0.04866924541498595, 'support': 1524.0}, 'weighted avg': {'precision': 0.05896232043367241, 'recall': 0.1778215223097113, 'f1-score': 0.08260416691805432, 'support': 1524.0}} |
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- Transformers 4.40.0
|
56 |
+
- Pytorch 2.6.0
|
57 |
+
- Datasets 3.3.2
|
58 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dccuchile/distilbert-base-spanish-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "ar",
|
13 |
+
"1": "cl",
|
14 |
+
"2": "co",
|
15 |
+
"3": "es",
|
16 |
+
"4": "mx",
|
17 |
+
"5": "pe",
|
18 |
+
"6": "pr",
|
19 |
+
"7": "uy",
|
20 |
+
"8": "ve"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"label2id": {
|
24 |
+
"ar": 0,
|
25 |
+
"cl": 1,
|
26 |
+
"co": 2,
|
27 |
+
"es": 3,
|
28 |
+
"mx": 4,
|
29 |
+
"pe": 5,
|
30 |
+
"pr": 6,
|
31 |
+
"uy": 7,
|
32 |
+
"ve": 8
|
33 |
+
},
|
34 |
+
"max_position_embeddings": 512,
|
35 |
+
"model_type": "distilbert",
|
36 |
+
"n_heads": 12,
|
37 |
+
"n_layers": 6,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"problem_type": "single_label_classification",
|
40 |
+
"qa_dropout": 0.1,
|
41 |
+
"seq_classif_dropout": 0.2,
|
42 |
+
"sinusoidal_pos_embds": true,
|
43 |
+
"tie_weights_": true,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.40.0",
|
46 |
+
"vocab_size": 31002
|
47 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3f2f5c1f4883cc8a2a79c0416f0ce2222e6c44889cb4583ab083139c9c85b76
|
3 |
+
size 269328660
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[MASK]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"3": {
|
20 |
+
"content": "[UNK]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"4": {
|
28 |
+
"content": "[CLS]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"5": {
|
36 |
+
"content": "[SEP]",
|
37 |
+
"lstrip": false,
|
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": 512,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": false,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "DistilBertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13dc96ab2a6e490bd24dc84105ed78eb7583d16848e06ecfeff4aeac77acce6e
|
3 |
+
size 4984
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|