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