File size: 1,792 Bytes
79c8390
69b38bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79c8390
69b38bb
 
 
 
 
 
 
 
 
 
 
 
79c8390
69b38bb
 
 
 
 
 
9d2db46
7a68932
 
 
bea0b40
 
d5483e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d2db46
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
base_model: 
- NousResearch/Hermes-2-Pro-Mistral-7B
- kunkworksAI/BakLLaVA-1
tags:
- Mistral
- instruct
- finetune
- chatml
- DPO
- RLHF
- gpt4
- synthetic data
- distillation
- function calling
- json mode
- llava
- vision
- multimodal
model-index:
- name: Hermes-2-Pro-Mistral-7B
  results: []
license: apache-2.0
language:
- en
datasets:
- teknium/OpenHermes-2.5
- SkunkworksAI/BakLLaVA-1-FT
widget:
- example_title: Hermes 2 Pro
  messages:
  - role: system
    content: You are a sentient, superintelligent artificial general intelligence, here to teach and assist me.
  - role: user
    content: Write a short story about Goku discovering kirby has teamed up with Majin Buu to destroy the world.
---

# Hermes 2 Pro BakLLaVA - Mistral 7B

Hermes 2 Pro's LLaMA weights + BakLLaVA's mm_projector & vision_tower weights.

Good QA + Function Calling + JSON Mode + Vision Multimodal

GGUFs:
- Hermes 2 pro: https://huggingface.co/NousResearch/Hermes-2-Pro-Mistral-7B-GGUF
- BakLLaVA-1: https://huggingface.co/mys/ggml_bakllava-1


Test code:
```python
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:
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6396e4f81dade26da03cdb73/lg7aMEeLhZVTHvFalOS40.png)