hf-transformers-bot
commited on
Commit
·
a7c84c7
1
Parent(s):
8de8e31
Upload tiny models for XLMForSequenceClassification
Browse files- .gitattributes +1 -0
- config.json +45 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +20 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +27 -0
- vocab.json +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
vocab.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tiny_models/xlm/XLMForSequenceClassification",
|
3 |
+
"architectures": [
|
4 |
+
"XLMForSequenceClassification"
|
5 |
+
],
|
6 |
+
"asm": false,
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_index": 0,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"causal": false,
|
11 |
+
"dropout": 0.1,
|
12 |
+
"emb_dim": 32,
|
13 |
+
"embed_init_std": 0.02209708691207961,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_index": 1,
|
16 |
+
"gelu_activation": true,
|
17 |
+
"init_std": 0.02,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"is_encoder": true,
|
20 |
+
"lang_id": 0,
|
21 |
+
"layer_norm_eps": 1e-12,
|
22 |
+
"mask_index": 5,
|
23 |
+
"mask_token_id": 5,
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "xlm",
|
26 |
+
"n_heads": 4,
|
27 |
+
"n_langs": 2,
|
28 |
+
"n_layers": 5,
|
29 |
+
"n_special": 0,
|
30 |
+
"pad_index": 2,
|
31 |
+
"pad_token_id": 2,
|
32 |
+
"sinusoidal_embeddings": false,
|
33 |
+
"start_n_top": 5,
|
34 |
+
"summary_activation": null,
|
35 |
+
"summary_first_dropout": 0.1,
|
36 |
+
"summary_proj_to_labels": true,
|
37 |
+
"summary_type": "last",
|
38 |
+
"summary_use_proj": true,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.28.0.dev0",
|
41 |
+
"unk_index": 3,
|
42 |
+
"use_lang_emb": true,
|
43 |
+
"use_proj": true,
|
44 |
+
"vocab_size": 30145
|
45 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fab88a39a088bfe6186d0dfbbd97917fea9d4cc9ed6da060ded28ed88df047ab
|
3 |
+
size 4210169
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<special0>",
|
4 |
+
"<special1>",
|
5 |
+
"<special2>",
|
6 |
+
"<special3>",
|
7 |
+
"<special4>",
|
8 |
+
"<special5>",
|
9 |
+
"<special6>",
|
10 |
+
"<special7>",
|
11 |
+
"<special8>",
|
12 |
+
"<special9>"
|
13 |
+
],
|
14 |
+
"bos_token": "<s>",
|
15 |
+
"cls_token": "</s>",
|
16 |
+
"mask_token": "<special1>",
|
17 |
+
"pad_token": "<pad>",
|
18 |
+
"sep_token": "</s>",
|
19 |
+
"unk_token": "<unk>"
|
20 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:811cf250295bf5745a7bdd6321d2d0faf088114af70b36f9d969710923bf275a
|
3 |
+
size 4284664
|
tokenizer_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<special0>",
|
4 |
+
"<special1>",
|
5 |
+
"<special2>",
|
6 |
+
"<special3>",
|
7 |
+
"<special4>",
|
8 |
+
"<special5>",
|
9 |
+
"<special6>",
|
10 |
+
"<special7>",
|
11 |
+
"<special8>",
|
12 |
+
"<special9>"
|
13 |
+
],
|
14 |
+
"bos_token": "<s>",
|
15 |
+
"clean_up_tokenization_spaces": true,
|
16 |
+
"cls_token": "</s>",
|
17 |
+
"do_lowercase_and_remove_accent": true,
|
18 |
+
"id2lang": null,
|
19 |
+
"lang2id": null,
|
20 |
+
"mask_token": "<special1>",
|
21 |
+
"model_max_length": 512,
|
22 |
+
"pad_token": "<pad>",
|
23 |
+
"sep_token": "</s>",
|
24 |
+
"special_tokens_map_file": null,
|
25 |
+
"tokenizer_class": "XLMTokenizer",
|
26 |
+
"unk_token": "<unk>"
|
27 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9eb700423b2604e555abf45cf9912bc16015c7f3f9d9d25fcff95c19cd9e15cf
|
3 |
+
size 646176
|