Summarization
Transformers
PyTorch
Safetensors
Korean
t5
text2text-generation
text-generation-inference
Instructions to use psyche/KoT5-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use psyche/KoT5-summarization with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="psyche/KoT5-summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("psyche/KoT5-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("psyche/KoT5-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,9 +5,11 @@ language:
|
|
| 5 |
license: apache-2.0
|
| 6 |
---
|
| 7 |
|
| 8 |
-
|dataset|ROUGE-1|ROUGE-2|ROUGE-L|
|
| 9 |
-
|:---:|:---:|:---:|:---:|
|
| 10 |
-
|-|-|-|-|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
More Information of KoT5 -> https://github.com/wisenut-research/KoT5
|
|
|
|
| 5 |
license: apache-2.0
|
| 6 |
---
|
| 7 |
|
| 8 |
+
|dataset|model|sampling|gen. length|ROUGE-1 (β)|ROUGE-2 (β)|ROUGE-L (β)|
|
| 9 |
+
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
| 10 |
+
|-|-|-|-|-|-|-|
|
| 11 |
+
|AI-HUB λμμλ£ μμ½|ours|greedy|49.71|**17.09**|**5.57**|**16.79**|
|
| 12 |
+
|AI-HUB λμμλ£ μμ½|gogamza/kobart-summarization|greedy|70.11|13.11|4.15|12.95|
|
| 13 |
|
| 14 |
|
| 15 |
More Information of KoT5 -> https://github.com/wisenut-research/KoT5
|