omidvaramin commited on
Commit
5e3d3c6
1 Parent(s): b2db47d

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +59 -0
  2. prophetnet.tokenizer +0 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/prophetnet-large-uncased-cnndm",
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": 102,
11
+ "decoder_ffn_dim": 4096,
12
+ "decoder_layerdrop": 0.0,
13
+ "decoder_max_position_embeddings": 514,
14
+ "decoder_start_token_id": 102,
15
+ "disable_ngram_loss": false,
16
+ "dropout": 0.1,
17
+ "encoder_ffn_dim": 4096,
18
+ "encoder_layerdrop": 0.0,
19
+ "encoder_max_position_embeddings": 513,
20
+ "eos_token_id": 102,
21
+ "eps": 0.0,
22
+ "hidden_size": 1024,
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1",
26
+ "2": "LABEL_2"
27
+ },
28
+ "init_std": 0.02,
29
+ "is_encoder_decoder": true,
30
+ "label2id": {
31
+ "LABEL_0": 0,
32
+ "LABEL_1": 1,
33
+ "LABEL_2": 2
34
+ },
35
+ "max_position_embeddings": 512,
36
+ "model_type": "prophetnet",
37
+ "ngram": 2,
38
+ "num_buckets": 32,
39
+ "num_decoder_attention_heads": 16,
40
+ "num_decoder_layers": 12,
41
+ "num_encoder_attention_heads": 16,
42
+ "num_encoder_layers": 12,
43
+ "output_past": false,
44
+ "pad_token_id": 0,
45
+ "prefix": " ",
46
+ "relative_max_distance": 128,
47
+ "task_specific_params": {
48
+ "summarization": {
49
+ "early_stopping": true,
50
+ "length_penalty": 1.2,
51
+ "no_repeat_ngram_size": 3,
52
+ "num_beams": 5
53
+ }
54
+ },
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.21.2",
57
+ "use_cache": true,
58
+ "vocab_size": 30522
59
+ }
prophetnet.tokenizer ADDED
The diff for this file is too large to render. See raw diff