Jan commited on
Commit
6aa7e68
β€’
1 Parent(s): ce0fd69

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +106 -0
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ ---
6
+ <!-- header start -->
7
+ <!-- 200823 -->
8
+
9
+ <div style="width: auto; margin-left: auto; margin-right: auto">
10
+ <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;">
11
+ </div>
12
+
13
+ <p align="center">
14
+ <a href="https://jan.ai/">Jan</a
15
+ >
16
+ - <a href="https://discord.gg/AsJ8krTT3N">Discord</a>
17
+ </p>
18
+ <!-- header end -->
19
+
20
+ # Model Description
21
+ 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):
22
+ 1. [upstage/SOLAR-10.7B-Instruct-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-Instruct-v1.0)
23
+ 2. [janhq/Pandora-v1-10.7B](https://huggingface.co/janhq/Pandora-v1-10.7B)
24
+
25
+ - base model: [upstage/SOLAR-10.7B-Instruct-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-Instruct-v1.0)
26
+
27
+ The yaml config file for this model is here:
28
+
29
+ ```yaml
30
+ slices:
31
+ - sources:
32
+ - model: upstage/SOLAR-10.7B-Instruct-v1.0
33
+ layer_range: [0, 48]
34
+ - model: janhq/Pandora-v1-10.7B
35
+ layer_range: [0, 48]
36
+ merge_method: slerp
37
+ base_model: upstage/SOLAR-10.7B-Instruct-v1.0
38
+ parameters:
39
+ t:
40
+ - filter: self_attn
41
+ value: [0, 0.5, 0.3, 0.7, 1]
42
+ - filter: mlp
43
+ value: [1, 0.5, 0.7, 0.3, 0]
44
+ - value: 0.5
45
+ dtype: bfloat16
46
+ ```
47
+
48
+ # Prompt template
49
+
50
+ - **ChatML**
51
+
52
+ ```
53
+ <|im_start|>system
54
+ {system_message}<|im_end|>
55
+ <|im_start|>user
56
+ {prompt}<|im_end|>
57
+ <|im_start|>assistant
58
+ ```
59
+
60
+ # Run this model
61
+
62
+ You can run this model using [Jan](https://jan.ai/) on Mac, Windows, or Linux.
63
+
64
+ **Jan is an open source, ChatGPT alternative that is:**
65
+
66
+ πŸ’» **100% offline on your machine**: Your conversations remain confidential, and visible only to you.
67
+
68
+ πŸ—‚οΈ **An Open File Format**: Conversations and model settings stay on your computer and can be exported or deleted at any time.
69
+
70
+ 🌐 **OpenAI Compatible**: Local server on port `
71
+ 1337` with OpenAI compatible endpoints
72
+
73
+ 🌍 **Open Source & Free**: We build in public; check out our [Github](https://github.com/janhq)
74
+
75
+ - Please use the [Solar-10.7B-SLERP-GGUF](https://huggingface.co/janhq/Solar-10.7B-SLERP-GGUF) when using on Jan.
76
+
77
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65713d70f56f9538679e5a56/r7VmEBLGXpPLTu2MImM7S.png)
78
+
79
+
80
+ # About Jan
81
+ 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.
82
+
83
+ 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.
84
+
85
+ # Jan Model Merger
86
+ This is a test project for merging models.
87
+
88
+ # Open LLM Leaderboard Evaluation Results
89
+
90
+ Detailed results can be found here.
91
+
92
+ | Metric | Value |
93
+ |-----------------------|---------------------------|
94
+ | Avg. | ?|
95
+ | ARC (25-shot) | ? |
96
+ | HellaSwag (10-shot) | ? |
97
+ | MMLU (5-shot) | ?|
98
+ | TruthfulQA (0-shot) | ? |
99
+ | Winogrande (5-shot) | ? |
100
+ | GSM8K (5-shot) | ? |
101
+
102
+ # Acknowlegement
103
+ - [mergekit](https://github.com/cg123/mergekit)
104
+ - [DARE](https://github.com/yule-BUAA/MergeLM/blob/main/README.md)
105
+ - [SLERP](https://github.com/Digitous/LLM-SLERP-Merge)
106
+ - [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness)