Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- merge
|
5 |
+
- mergekit
|
6 |
+
- lazymergekit
|
7 |
+
- NousResearch/Hermes-2-Pro-Mistral-7B
|
8 |
+
- mistralai/Mistral-7B-Instruct-v0.3
|
9 |
+
---
|
10 |
+
# Quantized GGUF model Hermes-2-Pro-Mistral-7B-Mistral-7B-Instruct-v0.3-linear-merge
|
11 |
+
This model has been quantized using llama-quantize from [llama.cpp](https://github.com/ggerganov/llama.cpp)
|
12 |
+
|
13 |
+
|
14 |
+
# Hermes-2-Pro-Mistral-7B-Mistral-7B-Instruct-v0.3-linear-merge
|
15 |
+
|
16 |
+
Hermes-2-Pro-Mistral-7B-Mistral-7B-Instruct-v0.3-linear-merge is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
|
17 |
+
* [NousResearch/Hermes-2-Pro-Mistral-7B](https://huggingface.co/NousResearch/Hermes-2-Pro-Mistral-7B)
|
18 |
+
* [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3)
|
19 |
+
|
20 |
+
## 🧩 Merge Configuration
|
21 |
+
|
22 |
+
```yaml
|
23 |
+
merge_method: linear
|
24 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.3
|
25 |
+
models:
|
26 |
+
- model: NousResearch/Hermes-2-Pro-Mistral-7B
|
27 |
+
parameters:
|
28 |
+
weight: 0.3
|
29 |
+
- model: mistralai/Mistral-7B-Instruct-v0.3
|
30 |
+
parameters:
|
31 |
+
weight: 0.7
|
32 |
+
parameters:
|
33 |
+
normalize: true
|
34 |
+
dtype: float16
|
35 |
+
```
|
36 |
+
|
37 |
+
## Model Description
|
38 |
+
|
39 |
+
The Hermes-2-Pro-Mistral-7B-Mistral-7B-Instruct-v0.3-linear-merge combines the advanced conversational capabilities of the Hermes 2 Pro model with the instruction-following prowess of the Mistral-7B-Instruct model. This strategic fusion aims to enhance the model's ability to understand and generate contextually relevant responses while maintaining a high level of performance across various natural language processing tasks.
|
40 |
+
|
41 |
+
Hermes 2 Pro is an upgraded version of the original Nous Hermes 2, featuring a refined dataset and improved function calling capabilities. It excels in generating structured outputs, making it particularly useful for applications requiring precise data formatting, such as JSON responses. The Mistral-7B-Instruct model, on the other hand, is designed to follow instructions effectively, making it a strong candidate for tasks that require adherence to user prompts.
|
42 |
+
|
43 |
+
## Use Cases
|
44 |
+
|
45 |
+
This merged model is well-suited for a variety of applications, including but not limited to:
|
46 |
+
- Conversational agents and chatbots
|
47 |
+
- Function calling and structured data generation
|
48 |
+
- Instruction-based tasks and question answering
|
49 |
+
- Creative writing and storytelling
|
50 |
+
|
51 |
+
## Model Features
|
52 |
+
|
53 |
+
- **Enhanced Conversational Abilities**: The model leverages the conversational strengths of Hermes 2 Pro, allowing for engaging and context-aware dialogues.
|
54 |
+
- **Instruction Following**: With the integration of Mistral-7B-Instruct, the model can effectively follow user instructions, making it ideal for task-oriented applications.
|
55 |
+
- **Function Calling and JSON Outputs**: The model supports advanced function calling and can generate structured JSON outputs, facilitating integration with various applications and APIs.
|
56 |
+
|
57 |
+
## Evaluation Results
|
58 |
+
|
59 |
+
The performance of the parent models provides a solid foundation for the merged model. Here are some evaluation metrics from the original models:
|
60 |
+
|
61 |
+
### Hermes 2 Pro
|
62 |
+
- **Function Calling Accuracy**: 91%
|
63 |
+
- **JSON Mode Accuracy**: 84%
|
64 |
+
|
65 |
+
### Mistral-7B-Instruct
|
66 |
+
While specific evaluation metrics for Mistral-7B-Instruct were not available, it is known for its strong instruction-following capabilities, which contribute to the overall performance of the merged model.
|
67 |
+
|
68 |
+
## Limitations
|
69 |
+
|
70 |
+
Despite the strengths of the merged model, it may inherit some limitations from its parent models. Potential issues include:
|
71 |
+
- **Biases**: The model may reflect biases present in the training data of both parent models, which could affect the fairness and neutrality of its outputs.
|
72 |
+
- **Contextual Understanding**: While the model excels in many areas, there may still be challenges in understanding highly nuanced or ambiguous prompts.
|
73 |
+
|
74 |
+
In summary, the Hermes-2-Pro-Mistral-7B-Mistral-7B-Instruct-v0.3-linear-merge represents a powerful tool for a wide range of NLP tasks, combining the best features of its parent models while also carrying forward some of their limitations.
|