DavidAU commited on
Commit
2bd30f0
·
verified ·
1 Parent(s): 31b8ae5

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +125 -0
README.md ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_models:
4
+ - open-r1/OlympicCoder-7B
5
+ - Qwen/Qwen2.5-Coder-7B-Instruct
6
+ - CodeV-R1-Qwen-7B
7
+ - TIGER-Lab/VisCoder-7B
8
+ language:
9
+ - en
10
+ pipeline_tag: text-generation
11
+ tags:
12
+ - merge
13
+ - programming
14
+ - code generation
15
+ - code
16
+ - codeqwen
17
+ - moe
18
+ - coding
19
+ - coder
20
+ - qwen2
21
+ - chat
22
+ - qwen
23
+ - qwen-coder
24
+ - mixture of experts
25
+ - qwen2moe
26
+ - 4X7B
27
+ - shared expert
28
+ ---
29
+
30
+ <h2>Qwen2.5-4x7B-Quad-Coder-Instruct-34B</h2>
31
+
32
+ This repo contains the full precision source code, in "safe tensors" format to generate GGUFs, GPTQ, EXL2, AWQ, HQQ and other formats.
33
+ The source code can also be used directly.
34
+
35
+ Coder MOE with 4 top coder models in a Mixture of Experts config, using the full power of each model to code in a 34B model.
36
+
37
+ Included:
38
+ - Qwen/Qwen2.5-Coder-7B-Instruct (500+ likes; all major + many minor programming languages)
39
+ - open-r1/OlympicCoder-7B (179+ likes; all major + many minor programming languages)
40
+ - zhuyaoyu/CodeV-R1-Qwen-7B (a model that employs reinforcement learning (RL) fine-tuning)
41
+ - TIGER-Lab/VisCoder-7B (a large language model fine-tuned for Python visualization code generation and multi-turn self-correction)
42
+
43
+ FOUR models all working together to code.
44
+
45
+ Default config is 2 experts (of 4 activated).
46
+
47
+ Suggest using 2-4 experts for maximum power.
48
+
49
+ SETTINGS:
50
+ - Temp .5 to .7 (or lower)
51
+ - Max Context is 32k (final versions will be 32k, 128k and maybe higher).
52
+ - topk: 20, topp: .8, minp: .05
53
+ - rep pen: 1.05-1.1 (can be lower)
54
+ - Jinja Template (embedded) or CHATML template.
55
+ - A System Prompt is not required. (ran tests with blank system prompt)
56
+
57
+ MODELS in THIS MOE - see each for more information, benchmarks and how they operate:
58
+
59
+ https://huggingface.co/open-r1/OlympicCoder-7B
60
+
61
+ https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct
62
+
63
+ https://huggingface.co/zhuyaoyu/CodeV-R1-Qwen-7B
64
+
65
+ https://huggingface.co/TIGER-Lab/VisCoder-7B
66
+
67
+ [ more to come ]
68
+
69
+ ---
70
+
71
+ For more information / other Qwen/Mistral Coders / additional settings see:
72
+
73
+ [ https://huggingface.co/DavidAU/Qwen2.5-MOE-2x-4x-6x-8x__7B__Power-CODER__19B-30B-42B-53B-gguf ]
74
+
75
+ ---
76
+
77
+ <H2>Help, Adjustments, Samplers, Parameters and More</H2>
78
+
79
+ ---
80
+
81
+ <B>CHANGE THE NUMBER OF ACTIVE EXPERTS:</B>
82
+
83
+ See this document:
84
+
85
+ https://huggingface.co/DavidAU/How-To-Set-and-Manage-MOE-Mix-of-Experts-Model-Activation-of-Experts
86
+
87
+ <B>Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model:</B>
88
+
89
+ In "KoboldCpp" or "oobabooga/text-generation-webui" or "Silly Tavern" ;
90
+
91
+ Set the "Smoothing_factor" to 1.5
92
+
93
+ : in KoboldCpp -> Settings->Samplers->Advanced-> "Smooth_F"
94
+
95
+ : in text-generation-webui -> parameters -> lower right.
96
+
97
+ : In Silly Tavern this is called: "Smoothing"
98
+
99
+
100
+ NOTE: For "text-generation-webui"
101
+
102
+ -> if using GGUFs you need to use "llama_HF" (which involves downloading some config files from the SOURCE version of this model)
103
+
104
+ Source versions (and config files) of my models are here:
105
+
106
+ https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be
107
+
108
+ OTHER OPTIONS:
109
+
110
+ - Increase rep pen to 1.1 to 1.15 (you don't need to do this if you use "smoothing_factor")
111
+
112
+ - If the interface/program you are using to run AI MODELS supports "Quadratic Sampling" ("smoothing") just make the adjustment as noted.
113
+
114
+ <B>Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers</B>
115
+
116
+ This a "Class 1" model:
117
+
118
+ For all settings used for this model (including specifics for its "class"), including example generation(s) and for advanced settings guide (which many times addresses any model issue(s)), including methods to improve model performance for all use case(s) as well as chat, roleplay and other use case(s) please see:
119
+
120
+ [ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]
121
+
122
+ You can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here:
123
+
124
+ [ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]
125
+