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="FriendliAI/Bio-Medical-MultiModal-Llama-3-8B-V1", 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 AutoModel
model = AutoModel.from_pretrained("FriendliAI/Bio-Medical-MultiModal-Llama-3-8B-V1", trust_remote_code=True, device_map="auto")
Quick Links

FriendliAI Logo

ContactDoctor/Bio-Medical-MultiModal-Llama-3-8B-V1

Differences

  • Added missing eos_token (<|eot_id|>) to config.json.

License

Refer to the license of the original model card.

Downloads last month
6
Safetensors
Model size
9B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for FriendliAI/Bio-Medical-MultiModal-Llama-3-8B-V1

Finetuned
(1086)
this model