Instructions to use Danish-summarisation/DanSumT5-pilot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Danish-summarisation/DanSumT5-pilot 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="Danish-summarisation/DanSumT5-pilot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Danish-summarisation/DanSumT5-pilot") model = AutoModelForSeq2SeqLM.from_pretrained("Danish-summarisation/DanSumT5-pilot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (9ef6a92af45ff6963312a77f0df9fa7623664ed1) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1214356
-
Update README.md
3be4ac3 -
Update README.md
5b29516 -
Update README.md
7ae48d9
-
Update README.md
372faa1
-
Update README.md
36a90af -
Update README.md
d74fece -
Update README.md
c1b0b80 -
Update README.md
b496185 -
Added example
e463268 -
Update README.md
ae9d53e -
Update README.md
a46f35c -
clone repository
ecf827d -
Delete training_args.bin
86203de -
Upload training_args.bin
3a34dbd -
initial commit
eeb6707