B

Bge Code V1

Developed by BAAI
BGE-Code-v1 is an LLM-based code embedding model that supports code retrieval, text retrieval, and multilingual retrieval, excelling in code and text retrieval tasks.
Downloads 103
Release Time : 5/15/2025

Model Overview

BGE-Code-v1 is a versatile code embedding model primarily used for code retrieval, text retrieval, and multilingual retrieval tasks. It supports natural language queries in Chinese and English, as well as 20 programming languages, achieving state-of-the-art performance in multiple benchmarks.

Model Features

Exceptional Code Retrieval Performance
Supports natural language queries in Chinese and English and 20 programming languages, delivering outstanding performance in code retrieval tasks.
Powerful Text Retrieval Capability
Maintains strong text retrieval capabilities comparable to text embedding models of similar scale.
Extensive Multilingual Support
Performs excellently in multiple languages, including English, Chinese, Japanese, French, and more.
Efficient Inference
Supports FP16 acceleration for improved inference efficiency.

Model Capabilities

Code Retrieval
Text Retrieval
Multilingual Retrieval
SQL Query Generation
Code Documentation Generation
Code Similarity Comparison

Use Cases

Code Development
Code Search
Search for relevant code snippets based on natural language descriptions.
Achieved 98.08% accuracy on the CoIR benchmark.
SQL Query Generation
Generate corresponding SQL queries based on textual questions.
Achieved 64.35% accuracy on the Text2SQL task.
Documentation Generation
Code Documentation Generation
Generate corresponding docstrings based on code snippets.
Achieved 89.53% accuracy on the CSN task.
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
Š 2025AIbase