Steelskull commited on
Commit
95a0e75
1 Parent(s): 1ab9346

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +115 -0
README.md CHANGED
@@ -1,3 +1,118 @@
1
  ---
2
  license: apache-2.0
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ pipeline_tag: text-generation
4
  ---
5
+
6
+ # Celestria-MoE-8x10.7b
7
+
8
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/64545af5ec40bbbd01242ca6/tiORws6ezzAHGJJODC8PA.png)
9
+
10
+ The Celestria Series, is the older sibling of the Lumosia and Umbra Series.
11
+ It is an experiment born from the collective wisdom of the AI community, a mosaic of the eight best-performing Solar models (By my prefrences)
12
+
13
+ With this model I have created positive and negative prompt sentances:
14
+
15
+ [Celestria Series] Based on prompt sentances.
16
+
17
+ [Umbra Series] based on prompt keywords.
18
+
19
+ [Lumosia Series] based on prompt topics.
20
+
21
+ Let me know what you think.
22
+
23
+ Come join the Discord:
24
+ [ConvexAI](https://discord.gg/yYqmNmg7Wj)
25
+
26
+
27
+ Template:
28
+ ```
29
+ ### System:
30
+
31
+ ### USER:{prompt}
32
+
33
+ ### Assistant:
34
+ ```
35
+
36
+
37
+ Settings:
38
+ ```
39
+ Temp: 1.0
40
+ min-p: 0.02-0.1
41
+ ```
42
+
43
+ ## Evals:
44
+
45
+ To come
46
+
47
+ * Avg:
48
+ * ARC:
49
+ * HellaSwag:
50
+ * MMLU:
51
+ * T-QA:
52
+ * Winogrande:
53
+ * GSM8K:
54
+
55
+ ## Examples:
56
+ ```
57
+ Example 1:
58
+
59
+ User:
60
+
61
+ Celestria:
62
+
63
+ ```
64
+ ```
65
+ Example 2:
66
+
67
+ User:
68
+
69
+ Celestria:
70
+
71
+ ```
72
+
73
+ ## 🧩 Configuration
74
+
75
+ ```
76
+ yaml
77
+ experts:
78
+ - source_model: Fimbulvetr-10.7B-v1
79
+
80
+ - source_model: PiVoT-10.7B-Mistral-v0.2-RP
81
+
82
+ - source_model: UNA-POLAR-10.7B-InstructMath-v2
83
+
84
+ - source_model: LMCocktail-10.7B-v1
85
+
86
+ - source_model: CarbonBeagle-11B
87
+
88
+ - source_model: SOLARC-M-10.7B
89
+
90
+ - source_model: Nous-Hermes-2-SOLAR-10.7B-MISALIGNED
91
+
92
+ - source_model: CarbonVillain-en-10.7B-v4
93
+ ```
94
+
95
+ ## 💻 Usage
96
+
97
+ ```
98
+ python
99
+ !pip install -qU transformers bitsandbytes accelerate
100
+
101
+ from transformers import AutoTokenizer
102
+ import transformers
103
+ import torch
104
+
105
+ model = "Steelskull/Celestria-MoE-8x10.7b"
106
+
107
+ tokenizer = AutoTokenizer.from_pretrained(model)
108
+ pipeline = transformers.pipeline(
109
+ "text-generation",
110
+ model=model,
111
+ model_kwargs={"torch_dtype": torch.bfloat16, "load_in_4bit": True},
112
+ )
113
+
114
+ messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
115
+ prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
116
+ outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
117
+ print(outputs[0]["generated_text"])
118
+ ```