Instructions to use LanguageBind/UniWorld-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- univa
How to use LanguageBind/UniWorld-V1 with univa:
# Follow installation instructions at https://github.com/PKU-YuanGroup/UniWorld-V1 from univa.models.qwen2p5vl.modeling_univa_qwen2p5vl import UnivaQwen2p5VLForConditionalGeneration model = UnivaQwen2p5VLForConditionalGeneration.from_pretrained( "LanguageBind/UniWorld-V1", torch_dtype=torch.bfloat16, attn_implementation="flash_attention_2", ).to("cuda") processor = AutoProcessor.from_pretrained("LanguageBind/UniWorld-V1") - Notebooks
- Google Colab
- Kaggle
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |