Xenova HF staff commited on
Commit
99ad977
·
1 Parent(s): a0d534e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ source.spm filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-hi-en",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 61126
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 61126,
26
+ "decoder_vocab_size": 61127,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 0,
33
+ "forced_eos_token_id": 0,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1",
37
+ "2": "LABEL_2"
38
+ },
39
+ "init_std": 0.02,
40
+ "is_encoder_decoder": true,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_2": 2
45
+ },
46
+ "max_length": 512,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "marian",
49
+ "normalize_before": false,
50
+ "normalize_embedding": false,
51
+ "num_beams": 6,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 61126,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "transformers_version": "4.32.0.dev0",
58
+ "use_cache": true,
59
+ "vocab_size": 61127
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 61126
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 61126,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 6,
14
+ "pad_token_id": 61126,
15
+ "transformers_version": "4.32.0.dev0"
16
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3916641462dd742083ab7cdf1f592a2ef3b2b9761a7c14906f662f87b239c05
3
+ size 352842260
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08335fc74b027d83a19ea94d549c26e085203f6590c43e9809779f301942269a
3
+ size 353077742
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e1fb554b4c7d7c53b3e681ffeb6a2076034964586489597bea81d4ed3c1206a
3
+ size 89817891
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e7579e6fc4a745166c95b56e2adcdce7b009d51433270f47b4da6194bbd6762
3
+ size 89446535
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:174616b069809fa322e6ba4f3ac8f9c6d5aa8772bbfb875d3f0d98c770416593
3
+ size 340191751
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e01dec23df754a2f4a149e2beb207c50e19df07e9d24ff4ea6e4fb567ade26c0
3
+ size 86175071
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8a616375f15409afc17b87722aebd420114562ef7417f8762b66ea93291452e
3
+ size 202004268
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc5a1b084a83019bbb9798809dea5f2d16cc30a9a257238ec93120b3c2892ebf
3
+ size 50916254
quantize_config.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "encoder_model": {
6
+ "op_types": [
7
+ "Add",
8
+ "Where",
9
+ "Constant",
10
+ "Mul",
11
+ "Sqrt",
12
+ "Shape",
13
+ "Sub",
14
+ "Softmax",
15
+ "MatMul",
16
+ "Reshape",
17
+ "ReduceMean",
18
+ "Div",
19
+ "ConstantOfShape",
20
+ "Pow",
21
+ "Transpose",
22
+ "Gather",
23
+ "Expand",
24
+ "Sigmoid",
25
+ "Unsqueeze",
26
+ "Concat",
27
+ "Cast",
28
+ "Equal",
29
+ "Range"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Where",
36
+ "Add",
37
+ "Constant",
38
+ "Mul",
39
+ "Sqrt",
40
+ "Shape",
41
+ "Sub",
42
+ "Softmax",
43
+ "MatMul",
44
+ "Reshape",
45
+ "ReduceMean",
46
+ "Div",
47
+ "ConstantOfShape",
48
+ "Pow",
49
+ "Transpose",
50
+ "Gather",
51
+ "Expand",
52
+ "Sigmoid",
53
+ "Unsqueeze",
54
+ "Concat",
55
+ "Cast",
56
+ "Equal",
57
+ "Range"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "Add",
64
+ "Where",
65
+ "Constant",
66
+ "Slice",
67
+ "Mul",
68
+ "Sqrt",
69
+ "Shape",
70
+ "Sub",
71
+ "Softmax",
72
+ "MatMul",
73
+ "Reshape",
74
+ "ReduceMean",
75
+ "Div",
76
+ "ConstantOfShape",
77
+ "Pow",
78
+ "Transpose",
79
+ "Gather",
80
+ "Expand",
81
+ "Sigmoid",
82
+ "Unsqueeze",
83
+ "Concat",
84
+ "Cast",
85
+ "Less",
86
+ "Squeeze",
87
+ "Equal",
88
+ "Range"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "Add",
95
+ "Where",
96
+ "Constant",
97
+ "Slice",
98
+ "Mul",
99
+ "Sqrt",
100
+ "Shape",
101
+ "Sub",
102
+ "Softmax",
103
+ "MatMul",
104
+ "Reshape",
105
+ "ReduceMean",
106
+ "Div",
107
+ "ConstantOfShape",
108
+ "Pow",
109
+ "Transpose",
110
+ "Gather",
111
+ "Expand",
112
+ "If",
113
+ "Sigmoid",
114
+ "Unsqueeze",
115
+ "Concat",
116
+ "Cast",
117
+ "Less",
118
+ "Squeeze",
119
+ "Equal",
120
+ "Range"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd20c408ec4568361d32b41080e3f6fa5b82895135bd25c2747b2c145e42d07b
3
+ size 1057690
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
Binary file (813 kB). View file
 
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "eos_token": "</s>",
4
+ "model_max_length": 512,
5
+ "pad_token": "<pad>",
6
+ "separate_vocabs": false,
7
+ "source_lang": "hi",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "en",
10
+ "tokenizer_class": "MarianTokenizer",
11
+ "unk_token": "<unk>"
12
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff