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