CoolFace
Modelpublic

micymike/codemate-qwen3.5-2b-gguf

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes370downloads
Model Card

๐Ÿš€ CodeMate-Qwen3.5-2B

A lightweight coding assistant specialized for debugging, code generation, code explanation, and software engineering workflows.

Overview

CodeMate-Qwen3.5-2B is a LoRA fine-tuned version of Qwen3.5-2B focused on helping developers write, understand and debug code.

Unlike general-purpose assistants, CodeMate has been optimized for practical programming tasks including:

  • โ€”Python debugging
  • โ€”JavaScript & TypeScript
  • โ€”React
  • โ€”Next.js
  • โ€”API development
  • โ€”Backend engineering
  • โ€”Error diagnosis
  • โ€”Code explanation
  • โ€”Refactoring
  • โ€”Best practices

The objective of this project is to create a fast and efficient coding model that runs comfortably on consumer hardware while maintaining strong software engineering capabilities.


Base Model

Qwen/Qwen3.5-2B

Highlights of the base model include:

  • โ€”2 Billion Parameters
  • โ€”Native 262K context length
  • โ€”Apache 2.0 License
  • โ€”Hybrid Delta Attention Architecture
  • โ€”Strong multilingual support
  • โ€”Optimized for instruction following and coding tasks :contentReference[oaicite:0]{index=0}

Fine-tuning Objectives

The model was optimized to improve performance on:

  • โ€”Bug fixing
  • โ€”Stack trace interpretation
  • โ€”Code reasoning
  • โ€”Production debugging
  • โ€”Code review
  • โ€”Refactoring
  • โ€”Software engineering conversations
  • โ€”Practical programming assistance

Training

Base Model:

Qwen/Qwen3.5-2B

Method:

  • โ€”PEFT
  • โ€”LoRA

Frameworks:

  • โ€”Transformers
  • โ€”PEFT
  • โ€”Accelerate
  • โ€”PyTorch

Output:

Merged HuggingFace model

GGUF quantizations generated using:

  • โ€”llama.cpp

Quantizations

FileRecommended
BF16Research / Highest Quality
Q8_0โญโญโญโญโญ
Q6_Kโญโญโญโญโ˜†
Q5KMโญโญโญโญโ˜†
Q4KMโญโญโญโญโญ Recommended
Q3KMLow-memory
Q2_KSmallest

Example

python
def reverse(text):
    return text[::-1]

Prompt:

Optimize this function and explain its time complexity.

Intended Use

โœ… Code Generation

โœ… Debugging

โœ… Learning Programming

โœ… Code Review

โœ… Refactoring

โœ… API Development

โœ… Backend Development


Evaluation

Formal benchmark evaluations are currently in progress.

Planned evaluations include:

  • โ€”HumanEval
  • โ€”HumanEval+
  • โ€”MBPP
  • โ€”MultiPL-E
  • โ€”LiveCodeBench
  • โ€”SWE-Bench Lite
  • โ€”Aider Bench

Benchmark results will be published in future releases.


Roadmap

  • โ€”Improved reasoning
  • โ€”Better long-context coding
  • โ€”Larger instruction dataset
  • โ€”Agentic coding support
  • โ€”Better tool use
  • โ€”Higher benchmark performance
  • โ€”Production evaluation suite

Acknowledgements

  • โ€”Alibaba Qwen Team
  • โ€”Hugging Face
  • โ€”llama.cpp
  • โ€”PEFT
  • โ€”Transformers

License

Apache 2.0 (inherits from the base model license.)


Made with โค๏ธ by Michael Moses (Micymike)