UnbeT commited on
Commit
f0b88f6
1 Parent(s): fe2f1fd

Upload MBartForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +4 -4
  2. generation_config.json +1 -1
  3. model.safetensors +1 -1
config.json CHANGED
@@ -19,7 +19,7 @@
19
  "decoder_layers": 12,
20
  "decoder_start_token_id": 2,
21
  "dropout": 0.1,
22
- "early_stopping": null,
23
  "encoder_attention_heads": 16,
24
  "encoder_ffn_dim": 4096,
25
  "encoder_layerdrop": 0.0,
@@ -39,12 +39,12 @@
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
42
- "max_length": null,
43
  "max_position_embeddings": 1024,
44
  "model_type": "mbart",
45
  "normalize_before": true,
46
  "normalize_embedding": true,
47
- "num_beams": null,
48
  "num_hidden_layers": 12,
49
  "output_past": true,
50
  "pad_token_id": 1,
@@ -52,7 +52,7 @@
52
  "static_position_embeddings": false,
53
  "tokenizer_class": "MBart50Tokenizer",
54
  "torch_dtype": "float32",
55
- "transformers_version": "4.45.2",
56
  "use_cache": true,
57
  "vocab_size": 250054
58
  }
 
19
  "decoder_layers": 12,
20
  "decoder_start_token_id": 2,
21
  "dropout": 0.1,
22
+ "early_stopping": true,
23
  "encoder_attention_heads": 16,
24
  "encoder_ffn_dim": 4096,
25
  "encoder_layerdrop": 0.0,
 
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
42
+ "max_length": 200,
43
  "max_position_embeddings": 1024,
44
  "model_type": "mbart",
45
  "normalize_before": true,
46
  "normalize_embedding": true,
47
+ "num_beams": 5,
48
  "num_hidden_layers": 12,
49
  "output_past": true,
50
  "pad_token_id": 1,
 
52
  "static_position_embeddings": false,
53
  "tokenizer_class": "MBart50Tokenizer",
54
  "torch_dtype": "float32",
55
+ "transformers_version": "4.44.2",
56
  "use_cache": true,
57
  "vocab_size": 250054
58
  }
generation_config.json CHANGED
@@ -8,5 +8,5 @@
8
  "max_new_tokens": 16,
9
  "num_beams": 5,
10
  "pad_token_id": 1,
11
- "transformers_version": "4.45.2"
12
  }
 
8
  "max_new_tokens": 16,
9
  "num_beams": 5,
10
  "pad_token_id": 1,
11
+ "transformers_version": "4.44.2"
12
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37a7c878186b50edf7f55492719cddc277fc7f3cbba8f1a81b012d40beaca798
3
  size 2444578688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef0d81dcef2a022f55afa6487e68eed29ff5e77a17b01cf01be952dc85834cfb
3
  size 2444578688