Instructions to use brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF") 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 brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF:Q4_K_M --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF:Q4_K_M --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 brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF:Q4_K_M --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF with Ollama:
ollama run hf.co/brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF with Docker Model Runner:
docker model run hf.co/brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF:Q4_K_M
- Lemonade
How to use brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeRankEmbed-Q4_K_M-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download coderankembed-q4_k_m.gguf from brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 90 MB
-
https://huggingface.co/brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF/resolve/82a8dfaa04385e18ce1c9736d458181ba635b261/coderankembed-q4_k_m.gguf
- Command line
-
hf download hf://brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF@82a8dfaa04385e18ce1c9736d458181ba635b261/coderankembed-q4_k_m.gguf
-
curl -L -o coderankembed-q4_k_m.gguf https://huggingface.co/brandtcormorant/CodeRankEmbed-Q4_K_M-GGUF/resolve/82a8dfaa04385e18ce1c9736d458181ba635b261/coderankembed-q4_k_m.gguf
90 MB
- Xet hash:
- dcf37c9f652f02867eebbfe13d851c28a1604efa8b1aa00119056e4c1ff2e065
- Size of remote file:
- 90 MB
- SHA256:
- ffec660e2f514e9a6b2a1d3bd7085700b2160467d44c39c9359e316f9758628e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.