Upload README.md
Browse files
README.md
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
model_type: qwen
|
4 |
+
datasets:
|
5 |
+
- CodeAid/CouplingDetectionData
|
6 |
+
language:
|
7 |
+
- en
|
8 |
+
base_model:
|
9 |
+
- Qwen/Qwen2.5-14B-Instruct
|
10 |
+
pipeline_tag: text-generation
|
11 |
+
library_name: transformers
|
12 |
+
tags:
|
13 |
+
- llms
|
14 |
+
- code
|
15 |
+
- Java
|
16 |
+
- code-smells
|
17 |
+
- transformers
|
18 |
+
---
|
19 |
+
|
20 |
+
# CodeAid Coupling Smells Detection Model (Qwen2.5-14B-Instruct Fine-Tuned)
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [Qwen2.5-14B-Instruct](https://huggingface.co/Qwen/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.
|
23 |
+
|
24 |
+
## 🧠 Model Purpose
|
25 |
+
|
26 |
+
The model identifies **coupling-related code smells** such as:
|
27 |
+
|
28 |
+
- **Feature Envy**
|
29 |
+
- **Inappropriate Intimacy**
|
30 |
+
- **Message Chains**
|
31 |
+
- **Excessive Dependencies**
|
32 |
+
|
33 |
+
It analyzes Java classes and their dependencies to detect architectural or design issues that increase coupling and reduce maintainability.
|
34 |
+
|
35 |
+
## 🔧 Technical Details
|
36 |
+
|
37 |
+
- **Base Model**: Qwen2.5-14B-Instruct
|
38 |
+
- **Fine-Tuning Method**: QLoRA with LoRA adapters merged
|
39 |
+
- **Format**: `safetensors` (merged)
|
40 |
+
- **Task Type**: Text generation (instruction-based)
|