LLM EXPLORER 59,358 MODELS INDEXED

Codegen2 3 7B P by Salesforce

By Salesforce · 68 downloads

Codegen2 3 7B P is an open-source language model by Salesforce. Features: 7b LLM, VRAM: 14.6GB, License: apache-2.0, Code Generating, LLM Explorer Score: 0.07.

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

Codegen2 3 7B P Parameters and Internals

Model Type 
program synthesis, infilling
Use Cases 
Areas:
program synthesis
Applications:
program synthesis
Primary Use Cases:
generating executable code given English prompts, completing partially-generated code
Limitations:
program synthesis limitation
Supported Languages 
c (unknown), c++ (unknown), c-sharp (unknown), dart (unknown), go (unknown), java (unknown), javascript (unknown), kotlin (unknown), lua (unknown), php (unknown), python (unknown), ruby (unknown), rust (unknown), scala (unknown), shell (unknown), sql (unknown), swift (unknown), typescript (unknown), vue (unknown)
Training Details 
Data Sources:
stricter permissive subset of the deduplicated version of the Stack dataset (v1.1)
Methodology:
cross-entropy loss for causal language modeling and file-level span corruption
LLM NameCodegen2 3 7B P
Repository πŸ€—https://huggingface.co/Salesforce/codegen2-3_7B_P 
Model Size7b
Required VRAM14.6 GB
Updated2026-08-06
MaintainerSalesforce
Model Typecodegen
Model Files  9.9 GB: 1-of-2   4.7 GB: 2-of-2
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 3 7B P

Best Alternatives
Context / RAM
Downloads
Likes
Codegen2 7B P0K / 27.5 GB9326
Note: green Score (e.g. "73.2") means that the model is better than Salesforce/codegen2-3_7B_P.