StableCode 3B by rtlabs

 ยป  All LLMs  ยป  rtlabs  ยป  StableCode 3B   URL Share it on

  Arxiv:1910.02054   Arxiv:2104.09864   Autotrain compatible   Code   Codegen   Dataset:bigcode/starcoderdata   Endpoints compatible   Gpt neox   Model-index   Pytorch   Region:us   Safetensors
Model Card on HF ๐Ÿค—: https://huggingface.co/rtlabs/StableCode-3B 

StableCode 3B Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
StableCode 3B (rtlabs/StableCode-3B)

StableCode 3B Parameters and Internals

Model Type 
code completion, causal-lm
Use Cases 
Areas:
Software Development, Code Generation
Applications:
Code completion in IDEs
Primary Use Cases:
Single/multiline code completion up to 4k token context.
Limitations:
Not intended for unlawful content creation or activities with high risk of harm.
Considerations:
Use in conjunction with tools to attribute code outputs.
Additional Notes 
Compatible with TabbyML using CTranslate2 format.
Supported Languages 
code (Proficient in multiple programming languages.)
Training Details 
Data Sources:
bigcode/starcoderdata
Data Volume:
300 billion tokens
Methodology:
Pre-trained on diverse set of programming languages using StarCoder tokenizer.
Context Length:
4096
Model Architecture:
3 billion parameter decoder-only model, utilizing GPT-NeoX framework, trained with mixed-precision BF16.
Input Output 
Input Format:
Code snippets or text prompts
Accepted Modalities:
code
Output Format:
Code completion
LLM NameStableCode 3B
Repository ๐Ÿค—https://huggingface.co/rtlabs/StableCode-3B 
Model Size3b
Required VRAM6.1 GB
Updated2025-06-01
Maintainerrtlabs
Model Typegpt_neox
Model Files  6.1 GB   6.1 GB
Supported Languagescode
Generates CodeYes
Model ArchitectureGPTNeoXForCausalLM
Licenseapache-2.0
Context Length4096
Model Max Length4096
Transformers Version4.30.2
Tokenizer ClassPreTrainedTokenizerFast
Vocabulary Size49152
Torch Data Typefloat16

Best Alternatives to StableCode 3B

Best Alternatives
Context / RAM
Downloads
Likes
Stablecode Completion Alpha 3B16K / 14.1 GB24118
Stablecode Instruct Alpha 3B4K / 6.1 GB12305
...blecode Completion Alpha 3B 4K4K / 6.1 GB38280
...tion Alpha 3B 4K Openvino Int84K / 2.8 GB221
...blecode Instruct Alpha 3B GPTQ4K / 1.8 GB2417
...de Completion Alpha 3B 4K GPTQ4K / 1.8 GB189
...blecode Instruct Alpha 3B GPTQ4K / 1.8 GB181
Note: green Score (e.g. "73.2") means that the model is better than rtlabs/StableCode-3B.

Rank the StableCode 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? 47753 in total.

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