NTN09 commited on
Commit
e5ff3c7
1 Parent(s): 02251fe

Upload MvpForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +43 -0
  2. generation_config.json +13 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "RUCAIBox/mvp",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "MvpForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 0,
10
+ "classifier_dropout": 0.0,
11
+ "d_model": 1024,
12
+ "decoder_attention_heads": 16,
13
+ "decoder_ffn_dim": 4096,
14
+ "decoder_layerdrop": 0.0,
15
+ "decoder_layers": 12,
16
+ "decoder_start_token_id": 2,
17
+ "dropout": 0.1,
18
+ "early_stopping": true,
19
+ "encoder_attention_heads": 16,
20
+ "encoder_ffn_dim": 4096,
21
+ "encoder_layerdrop": 0.0,
22
+ "encoder_layers": 12,
23
+ "eos_token_id": 2,
24
+ "forced_bos_token_id": 0,
25
+ "forced_eos_token_id": 2,
26
+ "gradient_checkpointing": false,
27
+ "init_std": 0.02,
28
+ "is_encoder_decoder": true,
29
+ "max_position_embeddings": 1024,
30
+ "model_type": "mvp",
31
+ "no_repeat_ngram_size": 3,
32
+ "num_beams": 5,
33
+ "num_hidden_layers": 12,
34
+ "pad_token_id": 1,
35
+ "prompt_length": 100,
36
+ "prompt_mid_dim": 800,
37
+ "scale_embedding": false,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.28.1",
40
+ "use_cache": true,
41
+ "use_prompt": false,
42
+ "vocab_size": 50267
43
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "early_stopping": true,
6
+ "eos_token_id": 2,
7
+ "forced_bos_token_id": 0,
8
+ "forced_eos_token_id": 2,
9
+ "no_repeat_ngram_size": 3,
10
+ "num_beams": 5,
11
+ "pad_token_id": 1,
12
+ "transformers_version": "4.28.1"
13
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65c603344bb3c5474ead021390085d98109840ed03dc8906eb7a4aa97a3d552d
3
+ size 1625549581