Instructions to use TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSeq2SeqLM processor = AutoProcessor.from_pretrained("TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct") model = AutoModelForSeq2SeqLM.from_pretrained("TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 7.03 MB
-
https://huggingface.co/TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct/resolve/e91bc9dd4427125c53c331cb2f6f9400d65621fc/tokenizer.json
- Command line
-
hf download hf://TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct@e91bc9dd4427125c53c331cb2f6f9400d65621fc/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/TencentBAC/U-MARVEL-Qwen2VL-7B-Instruct/resolve/e91bc9dd4427125c53c331cb2f6f9400d65621fc/tokenizer.json
7.03 MB
File too large to display, you can check the raw version instead.