Instructions to use TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSeq2SeqLM processor = AutoProcessor.from_pretrained("TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct") model = AutoModelForSeq2SeqLM.from_pretrained("TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 213 Bytes
-
https://huggingface.co/TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct/resolve/main/generation_config.json
- Command line
-
hf download hf://TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct/resolve/main/generation_config.json
213 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": "4.57.0" | |
| } | |