Codegen2 1B P by Salesforce

 ยป  All LLMs  ยป  Salesforce  ยป  Codegen2 1B P   URL Share it on

  Arxiv:2305.02309   Autotrain compatible   Codegen   Custom code   Endpoints compatible   Pytorch   Region:us

Codegen2 1B P Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Codegen2 1B P (Salesforce/codegen2-1B_P)

Codegen2 1B P Parameters and Internals

Model Type 
autoregressive, language model, program synthesis
Use Cases 
Areas:
program synthesis
Applications:
generating executable code
Primary Use Cases:
Generating executables from English prompts, Completing partially-generated code
Supported Languages 
c (supported), c++ (supported), c-sharp (supported), dart (supported), go (supported), java (supported), javascript (supported), kotlin (supported), lua (supported), php (supported), python (supported), ruby (supported), rust (supported), scala (supported), shell (supported), sql (supported), swift (supported), typescript (supported), vue (supported)
Training Details 
Data Sources:
the deduplicated version of the Stack dataset (v1.1)
Methodology:
cross-entropy loss to maximize the likelihood of sequential inputs
Input Output 
Accepted Modalities:
text
LLM NameCodegen2 1B P
Repository ๐Ÿค—https://huggingface.co/Salesforce/codegen2-1B_P 
Model Size1b
Required VRAM4.1 GB
Updated2025-02-22
MaintainerSalesforce
Model Typecodegen
Model Files  4.1 GB
Generates CodeYes
Model ArchitectureCodeGenForCausalLM
Licenseapache-2.0
Model Max Length1024
Transformers Version4.25.1
Tokenizer ClassGPT2Tokenizer
Vocabulary Size51200
Torch Data Typefloat32
Activation Functiongelu_new

Best Alternatives to Codegen2 1B P

Best Alternatives
Context / RAM
Downloads
Likes
Tiny Random Codegen20K / 0 GB1161861
Codegen2 1B Security0K / 4.1 GB960
Salesforce Codegen2 1B Ov0K / 4.1 GB80
Note: green Score (e.g. "73.2") means that the model is better than Salesforce/codegen2-1B_P.

Rank the Codegen2 1B P 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? 43470 in total.

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