LoneStriker
commited on
Commit
•
b98024f
1
Parent(s):
11db31c
Upload folder using huggingface_hub
Browse files- .gitattributes +7 -35
- MoMo-72B-lora-1.8.6-DPO-Q2_K.gguf +3 -0
- MoMo-72B-lora-1.8.6-DPO-Q3_K_L.gguf +3 -0
- MoMo-72B-lora-1.8.6-DPO-Q3_K_M.gguf +3 -0
- MoMo-72B-lora-1.8.6-DPO-Q3_K_S.gguf +3 -0
- MoMo-72B-lora-1.8.6-DPO-Q4_K_M.gguf +3 -0
- MoMo-72B-lora-1.8.6-DPO-Q4_K_S.gguf +3 -0
- MoMo-72B-lora-1.8.6-DPO-Q5_K_S.gguf +3 -0
- README.md +45 -0
- merges.txt +0 -0
.gitattributes
CHANGED
@@ -1,35 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
+
MoMo-72B-lora-1.8.6-DPO-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
2 |
+
MoMo-72B-lora-1.8.6-DPO-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
3 |
+
MoMo-72B-lora-1.8.6-DPO-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
4 |
+
MoMo-72B-lora-1.8.6-DPO-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
5 |
+
MoMo-72B-lora-1.8.6-DPO-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
6 |
+
MoMo-72B-lora-1.8.6-DPO-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
7 |
+
MoMo-72B-lora-1.8.6-DPO-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MoMo-72B-lora-1.8.6-DPO-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfe8dea5fe9924e4bd786c4a92f309fe3ca99acd4dfcb1c6547b7db1c4810c95
|
3 |
+
size 27077445024
|
MoMo-72B-lora-1.8.6-DPO-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:970e66f6c6fb73e54ab73d4429571f96fddecfb88ae4517c362117e192cd81ec
|
3 |
+
size 38486640032
|
MoMo-72B-lora-1.8.6-DPO-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d921c443f2e7251be2ca3cb024f59ab5e4bcb6a650c2391eb0c0f192388741d8
|
3 |
+
size 35273803168
|
MoMo-72B-lora-1.8.6-DPO-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:780973c32eda322678f212b0c64222dd63b1eacb7809d0790ce234ccc221ac5a
|
3 |
+
size 31566038432
|
MoMo-72B-lora-1.8.6-DPO-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f211bb3c6da21bb86db7e5d57c27fd81c9323612bf04edf2822ede6c08c5a29d
|
3 |
+
size 43769136544
|
MoMo-72B-lora-1.8.6-DPO-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a5dd60c12313268e4beddb1bd3966d8e6606473c7b71a758421d28b330157a4
|
3 |
+
size 41286108576
|
MoMo-72B-lora-1.8.6-DPO-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bc74c6c21bdbf5c3d79220b9c155667655d2acd9737299b738910a5ceb7486e
|
3 |
+
size 49880761760
|
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
---
|
6 |
+
# **Introduction**
|
7 |
+
MoMo-72B-lora-1.8.6-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.
|
8 |
+
[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.
|
9 |
+
Note that we did not exploit any form of weight merge.
|
10 |
+
For leaderboard submission, the trained weight is realigned for compatibility with llama.
|
11 |
+
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.
|
12 |
+
|
13 |
+
|
14 |
+
## Details
|
15 |
+
### Used Librarys
|
16 |
+
- torch
|
17 |
+
- peft
|
18 |
+
### Used Datasets
|
19 |
+
- [slimorca](Open-Orca/SlimOrca)
|
20 |
+
- [truthy](https://huggingface.co/datasets/jondurbin/truthy-dpo-v0.1)
|
21 |
+
- [orca_dpo_pairs](https://huggingface.co/datasets/Intel/orca_dpo_pairs)
|
22 |
+
- No other dataset was used
|
23 |
+
- No benchmark test set or the training set are used
|
24 |
+
- [data contamination check](https://github.com/swj0419/detect-pretrain-code-contamination) result
|
25 |
+
|
26 |
+
| Model | ARC | MMLU | TruthfulQA | GSM8K |
|
27 |
+
|------------------------------|-------|-------|-------|-------|
|
28 |
+
| **V1.8.6(result < 0.1, %)**| TBU |TBU | 0.73 | TBU |
|
29 |
+
### Used Environments
|
30 |
+
- AMD MI250 & MoAI platform
|
31 |
+
- Please visit https://moreh.io/product for more information about MoAI platform
|
32 |
+
- Or, contact us directly [contact@moreh.io](mailto:contact@moreh.io)
|
33 |
+
|
34 |
+
## How to use
|
35 |
+
|
36 |
+
```python
|
37 |
+
# pip install transformers==4.35.2
|
38 |
+
import torch
|
39 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
40 |
+
|
41 |
+
tokenizer = AutoTokenizer.from_pretrained("moreh/MoMo-72B-lora-1.8.6-DPO")
|
42 |
+
model = AutoModelForCausalLM.from_pretrained(
|
43 |
+
"moreh/MoMo-72B-lora-1.8.6-DPO"
|
44 |
+
)
|
45 |
+
```
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|