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