ybelkada commited on
Commit
556592f
1 Parent(s): 10a4704

Upload ProphetNetForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +35 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-ProphetNetForConditionalGeneration",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_cross_attention": true,
6
+ "architectures": [
7
+ "ProphetNetForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.1,
10
+ "bos_token_id": 1,
11
+ "decoder_ffn_dim": 32,
12
+ "decoder_start_token_id": 0,
13
+ "disable_ngram_loss": false,
14
+ "dropout": 0.1,
15
+ "encoder_ffn_dim": 32,
16
+ "eos_token_id": 2,
17
+ "eps": 0.0,
18
+ "hidden_size": 16,
19
+ "init_std": 0.02,
20
+ "is_encoder_decoder": true,
21
+ "max_position_embeddings": 30,
22
+ "model_type": "prophetnet",
23
+ "ngram": 2,
24
+ "num_buckets": 32,
25
+ "num_decoder_attention_heads": 4,
26
+ "num_decoder_layers": 4,
27
+ "num_encoder_attention_heads": 4,
28
+ "num_encoder_layers": 4,
29
+ "pad_token_id": 0,
30
+ "relative_max_distance": 128,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.25.1",
33
+ "use_cache": true,
34
+ "vocab_size": 30522
35
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91559d3dc7f5bc4b847d568e39228d8e09918549b871a91abddff198ffc78583
3
+ size 2142957