Triangle104 commited on
Commit
1682600
1 Parent(s): 86e399a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -1
README.md CHANGED
@@ -3,12 +3,83 @@ base_model: FuseAI/FuseChat-Qwen-2.5-7B-Instruct
3
  tags:
4
  - llama-cpp
5
  - gguf-my-repo
 
6
  ---
7
 
8
  # Triangle104/FuseChat-Qwen-2.5-7B-Instruct-Q8_0-GGUF
9
  This model was converted to GGUF format from [`FuseAI/FuseChat-Qwen-2.5-7B-Instruct`](https://huggingface.co/FuseAI/FuseChat-Qwen-2.5-7B-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
10
  Refer to the [original model card](https://huggingface.co/FuseAI/FuseChat-Qwen-2.5-7B-Instruct) for more details on the model.
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ## Use with llama.cpp
13
  Install llama.cpp through brew (works on Mac and Linux)
14
 
@@ -47,4 +118,4 @@ Step 3: Run inference through the main binary.
47
  or
48
  ```
49
  ./llama-server --hf-repo Triangle104/FuseChat-Qwen-2.5-7B-Instruct-Q8_0-GGUF --hf-file fusechat-qwen-2.5-7b-instruct-q8_0.gguf -c 2048
50
- ```
 
3
  tags:
4
  - llama-cpp
5
  - gguf-my-repo
6
+ license: apache-2.0
7
  ---
8
 
9
  # Triangle104/FuseChat-Qwen-2.5-7B-Instruct-Q8_0-GGUF
10
  This model was converted to GGUF format from [`FuseAI/FuseChat-Qwen-2.5-7B-Instruct`](https://huggingface.co/FuseAI/FuseChat-Qwen-2.5-7B-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
11
  Refer to the [original model card](https://huggingface.co/FuseAI/FuseChat-Qwen-2.5-7B-Instruct) for more details on the model.
12
 
13
+ ---
14
+
15
+ transferring capabilities from source LLMs to a target LLM. First,
16
+ during dataset construction, we sample N responses from
17
+ each of the source LLMs and annotate these responses using an external
18
+ reward model. Second, in the supervised fine-tuning (SFT)
19
+ stage, we fine-tune the target model using the best responses, which
20
+ not only enhances the target model's capabilities but also helps
21
+ mitigate the distributional gap between the source and target models.
22
+ Finally, in the direct preference optimization (DPO)
23
+ stage, we optimize the target model by using the best and worst
24
+ responses from the source models as preference pairs, further enhancing
25
+ the target model's performance. The complete pipeline will be detailed
26
+ in the following paragraph.
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+ Dataset
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+ Prompt Selection
45
+
46
+
47
+
48
+
49
+ Our datasets were designed to enhance model's instruction following,
50
+ general conversation, mathematics, coding, and Chinese-language
51
+ capabilities. We selected data from open-source community datasets,
52
+ applying targeted filtering and preprocessing. Key datasets and
53
+ filtering criteria included:
54
+
55
+
56
+ Instruction Following & General Conversation: Sourced from UltraFeedback, Magpie-Pro-DPO-100K-v0.1, and HelpSteer2, excluding code and math data.
57
+ Mathematics: Selected from OpenMathInstruct-2, with nearly 60,000 unique samples.
58
+ Coding: Curated from leetcode and self-oss-instruct-sc2-exec-filter-50k, retaining prompts with test cases.
59
+ Chinese Language: Integrated alpaca_gpt4_zh and Magpie-Qwen2-Pro-200K-Chinese, filtering out code and math prompts to retain approximately 10,000 high-quality samples.
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+ Response Sampling
68
+
69
+
70
+
71
+
72
+ For each dataset's prompts, we synthesized responses mainly from four different series of source models, specifically Gemma-2-27b-It, Mistral-Large-Instruct-2407, Qwen-2.5-72B-Instruct, and Llama-3.1-70B-Instruct.
73
+
74
+
75
+ Instruction Following & General Conversation: We sampled each prompt five times from all the source models.
76
+ Mathematics: We retained the responses generated by
77
+ Llama-3.1-405B-Instruct from the original dataset (OpenMathInstruct-2)
78
+ and additionally sampled responses using Qwen-2.5-Math-72B-Instruct.
79
+ Coding: We sampled each prompt eight times for all source models.
80
+ Chinese Language: We included single response sampled exclusively from Qwen-2.5-72B-Instruct.
81
+
82
+ ---
83
  ## Use with llama.cpp
84
  Install llama.cpp through brew (works on Mac and Linux)
85
 
 
118
  or
119
  ```
120
  ./llama-server --hf-repo Triangle104/FuseChat-Qwen-2.5-7B-Instruct-Q8_0-GGUF --hf-file fusechat-qwen-2.5-7b-instruct-q8_0.gguf -c 2048
121
+ ```