microsoft/unixcoder-base
feature-extraction model by microsoft
From the publisher
Model card & documentation
Source previewRead the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.
UniXcoder is a unified cross-modal pre-trained model that leverages multimodal data (i.e. code comment and AST) to pretrain code representation. We implement a class to use UniXcoder and you can follow the code to build UniXcoder. You can download the class by In the following, we will give zero-shot examples for several tasks under different mode, including code search (encoder-only), code completion (decoder-only), function name prediction (encoder-decoder) , API recommendation (encoder-decoder), code summarization (encoder-decoder). For encoder-only mode, we give an example of code search. Here, we give an example to obtain code fragment embedding from CodeBERT. Now, we calculate cosine similarity between NL and two functions. Although the difference of two functions…
Read the full model card ↗ · Preview checked 2026-10-31T18:15:25.212Z
Inside the original model card — Document outline
- Model Card for UniXcoder-base
- Model Details
- Model Description
- Uses
- 1. Dependency
- 2. Quick Tour
- 3. Encoder-only Mode
- 1) Code and NL Embeddings
- 2) Similarity between code and NL
- 3. Decoder-only Mode
- 4. Encoder-Decoder Mode
- 1) Function Name Prediction
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Documentation belongs to its respective authors. Reported project/model license: apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
Model overview
microsoft/unixcoder-base is a feature-extraction model repository published by microsoft on Hugging Face. The source reports the transformers library.
This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.
Model facts
- Task
- feature-extraction
- Library
- transformers
- Recent downloads (30 days)
- 163,857
- Cumulative likes
- 76
- Hugging Face trending score
- 0
- Reported safetensors parameters
- Not reported
- Architecture
- RobertaModel
- License
- apache-2.0
- Access
- Not gated by Hugging Face
- Created
- 2022-03-23T05:47:38.000Z
- Last modified
- 2024-07-31T05:20:05.000Z
Compatibility and lineage
Reported languages: en
Base-model lineage was not included.
Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.
Use and evaluate
Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.
No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.
Source and freshness
Source: Hugging Face Hub. Metadata observed 2026-11-01T06:54:29.511Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.