Downloads · 30 days
39
20% of all-time downloads
micymike/codemate-qwen-1.5B
codemate-qwen-1.5B is a text generation model from micymike. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
CodeMate-Qwen is a coding-focused language model fine-tuned from Qwen2.5-Coder-1.5B using Low-Rank Adaptation (LoRA). The model is designed to assist developers with code generation, debugging, code explanation, refac…
Downloads · 30 days
39
20% of all-time downloads
All-time downloads
193
Public
Parameters
1.5B
3.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
CodeMate-Qwen is a coding-focused language model fine-tuned from Qwen2.5-Coder-1.5B using Low-Rank Adaptation (LoRA). The model is designed to assist developers with code generation, debugging, code explanation, refactoring, and software engineering tasks.
The project was created to explore parameter-efficient fine-tuning techniques and build a lightweight coding assistant capable of supporting real-world development workflows.
Michael Moses
Self-funded personal research project.
Michael Moses
Causal Language Model (LLM) for Code Generation and Software Engineering Assistance.
English
Programming Languages:
Apache 2.0 (subject to the licensing terms of the base Qwen model).
Qwen/Qwen2.5-Coder-1.5B
GitHub: https://github.com/micymike
https://huggingface.co/micymike
Coming Soon
This model is intended for:
Potential downstream applications include:
This model is not intended for:
Generated code should always be reviewed and tested before production use.
Like all large language models, CodeMate-Qwen may:
Users should validate all generated outputs before deployment.
The model performs best when:
The model should be considered an assistant rather than a replacement for software engineering expertise.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "micymike/codemate-qwen-merged"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
device_map="auto"
)
prompt = "Write a Python function that checks if a number is prime."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=256
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The training dataset consisted of instruction-response pairs focused on software engineering and programming-related tasks.
Examples included:
The model was fine-tuned using LoRA (Low-Rank Adaptation), allowing efficient adaptation of the base model while training only a small subset of parameters.
Evaluation was performed using programming-related prompts covering:
Evaluation focused primarily on qualitative assessment:
The model demonstrated improved performance on coding-focused tasks compared to the untuned base model and showed stronger alignment with software engineering workflows.
NVIDIA GPU
Google Colab
Not specified
Not measured
Transformer-based autoregressive language model.
Qwen2.5-Coder-1.5B
Next-token prediction optimized for coding and software engineering tasks.
Google Colab GPU Environment
@misc{moses2026codemateqwen,
author = {Michael Moses},
title = {CodeMate-Qwen: A LoRA Fine-Tuned Coding Assistant Based on Qwen2.5-Coder-1.5B},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/micymike}
}
Michael Moses
GitHub: https://github.com/micymike
Email: [email protected]
Planned improvements include: