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 vocab.json from TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 2.78 MB
-
https://huggingface.co/TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct/resolve/main/vocab.json
- Command line
-
hf download hf://TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct/vocab.json
-
curl -L -o vocab.json https://huggingface.co/TencentBAC/U-MARVEL-Qwen3VL-4B-Instruct/resolve/main/vocab.json
2.78 MB
File too large to display, you can check the raw version instead.