How to use from the
Use from the
Transformers library
# 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="thors/mt5-base-icelandic-summarization")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("thors/mt5-base-icelandic-summarization")
model = AutoModelForSeq2SeqLM.from_pretrained("thors/mt5-base-icelandic-summarization")
Quick Links

Model Description

This is Google's mT5 base model fine-tuned for abstractive text summarization in Icelandic. The model is fine-tuned on the RÚV Radio News (RRN) dataset.

Citation

@inproceedings{sverrisson2023abstractive,
  title={Abstractive Text Summarization for Icelandic},
  author={Sverrisson, {\TH}{\'o}r and Einarsson, Hafsteinn},
  booktitle={Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa)},
  pages={17--31},
  year={2023}
}
Downloads last month
24
Safetensors
Model size
0.6B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train thors/mt5-base-icelandic-summarization