Any-to-Any
Transformers
English
Chinese
qwen2
text-generation
medical
vision-language
multimodal
unified-model
medical-vqa
text-to-image
image-to-text
medical-understanding
report-generation
interleaved-multimodal
modality-transfer
custom_code
Instructions to use General-Medical-AI/UniMedVL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use General-Medical-AI/UniMedVL with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("General-Medical-AI/UniMedVL", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("General-Medical-AI/UniMedVL", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download merges.txt from General-Medical-AI/UniMedVL: direct link, hf CLI and curl.
- Browser
- Download file 1.67 MB
-
https://huggingface.co/General-Medical-AI/UniMedVL/resolve/main/merges.txt
- Command line
-
hf download hf://General-Medical-AI/UniMedVL/merges.txt
-
curl -L -o merges.txt https://huggingface.co/General-Medical-AI/UniMedVL/resolve/main/merges.txt
1.67 MB
File too large to display, you can check the raw version instead.