---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/[Text Extraction](/models?category=text_extraction)/Salesforce/codet5p-110m-embedding

HFCode Extractionbsd-3-clause

# codet5p-110m-embedding

by Salesforce

Unified code understanding and generation with T5 architecture

28Kdl/month

69likes

110Mparams

[HuggingFace](https://huggingface.co/Salesforce/codet5p-110m-embedding)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`Salesforce/codet5p-110m-embedding`

## Deploy codet5p-110m-embedding

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

CodeT5+ is a family of encoder-decoder code LLMs that support both understanding and generation tasks. The 110M embedding variant is optimized for producing high-quality code embeddings for retrieval.

On Mixpeek, CodeT5+ provides an alternative to CodeBERT for code embedding extraction, with support for more programming languages and stronger performance on code search tasks.

## Architecture

T5-based encoder-decoder. The 110M embedding variant uses only the encoder, trained with contrastive learning on code-text pairs. Supports 10+ programming languages.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so codet5p-110m-embedding runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // The model produces text, so it lands in payload. Give the
          // collection a text vector index and embed that text to make it
          // searchable rather than only filterable.
          payload: { extracted\_text: modelOutput, source\_key: "archive/2026/asset-00412" },
          vectors: { "text-embedding": embeddingOfModelOutput },
        },
      \],
    }),
  },
);

// Managed alternative, if this exact model is not the requirement:
// universal\_extractor@v1 runs google/gemini-embedding-2
// (3072-d) over a bucket, with no inference of your own.

## Capabilities

*   High-quality code embeddings for retrieval
*   10+ programming language support
*   Code-to-text and text-to-code generation
*   Compact model size (110M params)

## Use Cases on Mixpeek

Code search across technical documentation and repositories

Code snippet recommendation based on natural language

Cross-language code similarity matching

## Benchmarks

Dataset

Metric

Score

Source

CodeSearchNet (6 langs)

MRR

71.8

Wang et al., 2023: Table 2

## Performance

Input Size512 tokens max

Embedding Dim256

GPU Latency~2ms / snippet (A100)

CPU Latency~18ms / snippet

GPU Throughput~500 snippets/sec (A100)

GPU Memory~0.45 GB

110M params: compact code embedding model

## Common Pipeline Companions

[

microsoft/codebert-base

Code understanding alternative

](/model/microsoft/codebert-base)[

BAAI/bge-large-en-v1.5

Natural language query pairing

](/model/BAAI/bge-large-en-v1.5)

## Explore on Mixpeek

[

More Text Extraction models

Compare alternatives in this category

](/models?category=text_extraction)[

Best Multimodal RAG Frameworks

Hand-picked tools & platforms compared

](/curated-lists/best-multimodal-rag-frameworks)[

Multimodal RAG Pipeline Architecture

Deep-dive technical guide

](/guides/multimodal-rag-pipeline-architecture)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkHF

OrganizationSalesforce

FeatureCode Extraction

Outputcode + language

Modalitiesdocument

RetrieverCode Search

Parameters110M

Licensebsd-3-clause

Downloads/mo28K

Likes69

[

### Research Paper

CodeT5+: Open Code Large Language Models for Code Understanding and Generation

arxiv.org](https://arxiv.org/abs/2305.07922)

### Build a pipeline with codet5p-110m-embedding

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

microsoft/codebert-base

Code Extraction

](/model/microsoft/codebert-base)[

nomic-ai/nomic-embed-code

Code Extraction

](/model/nomic-ai/nomic-embed-code)[

Salesforce/SFR-Embedding-Code-2B\_R

Code Extraction

](/model/Salesforce/SFR-Embedding-Code-2B_R)[

jinaai/jina-code-embeddings-1.5b

Code Extraction

](/model/jinaai/jina-code-embeddings-1.5b)

### Related in Text Extraction

[

microsoft/trocr-large-printed

OCR

](/model/microsoft/trocr-large-printed)[

PaddlePaddle/paddleocr

OCR

](/model/PaddlePaddle/paddleocr)[

zai-org/GLM-OCR

OCR

](/model/zai-org/GLM-OCR)[

lightonai/LightOnOCR-2-1B

OCR

](/model/lightonai/LightOnOCR-2-1B)