C

Codet5p 2b

Developed by Salesforce
CodeT5+ is an open-source family of large language models for code, supporting code understanding and generation tasks, featuring an encoder-decoder architecture with flexible mode switching.
Downloads 745
Release Time : 5/17/2023

Model Overview

CodeT5+ is a novel open-source family of large language models for code, utilizing an encoder-decoder architecture that can flexibly switch between different modes (including encoder-only, decoder-only, and encoder-decoder), supporting a wide range of code understanding and generation tasks.

Model Features

Flexible Working Modes
Supports three working modes: encoder-only, decoder-only, and encoder-decoder, adapting to various code understanding and generation tasks.
Diverse Pretraining Tasks
Learns rich representations from unimodal code data and bimodal code-text data through various pretraining tasks including span denoising, causal language modeling, contrastive learning, and text-code matching.
Computationally Efficient Pretraining
Employs innovative computationally efficient pretraining methods by freezing existing large language model components for efficient scaling, supporting 2B, 6B, and 16B parameter scales.
Shallow Encoder-Deep Decoder Architecture
Adopts a shallow encoder-deep decoder architecture to optimize model performance.

Model Capabilities

Code Understanding
Code Generation
Text-Code Retrieval
Line-level Code Completion
Retrieval-Augmented Code Generation
Mathematical Programming

Use Cases

Code Generation
Function Completion
Automatically completes function bodies based on function signatures
Demonstrates excellent performance on zero-shot text-to-code generation tasks in the HumanEval benchmark
Code Understanding
Code Retrieval
Retrieves relevant code snippets based on natural language descriptions
Achieves an average MRR improvement of 3.2 points across 8 text-to-code retrieval tasks
Mathematical Programming
Mathematical Problem Solving
Transforms mathematical problems into executable code
Performs excellently on MathQA-Python and GSM8K-Python mathematical programming tasks
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
© 2025AIbase