theekshana commited on
Commit
e85ee8f
·
verified ·
1 Parent(s): e1c2071

Upload LongT5ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. README.md +2 -1
  2. config.json +44 -44
  3. generation_config.json +15 -15
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  library_name: transformers
3
- tags: []
 
4
  ---
5
 
6
  # Model Card for Model ID
 
1
  ---
2
  library_name: transformers
3
+ tags:
4
+ - Summarization
5
  ---
6
 
7
  # Model Card for Model ID
config.json CHANGED
@@ -1,44 +1,44 @@
1
- {
2
- "_name_or_path": "./models/pszemraj/long-t5-tglobal-base-16384-book-summary-fine-tuned-v0",
3
- "architectures": [
4
- "LongT5ForConditionalGeneration"
5
- ],
6
- "d_ff": 2048,
7
- "d_kv": 64,
8
- "d_model": 768,
9
- "decoder_start_token_id": 0,
10
- "dense_act_fn": "gelu_new",
11
- "dropout_rate": 0.1,
12
- "early_stopping": true,
13
- "encoder_attention_type": "transient-global",
14
- "encoder_no_repeat_ngram_size": 4,
15
- "eos_token_id": 1,
16
- "feed_forward_proj": "gated-gelu",
17
- "global_block_size": 16,
18
- "initializer_factor": 1.0,
19
- "is_encoder_decoder": true,
20
- "is_gated_act": true,
21
- "layer_norm_epsilon": 1e-06,
22
- "length_penalty": 0.8,
23
- "local_radius": 127,
24
- "max_length": 512,
25
- "max_position_embeddings": 4096,
26
- "min_length": 8,
27
- "model_type": "longt5",
28
- "n_positions": 4096,
29
- "no_repeat_ngram_size": 3,
30
- "num_beams": 2,
31
- "num_decoder_layers": 12,
32
- "num_heads": 12,
33
- "num_layers": 12,
34
- "output_past": true,
35
- "pad_token_id": 0,
36
- "relative_attention_max_distance": 128,
37
- "relative_attention_num_buckets": 32,
38
- "repetition_penalty": 3.5,
39
- "tie_word_embeddings": false,
40
- "torch_dtype": "float32",
41
- "transformers_version": "4.39.1",
42
- "use_cache": false,
43
- "vocab_size": 32128
44
- }
 
1
+ {
2
+ "_name_or_path": "theekshana/long-t5-tglobal-16k-annual-reports-v0",
3
+ "architectures": [
4
+ "LongT5ForConditionalGeneration"
5
+ ],
6
+ "d_ff": 2048,
7
+ "d_kv": 64,
8
+ "d_model": 768,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
+ "dropout_rate": 0.1,
12
+ "early_stopping": true,
13
+ "encoder_attention_type": "transient-global",
14
+ "encoder_no_repeat_ngram_size": 4,
15
+ "eos_token_id": 1,
16
+ "feed_forward_proj": "gated-gelu",
17
+ "global_block_size": 16,
18
+ "initializer_factor": 1.0,
19
+ "is_encoder_decoder": true,
20
+ "is_gated_act": true,
21
+ "layer_norm_epsilon": 1e-06,
22
+ "length_penalty": 0.8,
23
+ "local_radius": 127,
24
+ "max_length": 512,
25
+ "max_position_embeddings": 4096,
26
+ "min_length": 8,
27
+ "model_type": "longt5",
28
+ "n_positions": 4096,
29
+ "no_repeat_ngram_size": 3,
30
+ "num_beams": 2,
31
+ "num_decoder_layers": 12,
32
+ "num_heads": 12,
33
+ "num_layers": 12,
34
+ "output_past": true,
35
+ "pad_token_id": 0,
36
+ "relative_attention_max_distance": 128,
37
+ "relative_attention_num_buckets": 32,
38
+ "repetition_penalty": 3.5,
39
+ "tie_word_embeddings": false,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.41.0.dev0",
42
+ "use_cache": false,
43
+ "vocab_size": 32128
44
+ }
generation_config.json CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "decoder_start_token_id": 0,
3
- "early_stopping": true,
4
- "encoder_no_repeat_ngram_size": 4,
5
- "eos_token_id": 1,
6
- "length_penalty": 0.8,
7
- "max_length": 512,
8
- "min_length": 8,
9
- "no_repeat_ngram_size": 3,
10
- "num_beams": 2,
11
- "pad_token_id": 0,
12
- "repetition_penalty": 3.5,
13
- "transformers_version": "4.39.1",
14
- "use_cache": false
15
- }
 
1
+ {
2
+ "decoder_start_token_id": 0,
3
+ "early_stopping": true,
4
+ "encoder_no_repeat_ngram_size": 4,
5
+ "eos_token_id": 1,
6
+ "length_penalty": 0.8,
7
+ "max_length": 512,
8
+ "min_length": 8,
9
+ "no_repeat_ngram_size": 3,
10
+ "num_beams": 2,
11
+ "pad_token_id": 0,
12
+ "repetition_penalty": 3.5,
13
+ "transformers_version": "4.41.0.dev0",
14
+ "use_cache": false
15
+ }