RichardErkhov
commited on
Commit
β’
6f50b8c
1
Parent(s):
a796dd3
uploaded readme
Browse files
README.md
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Quantization made by Richard Erkhov.
|
2 |
+
|
3 |
+
[Github](https://github.com/RichardErkhov)
|
4 |
+
|
5 |
+
[Discord](https://discord.gg/pvy7H8DZMG)
|
6 |
+
|
7 |
+
[Request more models](https://github.com/RichardErkhov/quant_request)
|
8 |
+
|
9 |
+
|
10 |
+
DataVortexS-10.7B-dpo-v1.0 - GGUF
|
11 |
+
- Model creator: https://huggingface.co/Edentns/
|
12 |
+
- Original model: https://huggingface.co/Edentns/DataVortexS-10.7B-dpo-v1.0/
|
13 |
+
|
14 |
+
|
15 |
+
| Name | Quant method | Size |
|
16 |
+
| ---- | ---- | ---- |
|
17 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q2_K.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q2_K.gguf) | Q2_K | 3.73GB |
|
18 |
+
| [DataVortexS-10.7B-dpo-v1.0.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.IQ3_XS.gguf) | IQ3_XS | 4.14GB |
|
19 |
+
| [DataVortexS-10.7B-dpo-v1.0.IQ3_S.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.IQ3_S.gguf) | IQ3_S | 4.37GB |
|
20 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q3_K_S.gguf) | Q3_K_S | 4.34GB |
|
21 |
+
| [DataVortexS-10.7B-dpo-v1.0.IQ3_M.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.IQ3_M.gguf) | IQ3_M | 4.51GB |
|
22 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q3_K.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q3_K.gguf) | Q3_K | 4.84GB |
|
23 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q3_K_M.gguf) | Q3_K_M | 4.84GB |
|
24 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q3_K_L.gguf) | Q3_K_L | 5.26GB |
|
25 |
+
| [DataVortexS-10.7B-dpo-v1.0.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.IQ4_XS.gguf) | IQ4_XS | 5.43GB |
|
26 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q4_0.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q4_0.gguf) | Q4_0 | 5.66GB |
|
27 |
+
| [DataVortexS-10.7B-dpo-v1.0.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.IQ4_NL.gguf) | IQ4_NL | 5.72GB |
|
28 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q4_K_S.gguf) | Q4_K_S | 5.7GB |
|
29 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q4_K.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q4_K.gguf) | Q4_K | 6.02GB |
|
30 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q4_K_M.gguf) | Q4_K_M | 6.02GB |
|
31 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q4_1.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q4_1.gguf) | Q4_1 | 6.27GB |
|
32 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q5_0.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q5_0.gguf) | Q5_0 | 6.89GB |
|
33 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q5_K_S.gguf) | Q5_K_S | 6.89GB |
|
34 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q5_K.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q5_K.gguf) | Q5_K | 7.08GB |
|
35 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q5_K_M.gguf) | Q5_K_M | 7.08GB |
|
36 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q5_1.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q5_1.gguf) | Q5_1 | 7.51GB |
|
37 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q6_K.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q6_K.gguf) | Q6_K | 8.2GB |
|
38 |
+
| [DataVortexS-10.7B-dpo-v1.0.Q8_0.gguf](https://huggingface.co/RichardErkhov/Edentns_-_DataVortexS-10.7B-dpo-v1.0-gguf/blob/main/DataVortexS-10.7B-dpo-v1.0.Q8_0.gguf) | Q8_0 | 10.62GB |
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
Original model description:
|
44 |
+
---
|
45 |
+
tags:
|
46 |
+
- text-generation
|
47 |
+
license: cc-by-nc-sa-4.0
|
48 |
+
language:
|
49 |
+
- ko
|
50 |
+
base_model: megastudy/M-SOLAR-10.7B-v1.3
|
51 |
+
pipeline_tag: text-generation
|
52 |
+
---
|
53 |
+
|
54 |
+
# **DataVortexS-10.7B-dpo-v1.0**
|
55 |
+
|
56 |
+
<img src="./DataVortex.png" alt="DataVortex" style="height: 8em;">
|
57 |
+
|
58 |
+
## Our Team
|
59 |
+
|
60 |
+
| Research & Engineering | Product Management |
|
61 |
+
| :--------------------: | :----------------: |
|
62 |
+
| Kwangseok Yang | Seunghyun Choi |
|
63 |
+
| Jeongwon Choi | Hyoseok Choi |
|
64 |
+
|
65 |
+
## **Model Details**
|
66 |
+
|
67 |
+
### **Base Model**
|
68 |
+
|
69 |
+
[megastudy/M-SOLAR-10.7B-v1.3](https://huggingface.co/megastudy/M-SOLAR-10.7B-v1.3)
|
70 |
+
|
71 |
+
### **Trained On**
|
72 |
+
|
73 |
+
- **OS**: Ubuntu 22.04
|
74 |
+
- **GPU**: H100 80GB 4ea
|
75 |
+
- **transformers**: v4.36.2
|
76 |
+
|
77 |
+
### **Instruction format**
|
78 |
+
|
79 |
+
It follows **Alpaca (Chat)** format.
|
80 |
+
|
81 |
+
E.g.
|
82 |
+
|
83 |
+
```python
|
84 |
+
text = """\
|
85 |
+
### System:
|
86 |
+
λΉμ μ μ¬λλ€μ΄ μ 보λ₯Ό μ°Ύμ μ μλλ‘ λμμ£Όλ μΈκ³΅μ§λ₯ λΉμμ
λλ€.
|
87 |
+
|
88 |
+
### User:
|
89 |
+
λνλ―Όκ΅μ μλλ μ΄λμΌ?
|
90 |
+
|
91 |
+
### Assistant:
|
92 |
+
λνλ―Όκ΅μ μλλ μμΈμ
λλ€.
|
93 |
+
|
94 |
+
### User:
|
95 |
+
μμΈ μΈκ΅¬λ μ΄ λͺ λͺ
μ΄μΌ?
|
96 |
+
"""
|
97 |
+
```
|
98 |
+
|
99 |
+
## **Model Benchmark**
|
100 |
+
|
101 |
+
### **[Ko LM Eval Harness](https://github.com/Beomi/ko-lm-evaluation-harness)**
|
102 |
+
|
103 |
+
| Task | 0-shot | 5-shot | 10-shot | 50-shot |
|
104 |
+
| :--------------- | -------------: | -----------: | -------------: | -------------: |
|
105 |
+
| kobest_boolq | 0.867265 | 0.930834 | 0.938736 | 0.938023 |
|
106 |
+
| kobest_copa | 0.722438 | 0.792716 | 0.782842 | 0.805869 |
|
107 |
+
| kobest_hellaswag | 0.484781 | 0.480055 | 0.496734 | 0.501488 |
|
108 |
+
| kobest_sentineg | 0.759887 | 0.964735 | 0.964735 | 0.972291 |
|
109 |
+
| **Average** | **0.70859275** | **0.792085** | **0.79576175** | **0.80441775** |
|
110 |
+
|
111 |
+
### **[Ko-LLM-Leaderboard](https://huggingface.co/spaces/upstage/open-ko-llm-leaderboard)**
|
112 |
+
|
113 |
+
| Average | Ko-ARC | Ko-HellaSwag | Ko-MMLU | Ko-TruthfulQA | Ko-CommonGen V2 |
|
114 |
+
| ------: | -----: | -----------: | ------: | ------------: | --------------: |
|
115 |
+
| 57.92 | 56.91 | 65.81 | 53.81 | 58.77 | 54.31 |
|
116 |
+
|
117 |
+
## **Implementation Code**
|
118 |
+
|
119 |
+
This model contains the chat_template instruction format.
|
120 |
+
You can use the code below.
|
121 |
+
|
122 |
+
```python
|
123 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
124 |
+
|
125 |
+
device = "cuda" # the device to load the model onto
|
126 |
+
|
127 |
+
model = AutoModelForCausalLM.from_pretrained("Edentns/DataVortexS-10.7B-dpo-v1.0")
|
128 |
+
tokenizer = AutoTokenizer.from_pretrained("Edentns/DataVortexS-10.7B-dpo-v1.0")
|
129 |
+
|
130 |
+
messages = [
|
131 |
+
{"role": "system", "content": "λΉμ μ μ¬λλ€μ΄ μ 보λ₯Ό μ°Ύμ μ μλλ‘ λμμ£Όλ μΈκ³΅μ§λ₯ λΉμμ
λλ€."},
|
132 |
+
{"role": "user", "content": "λνλ―Όκ΅μ μλλ μ΄λμΌ?"},
|
133 |
+
{"role": "assistant", "content": "λνλ―Όκ΅μ μλλ μμΈμ
λλ€."},
|
134 |
+
{"role": "user", "content": "μμΈ μΈκ΅¬λ μ΄ λͺ λͺ
μ΄μΌ?"}
|
135 |
+
]
|
136 |
+
|
137 |
+
encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
138 |
+
|
139 |
+
model_inputs = encodeds.to(device)
|
140 |
+
model.to(device)
|
141 |
+
|
142 |
+
generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
|
143 |
+
decoded = tokenizer.batch_decode(generated_ids)
|
144 |
+
print(decoded[0])
|
145 |
+
```
|
146 |
+
|
147 |
+
## **License**
|
148 |
+
|
149 |
+
The model is licensed under the [cc-by-nc-sa-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license, which allows others to copy, modify, and share the work non-commercially, as long as they give appropriate credit and distribute any derivative works under the same license.
|
150 |
+
|
151 |
+
<div align="center">
|
152 |
+
<a href="https://edentns.com/">
|
153 |
+
<img src="./Logo.png" alt="Logo" style="height: 3em;">
|
154 |
+
</a>
|
155 |
+
</div>
|
156 |
+
|
157 |
+
|