DavidAU commited on
Commit
311a4bc
·
verified ·
1 Parent(s): a8c3f5f

Create README.md

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