Instructions to use krm/mt5-small-OrangeSum-Summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use krm/mt5-small-OrangeSum-Summarizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("krm/mt5-small-OrangeSum-Summarizer") model = AutoModelForSeq2SeqLM.from_pretrained("krm/mt5-small-OrangeSum-Summarizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
d32f6da | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cd38144ed4e51886247b55a7fd9b6fcca7afd7355345b522149ba074b455f2cb
size 16330466
|