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
- CodeT5-large vs DeepSeek Coder 1.3B
- CodeT5-large vs Phi-1
- CodeT5-large vs Phi-2
- CodeT5-large vs Qwen2.5-Coder (1.5B)
- CodeT5-large vs OpenELM-1.1B
- CodeT5-large vs OpenELM-450M
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| DeepSeek Coder 1.3Bopen | DeepSeek | Nov 2023 | 1.3B | — | — | — | — |
| Phi-1open | Microsoft | Oct 2023 | 1.4B | — | — | — | — |
| Phi-2open | Microsoft | Dec 2023 | 2.8B | — | — | — | 96.2 |
| Qwen2.5-Coder (1.5B)open | Alibaba (Qwen) | Sep 2024 | 1.5B | — | — | — | 89.1 |
| OpenELM-1.1Bopen | Apple | May 2024 | 1.1B | — | — | — | — |
| OpenELM-450Mopen | Apple | May 2024 | 457M | — | — | — | — |
| Qwen3-0.6Bopen | Alibaba (Qwen) | Apr 2025 | 752M | — | — | — | — |
| DeepSeek Coder 6.7Bopen | DeepSeek | Nov 2023 | 6.7B | — | — | — | 67.5 |
More models from Salesforce
All Salesforce models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Llama-xLAM-2-8b-fc-ropen | Mar 2025 | 8B | — | — | — |
| GTA1-7B-2507open | Sep 2025 | 8.3B | — | — | — |
| blip2-opt-2.7bopen | Feb 2023 | 3.7B | — | — | — |
| xLAM-2-1b-fc-ropen | Mar 2025 | 1.5B | — | — | — |
| xLAM-1b-fc-ropen | Jul 2024 | 1.3B | — | — | — |
| codegen2-16B_Popen | Apr 2023 | 16B | — | — | — |
| blip2-flan-t5-xlopen | Feb 2023 | 3.9B | — | — | — |
| instructblip-vicuna-7bopen | May 2023 | 7.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.