Stable Code Instruct 3B
Property | Value |
---|---|
Parameter Count | 2.7B |
Model Type | Decoder-only Language Model |
License | StabilityAI Community License |
Paper | Stable Code Technical Report |
Developer | Stability AI |
What is stable-code-instruct-3b?
Stable Code Instruct 3B is a specialized programming language model developed by Stability AI, fine-tuned from the base stable-code-3b model using Direct Preference Optimization (DPO). This model represents a significant advancement in code generation and understanding, demonstrating state-of-the-art performance for its size class across multiple programming languages.
Implementation Details
The model utilizes a transformer decoder architecture and has been trained using a combination of publicly available datasets and synthetic data. It operates with BF16 precision and is optimized for both code generation and conversational tasks related to software engineering.
- Achieves 32.4% pass@1 on Python tasks
- Supports multiple programming languages including C++, Java, JavaScript, PHP, and Rust
- Implements advanced conversation handling for code-related queries
- Optimized for SQL-related generation and conversation
Core Capabilities
- Multi-language code generation and understanding
- General-purpose software engineering conversations
- SQL query generation and optimization
- Interactive code assistance and debugging support
- Performance competitive with larger models in specific tasks
Frequently Asked Questions
Q: What makes this model unique?
The model stands out for its efficient size-to-performance ratio, achieving competitive results against larger models like CodeLlama-7B in various programming tasks. It's particularly notable for scoring 5.8 on MT-Bench coding tasks, surpassing several larger models.
Q: What are the recommended use cases?
The model excels in code generation across multiple programming languages, SQL query development, and technical conversations about software engineering. It's particularly well-suited for developers needing interactive coding assistance and SQL database queries.