How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf raghunath1/Aptivra-Base-110M-GGUF:
# Run inference directly in the terminal:
llama cli -hf raghunath1/Aptivra-Base-110M-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf raghunath1/Aptivra-Base-110M-GGUF:
# Run inference directly in the terminal:
llama cli -hf raghunath1/Aptivra-Base-110M-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf raghunath1/Aptivra-Base-110M-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf raghunath1/Aptivra-Base-110M-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf raghunath1/Aptivra-Base-110M-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf raghunath1/Aptivra-Base-110M-GGUF:
Use Docker
docker model run hf.co/raghunath1/Aptivra-Base-110M-GGUF:
Quick Links

Aptivra-Base-110M β€” GGUF

GGUF (llama.cpp) builds of raghunath1/Aptivra-Base-110M, a 110M-parameter sentence-embedding model for skill routing and semantic retrieval.

This is an embedding model, not a chat model.

βœ… Use it for ❌ Do not use it for
query / document embeddings chat completion
skill routing instruction following
semantic retrieval text generation
vector search (it produces vectors, not text)
candidate ranking

⚠️ Experimental research preview β€” not production-certified. Validate on your own cases. These files are the embedding model only (no reranker). Full evidence, disclaimer, and the PyTorch/ONNX/OpenVINO builds are in the main repo raghunath1/Aptivra-Base-110M.

Files

File Quant Size Fidelity vs fp32 Notes
Aptivra-Base-110M-F16.gguf F16 209 MB 0.99999 full precision; matches PyTorch, Recall@1 ≑ reference
Aptivra-Base-110M-Q8_0.gguf Q8_0 112 MB 0.99984 near-lossless; recommended default, Recall@1 ≑ reference
Aptivra-Base-110M-Q4_K_M.gguf Q4_K_M 71 MB 0.98618 smallest; ~1.4% perturbation, Recall@1 β‰ˆ reference

Parity

Fidelity = mean cosine of each quant's embeddings to the fp32 reference, on the identical plain-text routing eval. F16/Q8_0 are effectively lossless (Recall@1 equals the fp32 reference's 0.958); Q4_K_M trades ~1.4% embedding fidelity for the smallest footprint (71 MB). Pick Q8_0 unless you need the size.

Input format (important)

Feed plain text β€” no query: / passage: prefix (this fine-tune was trained without them). Use mean pooling and L2-normalized embeddings; compare with cosine similarity.

Usage β€” llama.cpp embedding mode

Build/run with mean pooling + L2 normalize (--pooling mean --embd-normalize 2):

llama-embedding -m Aptivra-Base-110M-Q8_0.gguf \
  -p "set up a browser automation task" \
  --pooling mean --embd-normalize 2

Server (OpenAI-compatible embeddings endpoint):

llama-server -m Aptivra-Base-110M-Q8_0.gguf --embeddings --pooling mean
# then: curl http://localhost:8080/v1/embeddings -d '{"input":"semantic search query"}'

Install llama.cpp per OS

  • macOS: brew install llama.cpp
  • Linux: brew install llama.cpp, or build from source (cmake -B build && cmake --build build), or use the prebuilt release binaries from the llama.cpp releases page.
  • Windows: winget install llama.cpp, or download the prebuilt llama-*-bin-win-*.zip from the llama.cpp releases page (CUDA/Vulkan/CPU variants available).

Download a single file

pip install huggingface_hub
huggingface-cli download raghunath1/Aptivra-Base-110M-GGUF \
  Aptivra-Base-110M-Q8_0.gguf --local-dir .

LM Studio / Ollama caveat: both are built around chat/completion models. This is an embedding model β€” use it only through an embeddings path (llama.cpp llama-server /v1/embeddings, or Ollama's /api/embeddings), never the chat UI. It returns vectors, not text.

Provenance

Converted from the canonical safetensors with llama.cpp convert_hf_to_gguf.py (F16), then llama-quantize for Q8_0 and Q4_K_M. Each quant is gated by the Recall@1 parity table above before release. Architecture: BERT (e5-base-v2), 768-dim, ctx 512, mean pooling.

License

MIT. Fine-tuned from intfloat/e5-base-v2 (MIT).

Downloads last month
30
GGUF
Model size
0.1B params
Architecture
bert
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for raghunath1/Aptivra-Base-110M-GGUF

Quantized
(2)
this model