Update README.md
Browse files
README.md
CHANGED
@@ -2,6 +2,56 @@
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
## 💻 Usage
|
7 |
```python
|
@@ -11,7 +61,7 @@ from transformers import AutoTokenizer
|
|
11 |
import transformers
|
12 |
import torch
|
13 |
|
14 |
-
model = "mayacinka/
|
15 |
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
17 |
pipeline = transformers.pipeline(
|
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
5 |
+
## 🧩 Configuration
|
6 |
+
|
7 |
+
```yaml
|
8 |
+
base_model: /home/Ubuntu/Desktop/mergekit/models/Mistral-7B-Instruct-v0.2
|
9 |
+
gate_mode: hidden
|
10 |
+
dtype: bfloat16
|
11 |
+
experts:
|
12 |
+
- source_model: /home/Ubuntu/Desktop/mergekit/models/Mistral-7B-Instruct-v0.2
|
13 |
+
positive_prompts:
|
14 |
+
- "instructions"
|
15 |
+
- "concise"
|
16 |
+
- "straightforward"
|
17 |
+
- "helpful"
|
18 |
+
- "assistant"
|
19 |
+
negative_prompts:
|
20 |
+
- "vague"
|
21 |
+
- "inaccurate"
|
22 |
+
- "verbose"
|
23 |
+
- "complicated"
|
24 |
+
- "speculative"
|
25 |
+
- source_model: /home/Ubuntu/Desktop/mergekit/models/NeuralOmniWestBeaglake-7B
|
26 |
+
positive_prompts:
|
27 |
+
- "storytelling"
|
28 |
+
- "role play"
|
29 |
+
- "imagine"
|
30 |
+
- "artistic"
|
31 |
+
- "narrative"
|
32 |
+
- source_model: /home/Ubuntu/Desktop/mergekit/models/Kunoichi-DPO-v2-7B
|
33 |
+
positive_prompts:
|
34 |
+
- "reason"
|
35 |
+
- "think step by step"
|
36 |
+
- "logic"
|
37 |
+
- "knowledge"
|
38 |
+
negative_prompts:
|
39 |
+
- "artistic"
|
40 |
+
- "speculative"
|
41 |
+
- "playful"
|
42 |
+
- source_model: /home/Ubuntu/Desktop/mergekit/models/Starling-LM-7B-alpha
|
43 |
+
positive_prompts:
|
44 |
+
- "code"
|
45 |
+
- "python"
|
46 |
+
- "javascript"
|
47 |
+
- "react"
|
48 |
+
- "clear"
|
49 |
+
- "programming"
|
50 |
+
negative_prompts:
|
51 |
+
- "error"
|
52 |
+
- "art"
|
53 |
+
- "role play"
|
54 |
+
```
|
55 |
|
56 |
## 💻 Usage
|
57 |
```python
|
|
|
61 |
import transformers
|
62 |
import torch
|
63 |
|
64 |
+
model = "mayacinka/West-Ramen-7Bx4"
|
65 |
|
66 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
67 |
pipeline = transformers.pipeline(
|