Summarization
Transformers
PyTorch
TensorBoard
Danish
mt5
text2text-generation
Generated from Trainer
Instructions to use RyeAI/DaMedSumT5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RyeAI/DaMedSumT5-large 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="RyeAI/DaMedSumT5-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("RyeAI/DaMedSumT5-large") model = AutoModelForSeq2SeqLM.from_pretrained("RyeAI/DaMedSumT5-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a5b0e42
1
Parent(s): 5bf7129
Update README.md
Browse files6 unmodified lines78910111213141516171819202122232412 unmodified lines373839406 unmodified linesmodel-index:- name: DaMedSumT5-largeresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->```_____ ______ __ __ ______ _____ ______ __ __ __ __/\ __-. /\ __ \ /\ "-./ \ /\ ___\ /\ __-. /\ ___\ /\ \/\ \ /\ "-./ \\ \ \/\ \ \ \ __ \ \ \ \-./\ \ \ \ __\ \ \ \/\ \ \ \___ \ \ \ \_\ \ \ \ \-./\ \\ \____- \ \_\ \_\ \ \_\ \ \_\ \ \_____\ \ \____- \/\_____\ \ \_____\ \ \_\ \ \_\\/____/ \/_/\/_/ \/_/ \/_/ \/_____/ \/____/ \/_____/ \/_____/ \/_/ \/_/```## Model description12 unmodified lines- Transformers 4.30.2- Pytorch 1.12.1+git7548e2f- Datasets 2.13.2- Tokenizers 0.13.36 unmodified lines7891011121314151617181920212223242512 unmodified lines383940416 unmodified linesmodel-index:- name: DaMedSumT5-largeresults: []pipeline_tag: summarization---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->```_____ ______ __ __ ______ _____ ______ __ __ __ __/\ __-. /\ __ \ /\ "-./ \ /\ ___\ /\ __-. /\ ___\ /\ \/\ \ /\ "-./ \\ \ \/\ \\ \ __ \\ \ \-./\ \\ \ __\ \ \ \/\ \\ \___ \\ \ \_\ \\ \ \-./\ \\ \____- \ \_\ \_\\ \_\ \ \_\\ \_____\\ \____- \/\_____\\ \_____\\ \_\ \ \_\\/____/ \/_/\/_/ \/_/ \/_/ \/_____/ \/____/ \/_____/ \/_____/ \/_/ \/_/```## Model description12 unmodified lines- Transformers 4.30.2- Pytorch 1.12.1+git7548e2f- Datasets 2.13.2- Tokenizers 0.13.3
README.md+9-8