--- license: apache-2.0 base_model: - open-r1/OlympicCoder-7B - Qwen/Qwen2.5-Coder-7B-Instruct - zhuyaoyu/CodeV-R1-Qwen-7B - TIGER-Lab/VisCoder-7B language: - en pipeline_tag: text-generation tags: - merge - programming - code generation - code - codeqwen - moe - coding - coder - qwen2 - chat - qwen - qwen-coder - mixture of experts - qwen2moe - 4X7B - shared expert library_name: transformers ---

Qwen2.5-4x7B-Quad-Coder-Instruct-30B

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 4 top coder models in a Mixture of Experts config, using the full power of each model to code in a 30B 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) - zhuyaoyu/CodeV-R1-Qwen-7B (a model that employs reinforcement learning (RL) fine-tuning) - TIGER-Lab/VisCoder-7B (a large language model fine-tuned for Python visualization code generation and multi-turn self-correction) FOUR models all working together to code. Default config is 2 experts (of 4 activated). Suggest using 2-4 experts for maximum power. 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 https://huggingface.co/zhuyaoyu/CodeV-R1-Qwen-7B https://huggingface.co/TIGER-Lab/VisCoder-7B [ more to come ] --- 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 ]