perplexity-ai / pplx-embed-v1-4b

huggingface.co
Total runs: 11.7K
24-hour runs: -76
7-day runs: -76
30-day runs: 1.0K
Model's Last Updated: June 02 2026
feature-extraction

Introduction of pplx-embed-v1-4b

Model Details of pplx-embed-v1-4b

Perplexity Logo

pplx-embed-v1: Diffusion-LM for Dense and Contextual Retrieval

pplx-embed-v1 and pplx-embed-context-v1 are state-of-the-art text embedding models optimized for real-world, web-scale retrieval tasks.

  • Use pplx-embed-v1 for independent text embedding (queries, documents, semantic search)
  • Use pplx-embed-context-v1 for document chunks in RAG systems where surrounding context matters

pplx-embed-v1 and pplx-embed-context-v1 natively produce unnormalized int8-quantized embeddings. Ensure that you compare them via cosine similarity .

diag.png

Models
Model Dimensions Context MRL Quantization Instruction Pooling
pplx-embed-v1-0.6B 1024 32K Yes INT8/BINARY No Mean
pplx-embed-v1-4B 2560 32K Yes INT8/BINARY No Mean
pplx-embed-context-v1-0.6B 1024 32K Yes INT8/BINARY No Mean
pplx-embed-context-v1-4B 2560 32K Yes INT8/BINARY No Mean

All models are built on diffusion continued pre-trained Qwen3 at Perplexity AI.

Many modern embedding models rely on instruction tuning, where users prepend an instruction string to the text being embedded. This can yield a 2%-3% lift on benchmarks, but it also introduces prompt-selection overhead and can make indexing pipelines brittle (small instruction changes can shift embedding space). We deliberately avoid this requirement: you can embed the text you want to index directly, without having to choose or maintain an instruction prefix.

Usage
Via API
curl -X POST https://api.perplexity.ai/v1/embeddings \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": [
      "Scientists explore the universe driven by curiosity.",
      "Children learn through curious exploration.",
      "Historical discoveries began with curious questions.",
      "Animals use curiosity to adapt and survive.",
      "Philosophy examines the nature of curiosity."
    ],
    "model": "pplx-embed-v1-4b"
  }'
Using SentenceTransformers
from sentence_transformers import SentenceTransformer

model = SentenceTransformer(
    "perplexity-ai/pplx-embed-v1-4B",
    trust_remote_code=True
)

texts = [
    "Scientists explore the universe driven by curiosity.",
    "Children learn through curious exploration.",
    "Historical discoveries began with curious questions.",
    "Animals use curiosity to adapt and survive.",
    "Philosophy examines the nature of curiosity.",
]

embeddings = model.encode(texts) # Shape: (5, 2560), quantized to int8
embeddings = model.encode(texts, quantization="binary") # Shape: (5, 2560), quantized to binary
Using ONNX models

import onnxruntime as ort
from transformers import AutoTokenizer
import numpy as np

tokenizer = AutoTokenizer.from_pretrained("perplexity-ai/pplx-embed-v1-4b", trust_remote_code=True)
session = ort.InferenceSession("onnx/model.onnx")


texts = [
    "Scientists explore the universe driven by curiosity.",
    "Children learn through curious exploration.",
    "Historical discoveries began with curious questions.",
    "Animals use curiosity to adapt and survive.",
    "Philosophy examines the nature of curiosity.",
]

tokenized = tokenizer(
    texts,
    padding=True,
    truncation=True,
    return_tensors="np"
)

onnx_inputs = {
    "input_ids": tokenized["input_ids"].astype(np.int64),
    "attention_mask": tokenized["attention_mask"].astype(np.int64),
}

# Run inference
onnx_embeddings = session.run([out.name for out in session.get_outputs()], onnx_inputs)

# ONNX produces both int8 and binary precision embeddings:
int8_embeddings = onnx_embeddings[2]
binary_embeddings = onnx_embeddings[3]
packed_embeddings = np.packbits(binary_embeddings != -1, axis=-1)
Technical Details

For comprehensive technical details and evaluation results, see our paper on arXiv: https://arxiv.org/abs/2602.11151 .

Runs of perplexity-ai pplx-embed-v1-4b on huggingface.co

11.7K
Total runs
-76
24-hour runs
-76
3-day runs
-76
7-day runs
1.0K
30-day runs

More Information About pplx-embed-v1-4b huggingface.co Model

More pplx-embed-v1-4b license Visit here:

https://choosealicense.com/licenses/mit

pplx-embed-v1-4b huggingface.co

pplx-embed-v1-4b huggingface.co is an AI model on huggingface.co that provides pplx-embed-v1-4b's model effect (), which can be used instantly with this perplexity-ai pplx-embed-v1-4b model. huggingface.co supports a free trial of the pplx-embed-v1-4b model, and also provides paid use of the pplx-embed-v1-4b. Support call pplx-embed-v1-4b model through api, including Node.js, Python, http.

perplexity-ai pplx-embed-v1-4b online free

pplx-embed-v1-4b huggingface.co is an online trial and call api platform, which integrates pplx-embed-v1-4b's modeling effects, including api services, and provides a free online trial of pplx-embed-v1-4b, you can try pplx-embed-v1-4b online for free by clicking the link below.

perplexity-ai pplx-embed-v1-4b online free url in huggingface.co:

https://huggingface.co/perplexity-ai/pplx-embed-v1-4b

pplx-embed-v1-4b install

pplx-embed-v1-4b is an open source model from GitHub that offers a free installation service, and any user can find pplx-embed-v1-4b on GitHub to install. At the same time, huggingface.co provides the effect of pplx-embed-v1-4b install, users can directly use pplx-embed-v1-4b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

pplx-embed-v1-4b install url in huggingface.co:

https://huggingface.co/perplexity-ai/pplx-embed-v1-4b

Url of pplx-embed-v1-4b

Provider of pplx-embed-v1-4b huggingface.co

perplexity-ai
ORGANIZATIONS

Other API from perplexity-ai

huggingface.co

Total runs: 831
Run Growth: 275
Growth Rate: 33.09%
Updated:February 27 2025
huggingface.co

Total runs: 110
Run Growth: 91
Growth Rate: 82.73%
Updated:February 07 2026