janai-hq commited on
Commit
e5801b3
β€’
1 Parent(s): 84d2d02

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +107 -0
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. [viethq188/LeoScorpius-7B-Chat-DPO](https://huggingface.co/viethq188/LeoScorpius-7B-Chat-DPO)
23
+ 2. [GreenNode/GreenNodeLM-7B-v1olet](https://huggingface.co/GreenNode/GreenNodeLM-7B-v1olet)
24
+
25
+ - base model: [GreenNode/GreenNodeLM-7B-v1olet](https://huggingface.co/GreenNode/GreenNodeLM-7B-v1olet)
26
+
27
+ The yaml config file for this model is here:
28
+
29
+ ```yaml
30
+ slices:
31
+ - sources:
32
+ - model: viethq188/LeoScorpius-7B-Chat-DPO
33
+
34
+ layer_range: [0, 32]
35
+ - model: GreenNode/GreenNodeLM-7B-v1olet
36
+ layer_range: [0, 32]
37
+ merge_method: slerp
38
+ base_model: GreenNode/GreenNodeLM-7B-v1olet
39
+ parameters:
40
+ t:
41
+ - filter: self_attn
42
+ value: [0, 0.5, 0.3, 0.7, 1]
43
+ - filter: mlp
44
+ value: [1, 0.5, 0.7, 0.3, 0]
45
+ - value: 0.5
46
+ dtype: bfloat16
47
+ ```
48
+
49
+ # Prompt template
50
+
51
+ - **ChatML**
52
+
53
+ ```
54
+ <|im_start|>system
55
+ {system_message}<|im_end|>
56
+ <|im_start|>user
57
+ {prompt}<|im_end|>
58
+ <|im_start|>assistant
59
+ ```
60
+
61
+ # Run this model
62
+
63
+ You can run this model using [Jan](https://jan.ai/) on Mac, Windows, or Linux.
64
+
65
+ **Jan is an open source, ChatGPT alternative that is:**
66
+
67
+ πŸ’» **100% offline on your machine**: Your conversations remain confidential, and visible only to you.
68
+
69
+ πŸ—‚οΈ **An Open File Format**: Conversations and model settings stay on your computer and can be exported or deleted at any time.
70
+
71
+ 🌐 **OpenAI Compatible**: Local server on port `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 [trinity-v1-GGUF](https://huggingface.co/janhq/trinity-v1-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
+ -
106
+ [SLERP](https://github.com/Digitous/LLM-SLERP-Merge)
107
+ - [lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness)