Codegen 2B Mono by Salesforce

 ยป  All LLMs  ยป  Salesforce  ยป  Codegen 2B Mono   URL Share it on

  Arxiv:2203.13474   Autotrain compatible   Codegen   Endpoints compatible   Pytorch   Region:us

Codegen 2B Mono Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Codegen 2B Mono (Salesforce/codegen-2B-mono)

Codegen 2B Mono Parameters and Internals

Model Type 
autoregressive, language model, program synthesis
Use Cases 
Areas:
program synthesis
Primary Use Cases:
Generating executable code from English prompts
Supported Languages 
programming (Python)
Training Details 
Data Sources:
BigPython dataset
Data Volume:
71.7B tokens
Methodology:
Cross-entropy loss
Hardware Used:
TPU-v4-512
LLM NameCodegen 2B Mono
Repository ๐Ÿค—https://huggingface.co/Salesforce/codegen-2B-mono 
Model Size2b
Required VRAM5.7 GB
Updated2025-02-09
MaintainerSalesforce
Model Typecodegen
Model Files  5.7 GB
Generates CodeYes
Model ArchitectureCodeGenForCausalLM
Licensebsd-3-clause
Model Max Length2048
Transformers Version4.21.0.dev0
Tokenizer ClassGPT2Tokenizer
Vocabulary Size51200
Torch Data Typefloat16
Activation Functiongelu_new

Best Alternatives to Codegen 2B Mono

Best Alternatives
Context / RAM
Downloads
Likes
Archgen 2B V10K / 5.6 GB1080
...Python 18K Alpaca Full Dataset0K / 5.6 GB1080
Salesforce Codegen 2B Multi Ov0K / 11.1 GB50
Nsql 2B0K / 11.3 GB419
Instruct Codegen 2B Multi0K / 11.3 GB171
Diff Codegen 2B V20K / 5.7 GB186
...en 2B Mono Instruct Py Revised0K / 11.3 GB51
Codegen 2B Mono Xlcost0K / 5.7 GB121
Codegen 2B Multi Xlcost0K / 5.7 GB41
Fine Tuned Codegen 2B Verilog0K / 11.3 GB3397
Note: green Score (e.g. "73.2") means that the model is better than Salesforce/codegen-2B-mono.

Rank the Codegen 2B Mono 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? 42884 in total.

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