Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
---
|
6 |
+
|
7 |
+
# WARNING
|
8 |
+
This is a model file only for evaluation. Please use the model here:
|
9 |
+
- Model: [Pandora-v1-10.7B](https://huggingface.co/janhq/Pandora-v1-10.7B)
|
10 |
+
- GGUF: [Pandora-v1-10.7B-GGUF](https://huggingface.co/janhq/Pandora-v1-10.7B)
|
11 |
+
|
12 |
+
|
13 |
+
<!-- header start -->
|
14 |
+
<!-- 200823 -->
|
15 |
+
|
16 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
17 |
+
<img src="https://github.com/janhq/jan/assets/89722390/35daac7d-b895-487c-a6ac-6663daaad78e" alt="Jan banner" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
18 |
+
</div>
|
19 |
+
|
20 |
+
<p align="center">
|
21 |
+
<a href="https://jan.ai/">Jan</a
|
22 |
+
>
|
23 |
+
- <a href="https://discord.gg/AsJ8krTT3N">Discord</a
|
24 |
+
>
|
25 |
+
</p>
|
26 |
+
<!-- header end -->
|
27 |
+
|
28 |
+
# Model Description
|
29 |
+
This model uses the `passthrough` merge method from the best 7B models on the [OpenLLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard):
|
30 |
+
1. [viethq188/LeoScorpius-7B-Chat-DPO](https://huggingface.co/viethq188/LeoScorpius-7B-Chat-DPO)
|
31 |
+
2. [GreenNode/GreenNodeLM-7B-v1olet](https://huggingface.co/GreenNode/GreenNodeLM-7B-v1olet)
|
32 |
+
|
33 |
+
The yaml config file for this model is here:
|
34 |
+
|
35 |
+
```yaml
|
36 |
+
slices:
|
37 |
+
- sources:
|
38 |
+
- model: "viethq188/LeoScorpius-7B-Chat-DPO"
|
39 |
+
layer_range: [0, 24]
|
40 |
+
- sources:
|
41 |
+
- model: "GreenNode/GreenNodeLM-7B-v1olet"
|
42 |
+
layer_range: [8, 32]
|
43 |
+
merge_method: passthrough
|
44 |
+
dtype: bfloat16
|
45 |
+
```
|
46 |
+
|
47 |
+
# Prompt template
|
48 |
+
|
49 |
+
- **ChatML**
|
50 |
+
|
51 |
+
```
|
52 |
+
<|im_start|>system
|
53 |
+
{system_message}<|im_end|>
|
54 |
+
<|im_start|>user
|
55 |
+
{prompt}<|im_end|>
|
56 |
+
<|im_start|>assistant
|
57 |
+
```
|
58 |
+
|
59 |
+
# Run this model
|
60 |
+
|
61 |
+
You can run this model using [Jan](https://jan.ai/) on Mac, Windows, or Linux.
|
62 |
+
|
63 |
+
**Jan is an open source, ChatGPT alternative that is:**
|
64 |
+
|
65 |
+
π» **100% offline on your machine**: Your conversations remain confidential, and visible only to you.
|
66 |
+
|
67 |
+
ποΈ **An Open File Format**: Conversations and model settings stay on your computer and can be exported or deleted at any time.
|
68 |
+
|
69 |
+
π **OpenAI Compatible**: Local server on port `
|
70 |
+
1337` with OpenAI compatible endpoints
|
71 |
+
|
72 |
+
π **Open Source & Free**: We build in public; check out our [Github](https://github.com/janhq)
|
73 |
+
|
74 |
+
- Please use the [Pandora-v1-10.7B-GGUF](https://huggingface.co/janhq/Pandora-v1-10.7B-GGUF) when using on Jan.
|
75 |
+
|
76 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/65713d70f56f9538679e5a56/r7VmEBLGXpPLTu2MImM7S.png)
|
77 |
+
|
78 |
+
|
79 |
+
# About Jan
|
80 |
+
Jan believes in the need for an open-source AI ecosystem and is building the infra and tooling to allow open-source AIs to compete on a level playing field with proprietary ones.
|
81 |
+
|
82 |
+
Jan's long-term vision is to build a cognitive framework for future robots, who are practical, useful assistants for humans and businesses in everyday life.
|
83 |
+
|
84 |
+
# Jan Model Merger
|
85 |
+
This is a test project for merging models.
|
86 |
+
|
87 |
+
# Open LLM Leaderboard Evaluation Results
|
88 |
+
|
89 |
+
Detailed results can be found here.
|
90 |
+
|
91 |
+
| Metric | Value |
|
92 |
+
|-----------------------|---------------------------|
|
93 |
+
| Avg. | ?|
|
94 |
+
| ARC (25-shot) | ? |
|
95 |
+
| HellaSwag (10-shot) | ? |
|
96 |
+
| MMLU (5-shot) | ?|
|
97 |
+
| TruthfulQA (0-shot) | ? |
|
98 |
+
| Winogrande (5-shot) | ? |
|
99 |
+
| GSM8K (5-shot) | ? |
|
100 |
+
|
101 |
+
# Acknowlegement
|
102 |
+
- [mergekit](https://github.com/cg123/mergekit)
|
103 |
+
- [DARE](https://github.com/yule-BUAA/MergeLM/blob/main/README.md)
|
104 |
+
- [SLERP](https://github.com/Digitous/LLM-SLERP-Merge)
|
105 |
+
- [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness)
|