ckartal commited on
Commit
f6fced4
1 Parent(s): e689ab1

Upload model

Browse files
Files changed (3) hide show
  1. config.json +16 -31
  2. generation_config.json +6 -6
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,61 +1,46 @@
1
  {
2
- "_name_or_path": "Helsinki-NLP/opus-mt-tr-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
- 62388
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": 62388,
26
- "decoder_vocab_size": 62389,
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": 62388,
54
  "scale_embedding": true,
55
  "share_encoder_decoder_embeddings": true,
56
  "static_position_embeddings": true,
57
  "torch_dtype": "float32",
58
  "transformers_version": "4.38.2",
59
  "use_cache": true,
60
- "vocab_size": 62389
61
  }
 
1
  {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-tc-big-tr-en",
 
3
  "activation_dropout": 0.0,
4
+ "activation_function": "relu",
 
 
5
  "architectures": [
6
  "MarianMTModel"
7
  ],
8
  "attention_dropout": 0.0,
9
  "bad_words_ids": [
10
  [
11
+ 57059
12
  ]
13
  ],
14
  "bos_token_id": 0,
 
15
  "classifier_dropout": 0.0,
16
+ "d_model": 1024,
17
+ "decoder_attention_heads": 16,
18
+ "decoder_ffn_dim": 4096,
19
  "decoder_layerdrop": 0.0,
20
  "decoder_layers": 6,
21
+ "decoder_start_token_id": 57059,
22
+ "decoder_vocab_size": 57060,
23
  "dropout": 0.1,
24
+ "encoder_attention_heads": 16,
25
+ "encoder_ffn_dim": 4096,
26
  "encoder_layerdrop": 0.0,
27
  "encoder_layers": 6,
28
+ "eos_token_id": 43741,
29
+ "forced_eos_token_id": 43741,
 
 
 
 
 
30
  "init_std": 0.02,
31
  "is_encoder_decoder": true,
 
 
 
 
 
32
  "max_length": 512,
33
+ "max_position_embeddings": 1024,
34
  "model_type": "marian",
 
35
  "normalize_embedding": false,
36
+ "num_beams": 4,
37
  "num_hidden_layers": 6,
38
+ "pad_token_id": 57059,
39
  "scale_embedding": true,
40
  "share_encoder_decoder_embeddings": true,
41
  "static_position_embeddings": true,
42
  "torch_dtype": "float32",
43
  "transformers_version": "4.38.2",
44
  "use_cache": true,
45
+ "vocab_size": 57060
46
  }
generation_config.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
  "bad_words_ids": [
3
  [
4
- 62388
5
  ]
6
  ],
7
  "bos_token_id": 0,
8
- "decoder_start_token_id": 62388,
9
- "eos_token_id": 0,
10
- "forced_eos_token_id": 0,
11
  "max_length": 512,
12
- "num_beams": 6,
13
- "pad_token_id": 62388,
14
  "renormalize_logits": true,
15
  "transformers_version": "4.38.2"
16
  }
 
1
  {
2
  "bad_words_ids": [
3
  [
4
+ 57059
5
  ]
6
  ],
7
  "bos_token_id": 0,
8
+ "decoder_start_token_id": 57059,
9
+ "eos_token_id": 43741,
10
+ "forced_eos_token_id": 43741,
11
  "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 57059,
14
  "renormalize_logits": true,
15
  "transformers_version": "4.38.2"
16
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab13d5dc0c7c86ec9f05322fa8886148b1c14987ad471d49e7ab6b2eb15bc1b7
3
- size 304605268
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb2737bf80c38bf7bf85802cd2c5dae8629d0715d2b7eb6687af86843c8323b
3
+ size 939405120