Text Generation
Transformers
Safetensors
English
qwen2
llms
code
Java
code-smells
conversational
text-generation-inference
How to use from
vLLMUse Docker
docker model run hf.co/codeaidbackUp/OldCouplingSmellsDetectionModelQuick Links
CodeAid Coupling Smells Detection Model (Qwen2.5-14B-Instruct Fine-Tuned)
This model is a fine-tuned version of Qwen2.5-14B-Instruct, specialized for detecting coupling smells in Java code. It was developed as part of the CodeAid project to assist developers in identifying code quality issues directly in their IDE.
🧠Model Purpose
The model identifies coupling-related code smells such as:
- Feature Envy
- Inappropriate Intimacy
- Message Chains
- Excessive Dependencies
It analyzes Java classes and their dependencies to detect architectural or design issues that increase coupling and reduce maintainability.
🔧 Technical Details
- Base Model: Qwen2.5-14B-Instruct
- Fine-Tuning Method: QLoRA with LoRA adapters merged
- Format:
safetensors(merged) - Task Type: Text generation (instruction-based)
- Downloads last month
- 5
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "codeaidbackUp/OldCouplingSmellsDetectionModel"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "codeaidbackUp/OldCouplingSmellsDetectionModel", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'