DopeorNope
commited on
Commit
·
8aabf0c
1
Parent(s):
3c24763
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ko
|
4 |
+
library_name: transformers
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
license: cc-by-nc-sa-4.0
|
7 |
+
---
|
8 |
+
**The license is `cc-by-nc-sa-4.0`.**
|
9 |
+
|
10 |
+
# **🐻❄️SOLARC-MOE-10.7Bx4🐻❄️**
|
11 |
+
![img](https://drive.google.com/uc?export=view&id=1Uwj17SlMfaE3fqiVFrnTOdnEWoZqYJmr)
|
12 |
+
|
13 |
+
|
14 |
+
## Model Details
|
15 |
+
|
16 |
+
**Model Developers** Seungyoo Lee(DopeorNope)
|
17 |
+
I am in charge of Large Language Models (LLMs) at Markr AI team in South Korea.
|
18 |
+
|
19 |
+
**Input** Models input text only.
|
20 |
+
|
21 |
+
**Output** Models generate text only.
|
22 |
+
|
23 |
+
**Model Architecture**
|
24 |
+
SOLARC-MOE-10.7Bx4 is an auto-regressive language model based on the SOLAR architecture.
|
25 |
+
|
26 |
+
---
|
27 |
+
|
28 |
+
## **Base Model**
|
29 |
+
|
30 |
+
[kyujinpy/Sakura-SOLAR-Instruct](https://huggingface.co/kyujinpy/Sakura-SOLAR-Instruct)
|
31 |
+
|
32 |
+
[Weyaxi/SauerkrautLM-UNA-SOLAR-Instruct](https://huggingface.co/Weyaxi/SauerkrautLM-UNA-SOLAR-Instruct)
|
33 |
+
|
34 |
+
[VAGOsolutions/SauerkrautLM-SOLAR-Instruct](https://huggingface.co/VAGOsolutions/SauerkrautLM-SOLAR-Instruct)
|
35 |
+
|
36 |
+
[fblgit/UNA-SOLAR-10.7B-Instruct-v1.0](https://huggingface.co/fblgit/UNA-SOLAR-10.7B-Instruct-v1.0)
|
37 |
+
|
38 |
+
## **Implemented Method**
|
39 |
+
|
40 |
+
I have built a model using the Mixture of Experts (MOE) approach, utilizing each of these models as the base.
|
41 |
+
|
42 |
+
---
|
43 |
+
|
44 |
+
# Implementation Code
|
45 |
+
|
46 |
+
|
47 |
+
## Load model
|
48 |
+
```python
|
49 |
+
|
50 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
51 |
+
import torch
|
52 |
+
|
53 |
+
repo = "DopeorNope/SOLARC-MOE-10.7Bx4"
|
54 |
+
OpenOrca = AutoModelForCausalLM.from_pretrained(
|
55 |
+
repo,
|
56 |
+
return_dict=True,
|
57 |
+
torch_dtype=torch.float16,
|
58 |
+
device_map='auto'
|
59 |
+
)
|
60 |
+
OpenOrca_tokenizer = AutoTokenizer.from_pretrained(repo)
|
61 |
+
```
|
62 |
+
|
63 |
+
|
64 |
+
---
|