Md-Hakim commited on
Commit
5a3ea4d
1 Parent(s): 0c03c66

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -1 +1,2 @@
1
  spiece.model filter=lfs diff=lfs merge=lfs -text
 
 
1
  spiece.model filter=lfs diff=lfs merge=lfs -text
2
+ pegasus-samsum-model/model.safetensors filter=lfs diff=lfs merge=lfs -text
pegasus-samsum-model/config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/pegasus-cnn_dailymail",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "relu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": true,
7
+ "architectures": [
8
+ "PegasusForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.0,
13
+ "d_model": 1024,
14
+ "decoder_attention_heads": 16,
15
+ "decoder_ffn_dim": 4096,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 16,
18
+ "decoder_start_token_id": 0,
19
+ "dropout": 0.1,
20
+ "encoder_attention_heads": 16,
21
+ "encoder_ffn_dim": 4096,
22
+ "encoder_layerdrop": 0.0,
23
+ "encoder_layers": 16,
24
+ "eos_token_id": 1,
25
+ "extra_pos_embeddings": 1,
26
+ "forced_eos_token_id": 1,
27
+ "id2label": {
28
+ "0": "LABEL_0",
29
+ "1": "LABEL_1",
30
+ "2": "LABEL_2"
31
+ },
32
+ "init_std": 0.02,
33
+ "is_encoder_decoder": true,
34
+ "label2id": {
35
+ "LABEL_0": 0,
36
+ "LABEL_1": 1,
37
+ "LABEL_2": 2
38
+ },
39
+ "length_penalty": 0.8,
40
+ "max_length": 128,
41
+ "max_position_embeddings": 1024,
42
+ "min_length": 32,
43
+ "model_type": "pegasus",
44
+ "normalize_before": true,
45
+ "normalize_embedding": false,
46
+ "num_beams": 8,
47
+ "num_hidden_layers": 16,
48
+ "pad_token_id": 0,
49
+ "scale_embedding": true,
50
+ "static_position_embeddings": true,
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.44.0",
53
+ "use_cache": true,
54
+ "vocab_size": 96103
55
+ }
pegasus-samsum-model/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 0,
5
+ "eos_token_id": 1,
6
+ "forced_eos_token_id": 1,
7
+ "length_penalty": 0.8,
8
+ "max_length": 128,
9
+ "min_length": 32,
10
+ "num_beams": 8,
11
+ "pad_token_id": 0,
12
+ "transformers_version": "4.44.0"
13
+ }
pegasus-samsum-model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f972f3395d6a62e4ef2eabdf4fe54ab40cfc267569814f775f1f33738a790ef
3
+ size 2283652852