Qwen3-4B-Computer-Science is a supervised fine-tuned language model based on Qwen/Qwen3-4B, designed for computer science and software engineering tasks.
This repository contains the merged BF16 checkpoint compatible with the Hugging Face Transformers ecosystem.
Model Summary
The model specializes in programming-oriented instruction following across multiple computer science domains, including software engineering, debugging, algorithms, testing, and technical reasoning.
Training was performed using parameter-efficient supervised fine-tuning (LoRA). The released checkpoint contains merged BF16 weights and can be used directly without PEFT adapters.
Motivation
General-purpose language models provide strong performance across many domains but are not specifically optimized for computer science workflows.
Qwen3-4B-Computer-Science aims to improve programming-oriented instruction following while preserving the capabilities of the original Qwen3-4B base model.
Training was performed using supervised fine-tuning (SFT) with parameter-efficient fine-tuning (LoRA).
Optimization utilized Distributed Data Parallel (DDP). After training, the LoRA adapters were merged into the base model to produce the released BF16 checkpoint.
The published model does not require PEFT adapters during inference.
Training Data
The final training corpus contains 60,989 training examples and 512 evaluation examples.
Dataset
Configuration
License
Train
Eval
HuggingFaceTB/smoltalk
smol-magpie-ultra
Apache-2.0
49,584
416
agentica-org/DeepCoder-Preview-Dataset
primeintellect
MIT
11,405
96
Dataset Attribution
The model was fine-tuned using publicly available datasets released under their respective licenses.
Dataset
Configuration
License
HuggingFaceTB/smoltalk
smol-magpie-ultra
Apache-2.0
agentica-org/DeepCoder-Preview-Dataset
primeintellect
MIT
Credit for the datasets belongs to their respective authors.
Intended Use
Recommended applications include:
Software engineering
Programming assistance
Python development
Code generation
Code explanation
Debugging
Unit testing
Technical documentation
Computer science education
Capabilities
The model has been fine-tuned for:
Programming-oriented instruction following
Code generation
Code completion
Code explanation
Refactoring
Debugging
Algorithm implementation
Standard library usage
Technical reasoning
The model inherits the general instruction-following capabilities of Qwen3-4B.