Feature Extraction
sentence-transformers
ONNX
Safetensors
English
code
roberta
python
code-search
code-embeddings
unixcoder
matryoshka
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use divakantpandey/code-embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use divakantpandey/code-embed with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("divakantpandey/code-embed") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
docs: standardize code-embed-v2 cross-reference to 150M category
Browse files
README.md
CHANGED
|
@@ -59,9 +59,9 @@ model-index:
|
|
| 59 |
|
| 60 |
> 🚀 **CodeEmbed v2 is now live!** Check out [](https://huggingface.co/divakantpandey/code-embed-v2) for 6-language multilingual code search and official MTEB leaderboard rankings:
|
| 61 |
> - **Rank #3 Worldwide** on Code-to-Code Reranking ()
|
| 62 |
-
> - **Rank #3 Worldwide** on (≤
|
| 63 |
-
> - **Rank #8 Worldwide** on (≤
|
| 64 |
-
> - **Rank #9 Worldwide** on (≤
|
| 65 |
|
| 66 |
CodeEmbed is a lightweight, high-performance code embedding model (≤130M parameters) developed by **[Divakant Pandey](https://github.com/divakantpandey)**. Specialized for semantic code search, code retrieval, and repository navigation with **8,192 token context** and **Matryoshka representation learning**.
|
| 67 |
|
|
|
|
| 59 |
|
| 60 |
> 🚀 **CodeEmbed v2 is now live!** Check out [](https://huggingface.co/divakantpandey/code-embed-v2) for 6-language multilingual code search and official MTEB leaderboard rankings:
|
| 61 |
> - **Rank #3 Worldwide** on Code-to-Code Reranking ()
|
| 62 |
+
> - **Rank #3 Worldwide** on (≤150M category)
|
| 63 |
+
> - **Rank #8 Worldwide** on (≤150M category)
|
| 64 |
+
> - **Rank #9 Worldwide** on (≤150M category)
|
| 65 |
|
| 66 |
CodeEmbed is a lightweight, high-performance code embedding model (≤130M parameters) developed by **[Divakant Pandey](https://github.com/divakantpandey)**. Specialized for semantic code search, code retrieval, and repository navigation with **8,192 token context** and **Matryoshka representation learning**.
|
| 67 |
|