RichardErkhov
commited on
Commit
•
b4617e1
1
Parent(s):
4dd8079
uploaded readme
Browse files
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
MoMo-72B-lora-1.8.7-DPO - GGUF
|
11 |
+
- Model creator: https://huggingface.co/moreh/
|
12 |
+
- Original model: https://huggingface.co/moreh/MoMo-72B-lora-1.8.7-DPO/
|
13 |
+
|
14 |
+
|
15 |
+
| Name | Quant method | Size |
|
16 |
+
| ---- | ---- | ---- |
|
17 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q2_K.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.Q2_K.gguf) | Q2_K | 25.22GB |
|
18 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.Q3_K_S.gguf) | Q3_K_S | 29.4GB |
|
19 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q3_K.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.Q3_K.gguf) | Q3_K | 32.85GB |
|
20 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.Q3_K_M.gguf) | Q3_K_M | 22.65GB |
|
21 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.Q3_K_L.gguf) | Q3_K_L | 35.85GB |
|
22 |
+
| [MoMo-72B-lora-1.8.7-DPO.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.IQ4_XS.gguf) | IQ4_XS | 12.38GB |
|
23 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q4_0.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q4_0 | 38.19GB |
|
24 |
+
| [MoMo-72B-lora-1.8.7-DPO.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.IQ4_NL.gguf) | IQ4_NL | 22.78GB |
|
25 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q4_K_S | 38.45GB |
|
26 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q4_K.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q4_K | 40.77GB |
|
27 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q4_K_M | 40.77GB |
|
28 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q4_1.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q4_1 | 42.32GB |
|
29 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q5_0.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q5_0 | 46.46GB |
|
30 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q5_K_S | 46.46GB |
|
31 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q5_K.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.Q5_K.gguf) | Q5_K | 30.07GB |
|
32 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q5_K_M | 44.32GB |
|
33 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q5_1.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/blob/main/MoMo-72B-lora-1.8.7-DPO.Q5_1.gguf) | Q5_1 | 34.26GB |
|
34 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q6_K.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q6_K | 55.24GB |
|
35 |
+
| [MoMo-72B-lora-1.8.7-DPO.Q8_0.gguf](https://huggingface.co/RichardErkhov/moreh_-_MoMo-72B-lora-1.8.7-DPO-gguf/tree/main/) | Q8_0 | 71.55GB |
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
Original model description:
|
41 |
+
---
|
42 |
+
license: mit
|
43 |
+
language:
|
44 |
+
- en
|
45 |
+
metrics:
|
46 |
+
- accuracy
|
47 |
+
library_name: transformers
|
48 |
+
---
|
49 |
+
|
50 |
+
# 24/04/05 update
|
51 |
+
We introduce [Moreh AI Model Hub with AMD GPU](https://model-hub.moreh.io/), an ai model host platform powered by AMD MI250 GPUs.
|
52 |
+
You can now test live-inference of this model at Moreh AI Model Hub.
|
53 |
+
|
54 |
+
# **Introduction**
|
55 |
+
MoMo-72B-lora-1.8.7-DPO is trained via Direct Preference Optimization([DPO](https://arxiv.org/abs/2305.18290)) from [MoMo-72B-LoRA-V1.4](https://huggingface.co/moreh/MoMo-72B-LoRA-V1.4) as its base model, with several optimizations in hyperparameters.
|
56 |
+
[MoMo-72B-LoRA-V1.4](https://huggingface.co/moreh/MoMo-72B-LoRA-V1.4) is trained via Supervised Fine-Tuning (SFT) using [LoRA](https://arxiv.org/abs/2106.09685), with the QWEN-72B model as its base-model.
|
57 |
+
Note that we did not exploit any form of weight merge.
|
58 |
+
For leaderboard submission, the trained weight is realigned for compatibility with llama.
|
59 |
+
MoMo-72B is trained using **[Moreh](https://moreh.io/)**'s [MoAI platform](https://moreh.io/product), which simplifies the training of large-scale models, and AMD's MI250 GPU.
|
60 |
+
#
|
61 |
+
|
62 |
+
## Details
|
63 |
+
### Used Librarys
|
64 |
+
- torch
|
65 |
+
- peft
|
66 |
+
### Used Datasets
|
67 |
+
- [slimorca](Open-Orca/SlimOrca)
|
68 |
+
- [truthy](https://huggingface.co/datasets/jondurbin/truthy-dpo-v0.1)
|
69 |
+
- [orca_dpo_pairs](https://huggingface.co/datasets/Intel/orca_dpo_pairs)
|
70 |
+
- No other dataset was used
|
71 |
+
- No benchmark test set or the training set are used
|
72 |
+
- [data contamination check](https://github.com/swj0419/detect-pretrain-code-contamination) result
|
73 |
+
|
74 |
+
| Model | ARC | MMLU | TruthfulQA | GSM8K |
|
75 |
+
|------------------------------|-------|-------|-------|-------|
|
76 |
+
| **V1.8.7(result < 0.1, %)**| TBU |TBU | 0.44 | 0.47 |
|
77 |
+
### Used Environments
|
78 |
+
- AMD MI250 & MoAI platform
|
79 |
+
- Please visit https://moreh.io/product for more information about MoAI platform
|
80 |
+
- Or, contact us directly [contact@moreh.io](mailto:contact@moreh.io)
|
81 |
+
|
82 |
+
## How to use
|
83 |
+
|
84 |
+
```python
|
85 |
+
# pip install transformers==4.35.2
|
86 |
+
import torch
|
87 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
88 |
+
|
89 |
+
tokenizer = AutoTokenizer.from_pretrained("moreh/MoMo-72B-lora-1.8.7-DPO")
|
90 |
+
model = AutoModelForCausalLM.from_pretrained(
|
91 |
+
"moreh/MoMo-72B-lora-1.8.7-DPO"
|
92 |
+
)
|
93 |
+
```
|
94 |
+
|