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
Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +6 -0
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 151643,
|
| 4 |
+
"eos_token_id": 151645,
|
| 5 |
+
"transformers_version": "4.50.0"
|
| 6 |
+
}
|