How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="Fantominsight/YAPPERTAR-ai-VL-1.0", trust_remote_code=True)
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("Fantominsight/YAPPERTAR-ai-VL-1.0", trust_remote_code=True, dtype="auto")
Quick Links
Эта модель дообучение модели от Tencent со зрением! Все права принадлежат Тencent.
Downloads last month
41
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Fantominsight/YAPPERTAR-ai-VL-1.0

Finetuned
(405)
this model
Quantizations
1 model

Collection including Fantominsight/YAPPERTAR-ai-VL-1.0