Instructions to use jonasurth/T5Sum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jonasurth/T5Sum with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jonasurth/T5Sum") model = AutoModelForSeq2SeqLM.from_pretrained("jonasurth/T5Sum") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -25,8 +25,8 @@
|
|
| 25 |
"summarization": {
|
| 26 |
"early_stopping": true,
|
| 27 |
"length_penalty": 2.0,
|
| 28 |
-
"max_length":
|
| 29 |
-
"min_length":
|
| 30 |
"no_repeat_ngram_size": 3,
|
| 31 |
"num_beams": 4,
|
| 32 |
"prefix": "summarize: "
|
|
|
|
| 25 |
"summarization": {
|
| 26 |
"early_stopping": true,
|
| 27 |
"length_penalty": 2.0,
|
| 28 |
+
"max_length": 500,
|
| 29 |
+
"min_length": 300,
|
| 30 |
"no_repeat_ngram_size": 3,
|
| 31 |
"num_beams": 4,
|
| 32 |
"prefix": "summarize: "
|