rewicks commited on
Commit
28c44a0
1 Parent(s): dc4c92e

Upload model

Browse files
Files changed (2) hide show
  1. config.json +2 -3
  2. generation_config.json +2 -4
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "relu",
4
  "architectures": [
@@ -19,14 +20,12 @@
19
  "encoder_layerdrop": 0.1,
20
  "encoder_layers": 6,
21
  "eos_token_id": 2,
22
- "forced_eos_token_id": null,
23
  "init_std": 0.02,
24
  "is_encoder_decoder": true,
25
- "max_length": null,
26
  "max_position_embeddings": 256,
27
  "model_type": "marian",
28
  "normalize_embedding": false,
29
- "num_beams": null,
30
  "num_hidden_layers": 6,
31
  "pad_token_id": 3,
32
  "scale_embedding": true,
 
1
  {
2
+ "_name_or_path": "ep4",
3
  "activation_dropout": 0.0,
4
  "activation_function": "relu",
5
  "architectures": [
 
20
  "encoder_layerdrop": 0.1,
21
  "encoder_layers": 6,
22
  "eos_token_id": 2,
23
+ "forced_eos_token_id": 0,
24
  "init_std": 0.02,
25
  "is_encoder_decoder": true,
 
26
  "max_position_embeddings": 256,
27
  "model_type": "marian",
28
  "normalize_embedding": false,
 
29
  "num_hidden_layers": 6,
30
  "pad_token_id": 3,
31
  "scale_embedding": true,
generation_config.json CHANGED
@@ -1,12 +1,10 @@
1
  {
2
- "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "decoder_start_token_id": 1,
5
  "eos_token_id": 2,
6
  "forced_eos_token_id": 2,
7
- "max_length": 512,
8
  "num_beams": 5,
9
  "pad_token_id": 3,
10
- "transformers_version": "4.45.2",
11
- "use_cache": false
12
  }
 
1
  {
 
2
  "bos_token_id": 1,
3
  "decoder_start_token_id": 1,
4
  "eos_token_id": 2,
5
  "forced_eos_token_id": 2,
6
+ "max_length": 256,
7
  "num_beams": 5,
8
  "pad_token_id": 3,
9
+ "transformers_version": "4.45.2"
 
10
  }