Downloads · 30 days
81
16% of all-time downloads
vonjack/Hermes-2-Pro-BakLLaVA-Mistral-7B
Hermes-2-Pro-BakLLaVA-Mistral-7B is a text generation model from vonjack. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Hermes 2 Pro's LLaMA weights + BakLLaVA's mmprojector & visiontower weights.
Downloads · 30 days
81
16% of all-time downloads
All-time downloads
500
Public
Parameters
7.6B
15.1 GB on disk
Likes
17
Public
Click a slice to open those files.
.safetensors15.1 GB · 100%
From the Hugging Face model README
Hermes 2 Pro's LLaMA weights + BakLLaVA's mm_projector & vision_tower weights.
Good QA + Function Calling + JSON Mode + Vision Multimodal
GGUFs:
Test code:
from llava.mm_utils import get_model_name_from_path
from llava.eval.run_llava import eval_model
model_path = "vonjack/Hermes-2-Pro-BakLLaVA-Mistral-7B"
prompt = "What's the content of the image?"
image_file = "https://www.ilankelman.org/stopsigns/australia.jpg"
args = type('Args', (), {
"model_path": model_path,
"model_base": None,
"model_name": get_model_name_from_path(model_path),
"query": prompt,
"conv_mode": None,
"image_file": image_file,
"sep": ",",
"temperature": 0,
"top_p": None,
"num_beams": 1,
"max_new_tokens": 512
})()
eval_model(args)
Example:
