AishaniS commited on
Commit
37eebcf
·
verified ·
1 Parent(s): 2ca809e

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +53 -0
  2. generation_config.json +14 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.1,
3
+ "activation_function": "relu",
4
+ "add_bias_logits": false,
5
+ "add_final_layer_norm": true,
6
+ "architectures": [
7
+ "PegasusForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.1,
10
+ "classif_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": 16,
16
+ "decoder_start_token_id": 0,
17
+ "dropout": 0.1,
18
+ "dtype": "float32",
19
+ "encoder_attention_heads": 16,
20
+ "encoder_ffn_dim": 4096,
21
+ "encoder_layerdrop": 0.0,
22
+ "encoder_layers": 16,
23
+ "eos_token_id": 1,
24
+ "extra_pos_embeddings": 1,
25
+ "forced_eos_token_id": 1,
26
+ "id2label": {
27
+ "0": "LABEL_0",
28
+ "1": "LABEL_1",
29
+ "2": "LABEL_2"
30
+ },
31
+ "init_std": 0.02,
32
+ "is_encoder_decoder": true,
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1,
36
+ "LABEL_2": 2
37
+ },
38
+ "length_penalty": null,
39
+ "max_length": null,
40
+ "max_position_embeddings": 1024,
41
+ "min_length": null,
42
+ "model_type": "pegasus",
43
+ "normalize_before": true,
44
+ "normalize_embedding": false,
45
+ "num_beams": null,
46
+ "num_hidden_layers": 16,
47
+ "pad_token_id": 0,
48
+ "scale_embedding": true,
49
+ "static_position_embeddings": true,
50
+ "transformers_version": "4.57.3",
51
+ "use_cache": true,
52
+ "vocab_size": 96103
53
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": [
5
+ 1
6
+ ],
7
+ "forced_eos_token_id": 1,
8
+ "length_penalty": 0.8,
9
+ "max_length": 128,
10
+ "min_length": 32,
11
+ "num_beams": 8,
12
+ "pad_token_id": 0,
13
+ "transformers_version": "4.57.3"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92d87b202ecbd131e2f2c0f65b1f8fa47b0325fe51056b958573d15f1b131227
3
+ size 2283652852