theekshana
commited on
Upload LongT5ForConditionalGeneration
Browse files- README.md +2 -1
- config.json +3 -3
- generation_config.json +1 -1
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,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LongT5ForConditionalGeneration"
|
5 |
],
|
@@ -21,7 +21,7 @@
|
|
21 |
"layer_norm_epsilon": 1e-06,
|
22 |
"length_penalty": 0.8,
|
23 |
"local_radius": 127,
|
24 |
-
"max_length":
|
25 |
"max_position_embeddings": 16384,
|
26 |
"min_length": 8,
|
27 |
"model_type": "longt5",
|
@@ -38,7 +38,7 @@
|
|
38 |
"repetition_penalty": 3.5,
|
39 |
"tie_word_embeddings": false,
|
40 |
"torch_dtype": "float32",
|
41 |
-
"transformers_version": "4.
|
42 |
"use_cache": false,
|
43 |
"vocab_size": 32128
|
44 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "models/long-t5-16k-annual-report-fine-tuned-v2.0",
|
3 |
"architectures": [
|
4 |
"LongT5ForConditionalGeneration"
|
5 |
],
|
|
|
21 |
"layer_norm_epsilon": 1e-06,
|
22 |
"length_penalty": 0.8,
|
23 |
"local_radius": 127,
|
24 |
+
"max_length": 16384,
|
25 |
"max_position_embeddings": 16384,
|
26 |
"min_length": 8,
|
27 |
"model_type": "longt5",
|
|
|
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
@@ -10,6 +10,6 @@
|
|
10 |
"num_beams": 2,
|
11 |
"pad_token_id": 0,
|
12 |
"repetition_penalty": 3.5,
|
13 |
-
"transformers_version": "4.
|
14 |
"use_cache": false
|
15 |
}
|
|
|
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 |
}
|