Instructions to use thors/mt5-base-icelandic-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thors/mt5-base-icelandic-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="thors/mt5-base-icelandic-summarization")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (84cbb19b4f9ec0c51af3ab5082a3f84136bb33c1) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>4ff787d
-
Update README.md
9a2376e
-
Update README.md
0f057be -
Update README.md
81b4e00 -
Upload pytorch_model.bin
9acc137
-
Update README.md
50be58e -
Update README.md
8fa626c -
Update README.md
90df207 -
Upload README.md
683f551 -
Upload tokenizer
6d227fa -
Upload tokenizer
5c77e22 -
Upload model
6b4fc12 -
initial commit
20a2d88