--- title: Qwen 2.5 Coder Assistant emoji: 💻 colorFrom: blue colorTo: purple sdk: gradio sdk_version: 5.9.1 app_file: app.py pinned: false license: apache-2.0 short_description: Code assistant powered by fine-tuned Qwen 2.5 Coder suggested_hardware: zero-a10g --- # Qwen 2.5 Coder Assistant An interactive code assistant powered by a fine-tuned [Qwen 2.5 Coder 1.5B](https://huggingface.co/GhostScientist/qwen25-coder-1.5b-codealpaca-sft) model. ## Features - **Code Generation**: Write functions, classes, and complete programs - **Code Explanation**: Understand complex code snippets - **Debugging Help**: Find and fix bugs in your code - **Best Practices**: Get suggestions for code improvements ## Model Details - **Base Model**: Qwen/Qwen2.5-Coder-1.5B-Instruct - **Training**: Fine-tuned using SFT on CodeAlpaca dataset - **Framework**: TRL + Transformers ## Usage Simply type your coding question or request in the chat interface. You can: 1. Ask for code in any programming language 2. Paste code snippets for explanation or debugging 3. Request refactoring suggestions 4. Get help with algorithms and data structures ## Examples - "Write a Python function to check if a number is prime" - "Explain the difference between a list and a tuple in Python" - "How do I reverse a string in JavaScript?" - "Debug this code: def add(a, b): return a - b"