Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
---
|
6 |
+
:::warning
|
7 |
+
This is a model file only for evaluation. Please use the model here:
|
8 |
+
Model: [Solar-10.7B-SLERP](https://huggingface.co/janhq/Solar-10.7B-SLERP)
|
9 |
+
GGUF: [Solar-10.7B-SLERP](https://huggingface.co/janhq/Solar-10.7B-SLERP-GGUF)
|
10 |
+
:::
|
11 |
+
|
12 |
+
<!-- header start -->
|
13 |
+
<!-- 200823 -->
|
14 |
+
|
15 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
16 |
+
<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;">
|
17 |
+
</div>
|
18 |
+
|
19 |
+
<p align="center">
|
20 |
+
<a href="https://jan.ai/">Jan</a
|
21 |
+
>
|
22 |
+
- <a href="https://discord.gg/AsJ8krTT3N">Discord</a>
|
23 |
+
</p>
|
24 |
+
<!-- header end -->
|
25 |
+
|
26 |
+
# Model Description
|
27 |
+
This model uses the `Slerp` merge method from the best models on 14th Dec on the [OpenLLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard):
|
28 |
+
1. [upstage/SOLAR-10.7B-Instruct-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-Instruct-v1.0)
|
29 |
+
2. [janhq/Pandora-v1-10.7B](https://huggingface.co/janhq/Pandora-v1-10.7B)
|
30 |
+
|
31 |
+
- base model: [upstage/SOLAR-10.7B-Instruct-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-Instruct-v1.0)
|
32 |
+
|
33 |
+
The yaml config file for this model is here:
|
34 |
+
|
35 |
+
```yaml
|
36 |
+
slices:
|
37 |
+
- sources:
|
38 |
+
- model: upstage/SOLAR-10.7B-Instruct-v1.0
|
39 |
+
layer_range: [0, 48]
|
40 |
+
- model: janhq/Pandora-v1-10.7B
|
41 |
+
layer_range: [0, 48]
|
42 |
+
merge_method: slerp
|
43 |
+
base_model: upstage/SOLAR-10.7B-Instruct-v1.0
|
44 |
+
parameters:
|
45 |
+
t:
|
46 |
+
- filter: self_attn
|
47 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
48 |
+
- filter: mlp
|
49 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
50 |
+
- value: 0.5
|
51 |
+
dtype: bfloat16
|
52 |
+
```
|
53 |
+
|
54 |
+
# Prompt template
|
55 |
+
|
56 |
+
- **ChatML**
|
57 |
+
|
58 |
+
```
|
59 |
+
<|im_start|>system
|
60 |
+
{system_message}<|im_end|>
|
61 |
+
<|im_start|>user
|
62 |
+
{prompt}<|im_end|>
|
63 |
+
<|im_start|>assistant
|
64 |
+
```
|
65 |
+
|
66 |
+
# Run this model
|
67 |
+
|
68 |
+
You can run this model using [Jan](https://jan.ai/) on Mac, Windows, or Linux.
|
69 |
+
|
70 |
+
**Jan is an open source, ChatGPT alternative that is:**
|
71 |
+
|
72 |
+
๐ป **100% offline on your machine**: Your conversations remain confidential, and visible only to you.
|
73 |
+
|
74 |
+
๐๏ธ **An Open File Format**: Conversations and model settings stay on your computer and can be exported or deleted at any time.
|
75 |
+
|
76 |
+
๐ **OpenAI Compatible**: Local server on port `
|
77 |
+
1337` with OpenAI compatible endpoints
|
78 |
+
|
79 |
+
๐ **Open Source & Free**: We build in public; check out our [Github](https://github.com/janhq
|
80 |
+
)
|
81 |
+
|
82 |
+
- Please use the [Solar-10.7B-SLERP-GGUF](https://huggingface.co/janhq/Solar-10.7B-SLERP-GGUF) when using on Jan.
|
83 |
+
|
84 |
+

|
85 |
+
|
86 |
+
|
87 |
+
# About Jan
|
88 |
+
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.
|
89 |
+
|
90 |
+
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.
|
91 |
+
|
92 |
+
# Jan Model Merger
|
93 |
+
This is a test project for merging models.
|
94 |
+
|
95 |
+
# Open LLM Leaderboard Evaluation Results
|
96 |
+
|
97 |
+
Detailed results can be found here.
|
98 |
+
|
99 |
+
| Metric | Value |
|
100 |
+
|-----------------------|---------------------------|
|
101 |
+
| Avg. | ?|
|
102 |
+
| ARC (25-shot) | ? |
|
103 |
+
| HellaSwag (10-shot) | ? |
|
104 |
+
| MMLU (5-shot) | ?|
|
105 |
+
| TruthfulQA (0-shot) | ? |
|
106 |
+
| Winogrande (5-shot) | ? |
|
107 |
+
| GSM8K (5-shot) | ? |
|
108 |
+
|
109 |
+
# Acknowlegement
|
110 |
+
- [mergekit](https://github.com/cg123/mergekit)
|
111 |
+
- [DARE](https://github.com/yule-BUAA/MergeLM/blob/main/README.md)
|
112 |
+
- [SLERP](https://github.com/Digitous/LLM-SLERP-Merge)
|
113 |
+
- [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness)
|