josecannete
commited on
Commit
•
6c3a4e4
1
Parent(s):
182ae1b
uploading model
Browse files- README.md +15 -0
- config.json +32 -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 Large 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.000625
|
6 |
+
- Batch Size: 512
|
7 |
+
- Warmup ratio: 0.003125
|
8 |
+
- Warmup steps: 12500
|
9 |
+
- Goal steps: 4000000
|
10 |
+
- Total steps: 1450000
|
11 |
+
- Total training time (aprox): 42 days.
|
12 |
+
|
13 |
+
## Training loss
|
14 |
+
|
15 |
+
![https://drive.google.com/uc?export=view&id=10EiI0Yge3U3CnGrqoMs1yJY020pPz_Io](https://drive.google.com/uc?export=view&id=10EiI0Yge3U3CnGrqoMs1yJY020pPz_Io)
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "../convert_models/albert_large_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": 1024,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"inner_group_num": 1,
|
18 |
+
"intermediate_size": 4096,
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "albert",
|
22 |
+
"net_structure_type": 0,
|
23 |
+
"num_attention_heads": 16,
|
24 |
+
"num_hidden_groups": 1,
|
25 |
+
"num_hidden_layers": 24,
|
26 |
+
"num_memory_blocks": 0,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"position_embedding_type": "absolute",
|
29 |
+
"transformers_version": "4.8.2",
|
30 |
+
"type_vocab_size": 2,
|
31 |
+
"vocab_size": 31000
|
32 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58757ca5aa33bd46c5df9e5f7cb35dcd477e608cfc1e4bf2129e44d016f452ec
|
3 |
+
size 71923800
|
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:7baa782bcf0c19331b6abfaa041b91fc29a43f3179638248a18e858ce58ad2e6
|
3 |
+
size 88222800
|
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"}
|