Commit
·
63dafe7
1
Parent(s):
65cb2c0
Upload TFDistilBertForMaskedLM
Browse files- README.md +72 -0
- config.json +24 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: bert-salvadoran-news
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
+
probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# bert-salvadoran-news
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 1.4210
|
18 |
+
- Validation Loss: 1.5456
|
19 |
+
- Epoch: 19
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
39 |
+
- training_precision: float32
|
40 |
+
|
41 |
+
### Training results
|
42 |
+
|
43 |
+
| Train Loss | Validation Loss | Epoch |
|
44 |
+
|:----------:|:---------------:|:-----:|
|
45 |
+
| 2.1106 | 1.9331 | 0 |
|
46 |
+
| 1.9666 | 1.7924 | 1 |
|
47 |
+
| 1.8643 | 1.7777 | 2 |
|
48 |
+
| 1.8090 | 1.7018 | 3 |
|
49 |
+
| 1.7668 | 1.7372 | 4 |
|
50 |
+
| 1.7337 | 1.6726 | 5 |
|
51 |
+
| 1.6948 | 1.6624 | 6 |
|
52 |
+
| 1.6584 | 1.6863 | 7 |
|
53 |
+
| 1.6232 | 1.6174 | 8 |
|
54 |
+
| 1.5996 | 1.6399 | 9 |
|
55 |
+
| 1.5805 | 1.5340 | 10 |
|
56 |
+
| 1.5622 | 1.6202 | 11 |
|
57 |
+
| 1.5124 | 1.6176 | 12 |
|
58 |
+
| 1.5150 | 1.5644 | 13 |
|
59 |
+
| 1.5151 | 1.6002 | 14 |
|
60 |
+
| 1.4730 | 1.5746 | 15 |
|
61 |
+
| 1.4538 | 1.5536 | 16 |
|
62 |
+
| 1.4507 | 1.5537 | 17 |
|
63 |
+
| 1.4476 | 1.5450 | 18 |
|
64 |
+
| 1.4210 | 1.5456 | 19 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.24.0
|
70 |
+
- TensorFlow 2.9.2
|
71 |
+
- Datasets 2.7.1
|
72 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-multilingual-cased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForMaskedLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
16 |
+
"output_past": true,
|
17 |
+
"pad_token_id": 0,
|
18 |
+
"qa_dropout": 0.1,
|
19 |
+
"seq_classif_dropout": 0.2,
|
20 |
+
"sinusoidal_pos_embds": false,
|
21 |
+
"tie_weights_": true,
|
22 |
+
"transformers_version": "4.24.0",
|
23 |
+
"vocab_size": 119547
|
24 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee1e977b283a62cc7704c9a18e46a6d525a7073131354f791e82067dc9b643d5
|
3 |
+
size 910749380
|