AI & XML / LLM test suite / Results / Models / llava:34b
Model description
🌋 LLaVA is a novel, end-to-end-trained large multimodal model combining a vision encoder and Vicuna for general-purpose visual and language understanding. Updated to version 1.6.
Model family | llava |
|---|---|
Context | 4K |
Input | Text |
Size | 20 GB |
Family sizes | 7b, 13b, 34b |
Readme excerpt
🌋 LLaVA: Large Language and Vision Assistant
LLaVA is a multimodal model combining a vision encoder and Vicuna for general-purpose visual and language understanding, achieving impressive chat capabilities inspired by multimodal GPT-4.
New in LLaVA 1.6:
Input image resolution increased to up to four times as many pixels, supporting 672x672, 336x1344 and 1344x336 resolutions. Better visual reasoning and OCR through an improved mix of visual instruction-tuning data. Better visual conversations for more scenarios and diverse applications. Better world knowledge and logical reasoning.
CLI usage
Run the model:
ollama run llavaThen enter the path to your image in the prompt:
>>> Was ist auf diesem Bild zu sehen? /Users/jmorgan/Desktop/smile.png Das Bild zeigt ein gelbes Smiley-Gesicht, das wahrscheinlich im Mittelpunkt der Darstellung steht.API usage
curl http://localhost:11434/api/generate -d '{ "model": "llava", "prompt":"Was ist auf diesem Bild zu sehen?", "images": ["iVBORw0KGgoAAAANSUhEUgAAAG0AAABmCAYAAADBPx+VAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3VSURBVHgB7Z27r0zdG8fX743i1bi1ikMoFMQloXRpKFFIqI7LH4BEQ+NWIkjQuSWCRIEoULk0gsK1kCBI0IhrQVT7tz/7zZo888yz1r7MnDl7z5xvsjkzs2fP3uu71nNfa7lkAsm7d++Sffv2JbNmzUqcc8m0adOSzZs3Z+/XES4ZckAWJEGWPiCxjsQNLWmQsWjRIpMseaxcuTKpG/7HP27I8P79e7dq1ars/yL4/v27S0ejqwv+cUOGEGGpKHR37tzJCEpHV9tnT58+dXXCJDdECBE2Ojrqjh071hpNECjx4cMHVycM1Uhbv359B2F79+51586daxN/+pyRkRFXKyRDAqxEp4yMlDDzXG1NPnnyJKkThoK0VFd1ELZu3TrzXKxKfW7dMBQ6bcuWLW2v0VlHjx41z717927ba22U9APcw7Nnz1oGEPeL3m3p2mTAYYnFmMOMXybPPXv2bNIPpFZr1NHn4HMw0KRBjg9NuRw95s8PEcz/6DZELQd/09C9QGq5RsmSRybqkwHGjh07OsJSsYYm3ijPpyHzoiacg35MLdDSIS/O1yM778jOTwYUkKNHWUzUWaOsylE00MyI0fcnOwIdjvtNdW/HZwNLGg+sR1kMepSNJXmIwxBZiG8tDTpEZzKg0GItNsosY8US...References
Website
GitHub
HuggingFace
91 Runs 50 evaluated 24.5 % Score 18.0 % exactly correct
Help on evaluation, score and exact correctness
Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.
Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.
Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.
Test case Category