Instructions to use bowang0911/pplx-embed-v1-0.6b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use bowang0911/pplx-embed-v1-0.6b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="bowang0911/pplx-embed-v1-0.6b-gguf", filename="pplx-embed-v1-0.6b-f16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bowang0911/pplx-embed-v1-0.6b-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bowang0911/pplx-embed-v1-0.6b-gguf:F16 # Run inference directly in the terminal: llama-cli -hf bowang0911/pplx-embed-v1-0.6b-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bowang0911/pplx-embed-v1-0.6b-gguf:F16 # Run inference directly in the terminal: llama-cli -hf bowang0911/pplx-embed-v1-0.6b-gguf:F16
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 bowang0911/pplx-embed-v1-0.6b-gguf:F16 # Run inference directly in the terminal: ./llama-cli -hf bowang0911/pplx-embed-v1-0.6b-gguf:F16
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 bowang0911/pplx-embed-v1-0.6b-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf bowang0911/pplx-embed-v1-0.6b-gguf:F16
Use Docker
docker model run hf.co/bowang0911/pplx-embed-v1-0.6b-gguf:F16
- LM Studio
- Jan
- Ollama
How to use bowang0911/pplx-embed-v1-0.6b-gguf with Ollama:
ollama run hf.co/bowang0911/pplx-embed-v1-0.6b-gguf:F16
- Unsloth Studio
How to use bowang0911/pplx-embed-v1-0.6b-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bowang0911/pplx-embed-v1-0.6b-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bowang0911/pplx-embed-v1-0.6b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bowang0911/pplx-embed-v1-0.6b-gguf to start chatting
- Docker Model Runner
How to use bowang0911/pplx-embed-v1-0.6b-gguf with Docker Model Runner:
docker model run hf.co/bowang0911/pplx-embed-v1-0.6b-gguf:F16
- Lemonade
How to use bowang0911/pplx-embed-v1-0.6b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bowang0911/pplx-embed-v1-0.6b-gguf:F16
Run and chat with the model
lemonade run user.pplx-embed-v1-0.6b-gguf-F16
List all available models
lemonade list
pplx-embed-v1-0.6b GGUF (F16)
GGUF conversion of perplexity-ai/pplx-embed-v1-0.6b.
| File | Quant | Size |
|---|---|---|
pplx-embed-v1-0.6b-f16.gguf |
F16 | 1.2 GB |
Usage
This model requires non-causal (bidirectional) attention. Without it, outputs will be incorrect.
from llama_cpp import Llama, llama_cpp
llm = Llama(model_path="pplx-embed-v1-0.6b-f16.gguf", embedding=True, pooling_type=1)
llama_cpp.llama_set_causal_attn(llm._ctx.ctx, False)
raw = llm.embed("your text here")
Note: The GGUF outputs raw float embeddings only. The original model natively produces int8/binary quantized embeddings via a post-processing step (
st_quantize.FlexibleQuantizer). To match that behavior, apply the quantization manually:
import numpy as np
# Int8: tanh โ scale โ round โ clamp (matches Int8TanhQuantizer)
int8_emb = np.clip(np.round(np.tanh(raw) * 127), -128, 127).astype(np.int8)
# Binary: sign (matches BinaryTanhQuantizer)
binary_emb = np.where(np.array(raw) >= 0, 1, -1).astype(np.int8)
CLI:
llama-embedding -m pplx-embed-v1-0.6b-f16.gguf --attention non-causal --pooling mean -p "your text here"
Verification
Cosine similarity vs original: > 0.99999 across all test inputs. Residual diffs are from F32 โ F16 precision.
- Downloads last month
- 41
16-bit
Model tree for bowang0911/pplx-embed-v1-0.6b-gguf
Base model
perplexity-ai/pplx-embed-v1-0.6b