josecannete
commited on
Commit
•
7925f91
1
Parent(s):
9dc6000
uploading model
Browse files- README.md +15 -0
- config.json +33 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- spiece.model +3 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
README.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ALBERT XXLarge Spanish
|
2 |
+
|
3 |
+
This is an [ALBERT](https://github.com/google-research/albert) model trained on a [big spanish corpora](https://github.com/josecannete/spanish-corpora).
|
4 |
+
The model was trained on a single TPU v3-8 with the following hyperparameters and steps/time:
|
5 |
+
- LR: 0.0003125
|
6 |
+
- Batch Size: 128
|
7 |
+
- Warmup ratio: 0.00078125
|
8 |
+
- Warmup steps: 3125
|
9 |
+
- Goal steps: 4000000
|
10 |
+
- Total steps: 1650000
|
11 |
+
- Total training time (aprox): 70.7 days.
|
12 |
+
|
13 |
+
## Training loss
|
14 |
+
|
15 |
+
![https://drive.google.com/uc?export=view&id=1a9MHsk-QwBuCMtyDyRvZ5mv9Mzl2dWCn](https://drive.google.com/uc?export=view&id=1a9MHsk-QwBuCMtyDyRvZ5mv9Mzl2dWCn)
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "../convert_models/albert_xxlarge_spanish/converted",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForPreTraining"
|
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": 4096,
|
16 |
+
"initializer_range": 0.01,
|
17 |
+
"inner_group_num": 1,
|
18 |
+
"intermediate_size": 16384,
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"layers_to_keep": [],
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "albert",
|
23 |
+
"net_structure_type": 0,
|
24 |
+
"num_attention_heads": 64,
|
25 |
+
"num_hidden_groups": 1,
|
26 |
+
"num_hidden_layers": 12,
|
27 |
+
"num_memory_blocks": 0,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"position_embedding_type": "absolute",
|
30 |
+
"transformers_version": "4.8.2",
|
31 |
+
"type_vocab_size": 2,
|
32 |
+
"vocab_size": 31000
|
33 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05905836b743ca4e9f46223579b335a5ef7f2dc17fc59863534b65314a5e2feb
|
3 |
+
size 893167704
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28c98d44f2c8ba92d861c8705ca4386454387ac7070fb00e9cd934f401387656
|
3 |
+
size 797897
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6619206875f34d93cd227ac46c3d536fa2b4b8b25007acf5f1facb6a56b4d20
|
3 |
+
size 909466704
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "remove_space": true, "keep_accents": true, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "../albert_tiny", "tokenizer_class": "AlbertTokenizer"}
|