Xenova HF staff commited on
Commit
4702c7c
1 Parent(s): 2caa9de

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-clm-enfr-1024",
3
+ "architectures": [
4
+ "XLMWithLMHeadModel"
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": 1024,
13
+ "embed_init_std": 0.02209708691207961,
14
+ "end_n_top": 5,
15
+ "eos_index": 1,
16
+ "gelu_activation": true,
17
+ "id2lang": {
18
+ "0": "en",
19
+ "1": "fr"
20
+ },
21
+ "init_std": 0.02,
22
+ "is_encoder": true,
23
+ "lang2id": {
24
+ "en": 0,
25
+ "fr": 1
26
+ },
27
+ "lang_id": 0,
28
+ "layer_norm_eps": 1e-12,
29
+ "mask_index": 5,
30
+ "mask_token_id": 0,
31
+ "max_position_embeddings": 512,
32
+ "max_vocab": -1,
33
+ "min_count": 0,
34
+ "model_type": "xlm",
35
+ "n_heads": 8,
36
+ "n_langs": 2,
37
+ "n_layers": 6,
38
+ "pad_index": 2,
39
+ "pad_token_id": 2,
40
+ "same_enc_dec": true,
41
+ "share_inout_emb": true,
42
+ "sinusoidal_embeddings": false,
43
+ "start_n_top": 5,
44
+ "summary_activation": null,
45
+ "summary_first_dropout": 0.1,
46
+ "summary_proj_to_labels": true,
47
+ "summary_type": "first",
48
+ "summary_use_proj": true,
49
+ "transformers_version": "4.34.0.dev0",
50
+ "unk_index": 3,
51
+ "use_lang_emb": true,
52
+ "vocab_size": 64139
53
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "pad_token_id": 2,
5
+ "transformers_version": "4.34.0.dev0"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79898bbd58bb9f69c025e397bc6a8d36b7fecd276c5fe078540f8f0c3553366c
3
+ size 567487125
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c17d4d90b3d45358f304304db7d46d65ecbd14ef26c39c28d788360371a5f6c
3
+ size 142735421
quantize_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Shape",
8
+ "Sqrt",
9
+ "MatMul",
10
+ "Mul",
11
+ "Reshape",
12
+ "Pow",
13
+ "Softmax",
14
+ "Transpose",
15
+ "Concat",
16
+ "Equal",
17
+ "Where",
18
+ "Unsqueeze",
19
+ "Sub",
20
+ "Expand",
21
+ "Constant",
22
+ "Cast",
23
+ "ReduceMean",
24
+ "Add",
25
+ "Slice",
26
+ "Gather",
27
+ "Div",
28
+ "Erf"
29
+ ],
30
+ "weight_type": "QInt8"
31
+ }
32
+ }
33
+ }
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
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
19
+ "0": "en",
20
+ "1": "fr"
21
+ },
22
+ "lang2id": {
23
+ "en": 0,
24
+ "fr": 1
25
+ },
26
+ "mask_token": "<special1>",
27
+ "model_max_length": 512,
28
+ "pad_token": "<pad>",
29
+ "sep_token": "</s>",
30
+ "tokenizer_class": "XLMTokenizer",
31
+ "unk_token": "<unk>"
32
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff