Qwen2.5-2X7B-Coder-Instruct-OlympicCoder-19B

This repo contains the full precision source code, in "safe tensors" format to generate GGUFs, GPTQ, EXL2, AWQ, HQQ and other formats. The source code can also be used directly.

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.

Included:

  • Qwen/Qwen2.5-Coder-7B-Instruct (500+ likes; all major + many minor programming languages)
  • open-r1/OlympicCoder-7B (179+ likes; all major + many minor programming languages)

TWO models all working together to code, with Qwen2.5-Coder-7B-Instruct as a shared expert too.

Default config is 2 experts activated.

NOTE: All experts help with coding, regardless of how many you have activated.

SETTINGS:

  • Temp .5 to .7 (or lower)
  • Max Context is 32k
  • topk: 20, topp: .8, minp: .05
  • rep pen: 1.05-1.1 (can be lower)
  • Jinja Template (embedded) or CHATML template.
  • A System Prompt is not required. (ran tests with blank system prompt)

MODELS in THIS MOE - see each for more information, benchmarks and how they operate:

https://huggingface.co/open-r1/OlympicCoder-7B

https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct


For more information / other Qwen/Mistral Coders / additional settings see:

[ https://huggingface.co/DavidAU/Qwen2.5-MOE-2x-4x-6x-8x__7B__Power-CODER__19B-30B-42B-53B-gguf ]


Help, Adjustments, Samplers, Parameters and More


CHANGE THE NUMBER OF ACTIVE EXPERTS:

See this document:

https://huggingface.co/DavidAU/How-To-Set-and-Manage-MOE-Mix-of-Experts-Model-Activation-of-Experts

Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model:

In "KoboldCpp" or "oobabooga/text-generation-webui" or "Silly Tavern" ;

Set the "Smoothing_factor" to 1.5

: in KoboldCpp -> Settings->Samplers->Advanced-> "Smooth_F"

: in text-generation-webui -> parameters -> lower right.

: In Silly Tavern this is called: "Smoothing"

NOTE: For "text-generation-webui"

-> if using GGUFs you need to use "llama_HF" (which involves downloading some config files from the SOURCE version of this model)

Source versions (and config files) of my models are here:

https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be

OTHER OPTIONS:

  • Increase rep pen to 1.1 to 1.15 (you don't need to do this if you use "smoothing_factor")

  • If the interface/program you are using to run AI MODELS supports "Quadratic Sampling" ("smoothing") just make the adjustment as noted.

Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers

This a "Class 1" model:

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:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]

You can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]

Downloads last month
13
Safetensors
Model size
19B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for DavidAU/Qwen2.5-2X7B-Coder-Instruct-OlympicCoder-19B

Merge model
this model
Quantizations
5 models

Collections including DavidAU/Qwen2.5-2X7B-Coder-Instruct-OlympicCoder-19B