Commit
·
1c53478
1
Parent(s):
d15fb90
Upload tiny models for TransfoXLModel
Browse files- config.json +45 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +18 -0
- vocab.pkl +3 -0
config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "tiny_models/transfo-xl/TransfoXLModel",
|
| 3 |
+
"adaptive": true,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"TransfoXLModel"
|
| 6 |
+
],
|
| 7 |
+
"attn_type": 0,
|
| 8 |
+
"clamp_len": 15,
|
| 9 |
+
"cutoffs": [
|
| 10 |
+
10,
|
| 11 |
+
50,
|
| 12 |
+
80
|
| 13 |
+
],
|
| 14 |
+
"d_embed": 32,
|
| 15 |
+
"d_head": 8,
|
| 16 |
+
"d_inner": 128,
|
| 17 |
+
"d_model": 32,
|
| 18 |
+
"div_val": 2,
|
| 19 |
+
"dropatt": 0.0,
|
| 20 |
+
"dropout": 0.1,
|
| 21 |
+
"eos_token_id": 0,
|
| 22 |
+
"init": "normal",
|
| 23 |
+
"init_range": 0.01,
|
| 24 |
+
"init_std": 0.02,
|
| 25 |
+
"layer_norm_epsilon": 1e-05,
|
| 26 |
+
"mem_len": 30,
|
| 27 |
+
"model_type": "transfo-xl",
|
| 28 |
+
"n_head": 4,
|
| 29 |
+
"n_layer": 5,
|
| 30 |
+
"pad_token_id": 267734,
|
| 31 |
+
"pre_lnorm": false,
|
| 32 |
+
"proj_init_std": 0.01,
|
| 33 |
+
"same_length": true,
|
| 34 |
+
"sample_softmax": -1,
|
| 35 |
+
"tie_projs": [
|
| 36 |
+
false,
|
| 37 |
+
true,
|
| 38 |
+
true,
|
| 39 |
+
true
|
| 40 |
+
],
|
| 41 |
+
"torch_dtype": "float32",
|
| 42 |
+
"transformers_version": "4.28.0.dev0",
|
| 43 |
+
"untie_r": true,
|
| 44 |
+
"vocab_size": 267735
|
| 45 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f56e3270cbef7d7dcf5a21ffdcd30acef5cf9aef4877bd90ccba36a204155557
|
| 3 |
+
size 4590863
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<formula>"
|
| 4 |
+
],
|
| 5 |
+
"eos_token": "<eos>",
|
| 6 |
+
"unk_token": "<unk>"
|
| 7 |
+
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24d8bb27f824290ff5a8f7dac8f00a86155679df6f79efa0ab301dbd06f97242
|
| 3 |
+
size 4662432
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<formula>"
|
| 4 |
+
],
|
| 5 |
+
"clean_up_tokenization_spaces": true,
|
| 6 |
+
"delimiter": null,
|
| 7 |
+
"eos_token": "<eos>",
|
| 8 |
+
"language": "en",
|
| 9 |
+
"lower_case": false,
|
| 10 |
+
"max_size": null,
|
| 11 |
+
"min_freq": 0,
|
| 12 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 13 |
+
"never_split": null,
|
| 14 |
+
"special": null,
|
| 15 |
+
"special_tokens_map_file": null,
|
| 16 |
+
"tokenizer_class": "TransfoXLTokenizer",
|
| 17 |
+
"unk_token": "<unk>"
|
| 18 |
+
}
|
vocab.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3db1913a8df72358b97e18008fe9af8a105c98293961aeb13a9450d61a7a91a
|
| 3 |
+
size 5379558
|