Feature Extraction
sentence-transformers
ONNX
Safetensors
GGUF
English
code
roberta
python
javascript
go
java
ruby
php
code-search
code-embeddings
multilingual
matryoshka
unixcoder
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use divakantpandey/code-embed-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use divakantpandey/code-embed-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("divakantpandey/code-embed-v2") 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
- Local Apps Settings
- llama.cpp
How to use divakantpandey/code-embed-v2 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf divakantpandey/code-embed-v2:Q8_0 --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf divakantpandey/code-embed-v2:Q8_0 --embeddings
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible embeddings server: ./build/bin/llama serve -hf divakantpandey/code-embed-v2:Q8_0 --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use divakantpandey/code-embed-v2 with Ollama:
ollama run hf.co/divakantpandey/code-embed-v2:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use divakantpandey/code-embed-v2 with Docker Model Runner:
docker model run hf.co/divakantpandey/code-embed-v2:Q8_0
- Lemonade
How to use divakantpandey/code-embed-v2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull divakantpandey/code-embed-v2:Q8_0
Run and chat with the model
lemonade run user.code-embed-v2-Q8_0
List all available models
lemonade list
- Atomic Chat
Commit History
20 days ago
-
Final model checkpoint at step 6314
Verified signature701873f -
Periodic checkpoint at step 6250 (loss=0.00000)
Verified signature5ade9db -
Periodic checkpoint at step 6000 (loss=0.00000)
Verified signature64922be -
Periodic checkpoint at step 5750 (loss=0.00000)
Verified signature5845824 -
Periodic checkpoint at step 5500 (loss=0.00000)
Verified signaturea8cec4c -
Periodic checkpoint at step 5250 (loss=0.00000)
Verified signature2f47ad4 -
Periodic checkpoint at step 5000 (loss=0.00000)
Verified signature02fab16 -
Periodic checkpoint at step 4750 (loss=0.00000)
Verified signatureba2567a -
Periodic checkpoint at step 4500 (loss=0.00000)
Verified signature1462f31 -
Periodic checkpoint at step 4250 (loss=0.00000)
Verified signature6f529d6 -
Periodic checkpoint at step 4000 (loss=0.00000)
Verified signature8c4a66a -
Periodic checkpoint at step 3750 (loss=0.00000)
Verified signature35d8e90 -
Periodic checkpoint at step 3500 (loss=0.00000)
Verified signature3aa4f4a -
Periodic checkpoint at step 3250 (loss=0.00000)
Verified signature3709bf8 -
Periodic checkpoint at step 3000 (loss=0.00000)
Verified signatureb6494e3 -
Periodic checkpoint at step 2750 (loss=0.00000)
Verified signaturef9d543e -
Periodic checkpoint at step 2500 (loss=0.00000)
Verified signature432b45d -
Periodic checkpoint at step 2250 (loss=0.00000)
Verified signature20a4801 -
Periodic checkpoint at step 2000 (loss=0.00000)
Verified signature1793c86 -
Periodic checkpoint at step 1750 (loss=0.00000)
Verified signaturefaa17ba -
Periodic checkpoint at step 1500 (loss=0.00000)
Verified signaturecf3b756 -
Periodic checkpoint at step 1250 (loss=0.00000)
Verified signature553587c -
Periodic checkpoint at step 1000 (loss=0.00000)
Verified signature1f8536e -
Periodic checkpoint at step 750 (loss=0.00006)
Verified signaturedb004cd -
Periodic checkpoint at step 500 (loss=0.00000)
Verified signature56e09b4 -
Periodic checkpoint at step 250 (loss=0.00004)
Verified signature5b52774