d0rj/wikisum
Viewer • Updated • 39.8k • 189 • 9
How to use jwhong2006/wikisum 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="jwhong2006/wikisum") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("jwhong2006/wikisum")
model = AutoModelForSeq2SeqLM.from_pretrained("jwhong2006/wikisum")This model is a fine-tuned version of t5-small on an wikisum dataset. It achieves the following results on the evaluation set:
t5-small model fine-tuned on wikisum dataset.
Intended use: sumamrization of informatic articles. Limitations : may generate misleading information.
check out wikisum dataset
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 2.5807 | 0.2236 | 500 | 2.3647 | 0.1813 | 0.0635 | 0.1452 | 0.1453 | 19.0 |
| 2.5059 | 0.4472 | 1000 | 2.3190 | 0.1823 | 0.0663 | 0.1473 | 0.1473 | 19.0 |
| 2.4945 | 0.6708 | 1500 | 2.3003 | 0.1808 | 0.0666 | 0.1468 | 0.1467 | 19.0 |
| 2.4963 | 0.8945 | 2000 | 2.2922 | 0.1811 | 0.0673 | 0.147 | 0.147 | 19.0 |
Base model
google-t5/t5-small