Instructions to use bschooled/Qwen-Image-2.1-text-encoder-quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bschooled/Qwen-Image-2.1-text-encoder-quantized with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bschooled/Qwen-Image-2.1-text-encoder-quantized", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download text_encoder_nf4/generation_config.json from bschooled/Qwen-Image-2.1-text-encoder-quantized: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/bschooled/Qwen-Image-2.1-text-encoder-quantized/resolve/main/text_encoder_nf4/generation_config.json
- Command line
-
hf download hf://bschooled/Qwen-Image-2.1-text-encoder-quantized/text_encoder_nf4/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/bschooled/Qwen-Image-2.1-text-encoder-quantized/resolve/main/text_encoder_nf4/generation_config.json
212 Bytes
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "temperature": 0.7, | |
| "top_k": 20, | |
| "top_p": 0.8, | |
| "transformers_version": "5.4.0" | |
| } | |