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