Feature Extraction
sentence-transformers
ONNX
Safetensors
multilingual
bidirectional_pplx_qwen3
sentence-similarity
mteb
custom_code
text-embeddings-inference
Instructions to use perplexity-ai/pplx-embed-v1-0.6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use perplexity-ai/pplx-embed-v1-0.6b with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("perplexity-ai/pplx-embed-v1-0.6b", trust_remote_code=True) 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
Commit ·
b7a4175
1
Parent(s): 1d5d683
fix: use 0.6B model in API call
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ curl -X POST https://api.perplexity.ai/v1/embeddings \
|
|
| 54 |
"Animals use curiosity to adapt and survive.",
|
| 55 |
"Philosophy examines the nature of curiosity.",
|
| 56 |
],
|
| 57 |
-
"model": "pplx-embed-1-
|
| 58 |
}'
|
| 59 |
```
|
| 60 |
|
|
|
|
| 54 |
"Animals use curiosity to adapt and survive.",
|
| 55 |
"Philosophy examines the nature of curiosity.",
|
| 56 |
],
|
| 57 |
+
"model": "pplx-embed-1-0.6B"
|
| 58 |
}'
|
| 59 |
```
|
| 60 |
|