Skip to content
llmmodels
Code modelOpen weights

CodeT5-large

by Salesforce · Jul 5, 2022

CodeT5-large is an open-weight code model from Salesforce, released Jul 5, 2022. It has 770M parameters.

Provider
Salesforce
Released
Jul 5, 2022
Type
Code model
Parameters
770M
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
bsd-3-clause
Knowledge cutoff
—
Status
Open weights
Training compute
2.7e+21 FLOP
Training data
10.5B tokens/words
HF downloads (30d)
2.3K

About CodeT5-large

"Program synthesis or code generation aims to generate a program that satisfies a problem specification. Recent approaches using large-scale pretrained language models (LMs) have shown promising results, yet they have some critical limitations. In particular, they often follow a standard supervised fine-tuning procedure to train a code generation model only from the pairs of natural-language problem descriptions and ground-truth programs.

How to run CodeT5-large

CodeT5-large is an open-weight model published on Hugging Face as Salesforce/codet5-large. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 770M parameters it needs roughly 1 GB of memory at 4-bit quantization.

CodeT5-large vs alternatives

Alternatives to CodeT5-large
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek Coder 1.3BopenDeepSeekNov 20231.3B————
Phi-1openMicrosoftOct 20231.4B————
Phi-2openMicrosoftDec 20232.8B———96.2
Qwen2.5-Coder (1.5B)openAlibaba (Qwen)Sep 20241.5B———89.1
OpenELM-1.1BopenAppleMay 20241.1B————
OpenELM-450MopenAppleMay 2024457M————
Qwen3-0.6BopenAlibaba (Qwen)Apr 2025752M————
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5

More models from Salesforce

All Salesforce models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Llama-xLAM-2-8b-fc-ropenMar 20258B———
GTA1-7B-2507openSep 20258.3B———
blip2-opt-2.7bopenFeb 20233.7B———
xLAM-2-1b-fc-ropenMar 20251.5B———
xLAM-1b-fc-ropenJul 20241.3B———
codegen2-16B_PopenApr 202316B———
blip2-flan-t5-xlopenFeb 20233.9B———
instructblip-vicuna-7bopenMay 20237.9B———

Frequently asked questions

Who made CodeT5-large?

CodeT5-large was developed by Salesforce (United States of America). It was released on Jul 5, 2022.

Is CodeT5-large open source?

Yes. CodeT5-large's weights are publicly available under the bsd-3-clause license on Hugging Face (Salesforce/codet5-large), so you can download and run it yourself.

How many parameters does CodeT5-large have?

CodeT5-large has 770M parameters.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.