Stable Code Instruct 3B by stabilityai

 ยป  All LLMs  ยป  stabilityai  ยป  Stable Code Instruct 3B   URL Share it on

  Arxiv:2305.18290   Autotrain compatible   Code   Conversational   En   Endpoints compatible   Gguf   Instruct   Model-index   Q4   Quantized   Region:us   Safetensors   Sharded   Stablelm   Tensorflow

Stable Code Instruct 3B Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
๐ŸŒŸ Advertise your project ๐Ÿš€

Stable Code Instruct 3B Parameters and Internals

Model Type 
causal-lm, code
Use Cases 
Areas:
General purpose Code/Software Engineering, SQL related generation and conversation
Primary Use Cases:
Conversations in software development, SQL generation
Additional Notes 
Finetuned from stable-code-3b using DPO method for better performance in code tasks.
Supported Languages 
en (English)
Training Details 
Data Sources:
publicly available datasets, synthetic datasets using Direct Preference Optimization (DPO)
Methodology:
Instruct tuning
Model Architecture:
Transformer decoder architecture
Input Output 
Input Format:
Chat template format
Accepted Modalities:
text
Output Format:
Text completion or code generation
LLM NameStable Code Instruct 3B
Repository ๐Ÿค—https://huggingface.co/stabilityai/stable-code-instruct-3b 
Model Size3b
Required VRAM5.6 GB
Updated2025-06-09
Maintainerstabilityai
Model Typestablelm
Instruction-BasedYes
Model Files  5.0 GB: 1-of-2   0.6 GB: 2-of-2   1.7 GB   2.0 GB
Supported Languagesen
GGUF QuantizationYes
Quantization Typegguf|q4|q4_k|q5_k
Model ArchitectureStableLmForCausalLM
Licenseother
Context Length16384
Model Max Length16384
Transformers Version4.38.2
Tokenizer ClassGPTNeoXTokenizer
Padding Token<|endoftext|>
Vocabulary Size50304
Torch Data Typebfloat16
Stable Code Instruct 3B (stabilityai/stable-code-instruct-3b)

Quantized Models of the Stable Code Instruct 3B

Model
Likes
Downloads
VRAM
Stable Cypher Instruct 3B263011 GB

Best Alternatives to Stable Code Instruct 3B

Best Alternatives
Context / RAM
Downloads
Likes
Stable Cypher Instruct 3B16K / 1.7 GB30126
...struct 3B Spider 1500 Steps Q416K / 1.7 GB250
Stable Code Instruct 3B 4bit16K / 1.8 GB355
...t 3B Mix Spider Bird 200 Steps16K / 5.6 GB90
... Instruct 3B Spider 3500 Steps16K / 11.2 GB160
Stable Code Instruct 3B AWQ16K / 1.8 GB230
Stablelm Zephyr 3B4K / 5.6 GB15080256
ReMask 3B4K / 11.2 GB3116
Note: green Score (e.g. "73.2") means that the model is better than stabilityai/stable-code-instruct-3b.

Rank the Stable Code Instruct 3B Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 48023 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241124