javier-rooster
commited on
Commit
·
3589b14
1
Parent(s):
c48e18d
End of training
Browse files- README.md +85 -0
- config.json +27 -0
- generation_config.json +5 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +16 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: dccuchile/bert-base-spanish-wwm-uncased
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: bert_adaptation_martin_fierro
|
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 |
+
# bert_adaptation_martin_fierro
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-uncased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 3.3589
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 2e-05
|
37 |
+
- train_batch_size: 64
|
38 |
+
- eval_batch_size: 64
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: linear
|
42 |
+
- num_epochs: 30
|
43 |
+
|
44 |
+
### Training results
|
45 |
+
|
46 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
47 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
48 |
+
| 5.7247 | 1.0 | 29 | 5.0114 |
|
49 |
+
| 4.7766 | 2.0 | 58 | 4.5598 |
|
50 |
+
| 4.3216 | 3.0 | 87 | 4.3656 |
|
51 |
+
| 4.0132 | 4.0 | 116 | 4.5464 |
|
52 |
+
| 3.8366 | 5.0 | 145 | 4.0157 |
|
53 |
+
| 3.7597 | 6.0 | 174 | 3.8641 |
|
54 |
+
| 3.6244 | 7.0 | 203 | 3.7634 |
|
55 |
+
| 3.6043 | 8.0 | 232 | 3.9174 |
|
56 |
+
| 3.4767 | 9.0 | 261 | 3.7874 |
|
57 |
+
| 3.2991 | 10.0 | 290 | 3.8620 |
|
58 |
+
| 3.3156 | 11.0 | 319 | 3.6171 |
|
59 |
+
| 3.1485 | 12.0 | 348 | 3.7967 |
|
60 |
+
| 3.0732 | 13.0 | 377 | 3.3494 |
|
61 |
+
| 3.0403 | 14.0 | 406 | 3.6496 |
|
62 |
+
| 2.9722 | 15.0 | 435 | 3.9632 |
|
63 |
+
| 2.9535 | 16.0 | 464 | 3.4333 |
|
64 |
+
| 2.9057 | 17.0 | 493 | 3.9740 |
|
65 |
+
| 2.724 | 18.0 | 522 | 3.8314 |
|
66 |
+
| 2.885 | 19.0 | 551 | 3.7820 |
|
67 |
+
| 2.861 | 20.0 | 580 | 3.6939 |
|
68 |
+
| 2.8194 | 21.0 | 609 | 3.9656 |
|
69 |
+
| 2.7182 | 22.0 | 638 | 3.8121 |
|
70 |
+
| 2.6446 | 23.0 | 667 | 3.8670 |
|
71 |
+
| 2.6841 | 24.0 | 696 | 3.6597 |
|
72 |
+
| 2.793 | 25.0 | 725 | 3.8053 |
|
73 |
+
| 2.7631 | 26.0 | 754 | 4.1065 |
|
74 |
+
| 2.5897 | 27.0 | 783 | 3.7100 |
|
75 |
+
| 2.6229 | 28.0 | 812 | 3.7801 |
|
76 |
+
| 2.6084 | 29.0 | 841 | 3.7222 |
|
77 |
+
| 2.634 | 30.0 | 870 | 3.6621 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.33.1
|
83 |
+
- Pytorch 2.0.1+cu118
|
84 |
+
- Datasets 2.14.5
|
85 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dccuchile/bert-base-spanish-wwm-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForMaskedLM"
|
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 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"output_past": true,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.33.1",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 31002
|
27 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"pad_token_id": 1,
|
4 |
+
"transformers_version": "4.33.1"
|
5 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b02d741c44767f8281251c7f7cbb0d5c301cbdb3fbe35c462ecb082f6006fbd
|
3 |
+
size 439602613
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"TOKENIZERS_PARALLELISM": false,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "[CLS]",
|
5 |
+
"do_basic_tokenize": true,
|
6 |
+
"do_lower_case": true,
|
7 |
+
"mask_token": "[MASK]",
|
8 |
+
"model_max_length": 512,
|
9 |
+
"never_split": null,
|
10 |
+
"pad_token": "[PAD]",
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"strip_accents": false,
|
13 |
+
"tokenize_chinese_chars": true,
|
14 |
+
"tokenizer_class": "BertTokenizer",
|
15 |
+
"unk_token": "[UNK]"
|
16 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc77529401cabb5f212cbb4ff4dff3b2a7ccef730ec8a34ad2942771033516f8
|
3 |
+
size 4027
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|