Xenova HF Staff commited on
Commit
8e3032e
·
verified ·
1 Parent(s): 85c7692

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ 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
37
+ target.spm filter=lfs diff=lfs merge=lfs -text
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "_name_or_path": "Helsinki-NLP/opus-mt-zh-en",
3
  "activation_dropout": 0.0,
4
  "activation_function": "swish",
@@ -8,11 +9,6 @@
8
  "MarianMTModel"
9
  ],
10
  "attention_dropout": 0.0,
11
- "bad_words_ids": [
12
- [
13
- 65000
14
- ]
15
- ],
16
  "bos_token_id": 0,
17
  "classif_dropout": 0.0,
18
  "classifier_dropout": 0.0,
@@ -43,18 +39,19 @@
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": 65000,
54
  "scale_embedding": true,
55
  "share_encoder_decoder_embeddings": true,
56
  "static_position_embeddings": true,
57
- "transformers_version": "4.43.4",
 
58
  "use_cache": true,
59
  "vocab_size": 65001
60
  }
 
1
  {
2
+ "_attn_implementation_autoset": true,
3
  "_name_or_path": "Helsinki-NLP/opus-mt-zh-en",
4
  "activation_dropout": 0.0,
5
  "activation_function": "swish",
 
9
  "MarianMTModel"
10
  ],
11
  "attention_dropout": 0.0,
 
 
 
 
 
12
  "bos_token_id": 0,
13
  "classif_dropout": 0.0,
14
  "classifier_dropout": 0.0,
 
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
42
+ "max_length": null,
43
  "max_position_embeddings": 512,
44
  "model_type": "marian",
45
  "normalize_before": false,
46
  "normalize_embedding": false,
47
+ "num_beams": null,
48
  "num_hidden_layers": 6,
49
  "pad_token_id": 65000,
50
  "scale_embedding": true,
51
  "share_encoder_decoder_embeddings": true,
52
  "static_position_embeddings": true,
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.49.0",
55
  "use_cache": true,
56
  "vocab_size": 65001
57
  }
generation_config.json CHANGED
@@ -12,5 +12,5 @@
12
  "num_beams": 6,
13
  "pad_token_id": 65000,
14
  "renormalize_logits": true,
15
- "transformers_version": "4.43.4"
16
  }
 
12
  "num_beams": 6,
13
  "pad_token_id": 65000,
14
  "renormalize_logits": true,
15
+ "transformers_version": "4.49.0"
16
  }
onnx/decoder_model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9a1d27905a88430cb79b711d0097ec4b08f1f808fef2e4841b9c1cc58def2809
3
- size 235612798
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56c5a3663baa93e5351d47e1bcd1614c8ba565f5d96024f3c07d653fc58174ff
3
+ size 235591974
onnx/decoder_model_fp16.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:34d78cf876cb4d5987d7c1e4b6c50dd8ec223e7dd9340465c0e1efd2a5575921
3
- size 117951084
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3220a2131a2a41bc17e05d94ce0a0a24f82fd01d32ccc18861b806e2112d5127
3
+ size 117929959
onnx/decoder_model_merged.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c845dffb2daf35fbbd8cd43a2935568d48093b7a2fcb31c0e480be61710f98af
3
- size 235959976
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a76c93e440bac256d9f99ce0d2a6b7ae2b38a40980a5249d4dd3c8604430630
3
+ size 235912391
onnx/decoder_model_merged_fp16.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9c3c647cd5970f9122abee987a8043df733c8d7e1325dca8c174d4358a36ce2
3
- size 229686288
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d62f732c3acc4a5376d65e4508d85821dc848bdb1055d919986fcb13a8f9f58
3
+ size 118278524
onnx/decoder_with_past_model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0df423ded078d9ab35970f592e987a3c63f80a42755277e43b2f8536c662bc5
3
- size 222932296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85808d9d64e8d81896db7078c2d2a2dcf557bf4be952e222d333f477d0f1d662
3
+ size 222917086
onnx/decoder_with_past_model_fp16.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c484bf8aedc0d93b355b3a1c598b194d1202e4c0dd633786ff10ca674b3c637f
3
- size 111577130
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41a3880f75531b237e66b24ce894d4581cce94abfc4425e4a3f42392a0214985
3
+ size 111563503
onnx/encoder_model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8202e083b37438da2ec51f55da97508108ca9a750c74f71c8e1e8740e7f3d588
3
- size 209950928
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92257f4246886bae8cc9c98dddb41224058a6bba11794d12c6c85dbdb7389d52
3
+ size 209942461
onnx/encoder_model_fp16.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5742055beb9f263ee87c54b61552045bddab1838f087da95f292735f40f75c92
3
- size 105037025
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f458191e58b4e2c663d814e4690736acb6283fb28a093223f08194492d1686a
3
+ size 105028929
quantize_config.json CHANGED
@@ -1,17 +1,12 @@
1
  {
2
  "modes": [
3
- "fp16",
4
- "q8",
5
- "int8",
6
- "uint8",
7
- "q4",
8
- "q4f16",
9
- "bnb4"
10
  ],
11
  "per_channel": true,
12
  "reduce_range": true,
13
  "block_size": null,
14
  "is_symmetric": true,
15
  "accuracy_level": null,
16
- "quant_type": 1
 
17
  }
 
1
  {
2
  "modes": [
3
+ "fp16"
 
 
 
 
 
 
4
  ],
5
  "per_channel": true,
6
  "reduce_range": true,
7
  "block_size": null,
8
  "is_symmetric": true,
9
  "accuracy_level": null,
10
+ "quant_type": 1,
11
+ "op_block_list": null
12
  }
source.spm CHANGED
Binary files a/source.spm and b/source.spm differ
 
target.spm CHANGED
Binary files a/target.spm and b/target.spm differ
 
tokenizer_config.json CHANGED
@@ -25,8 +25,9 @@
25
  "special": true
26
  }
27
  },
28
- "clean_up_tokenization_spaces": true,
29
  "eos_token": "</s>",
 
30
  "model_max_length": 512,
31
  "pad_token": "<pad>",
32
  "separate_vocabs": false,
 
25
  "special": true
26
  }
27
  },
28
+ "clean_up_tokenization_spaces": false,
29
  "eos_token": "</s>",
30
+ "extra_special_tokens": {},
31
  "model_max_length": 512,
32
  "pad_token": "<pad>",
33
  "separate_vocabs": false,