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-4b 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-4b with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("perplexity-ai/pplx-embed-v1-4b", 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 ·
ea3d9bf
1
Parent(s): eec040e
fix: typo in TEI snippet
Browse files
README.md
CHANGED
|
@@ -131,7 +131,7 @@ curl http://0.0.0.0:8080/embed \
|
|
| 131 |
"Animals use curiosity to adapt and survive.",
|
| 132 |
"Philosophy examines the nature of curiosity.",
|
| 133 |
],
|
| 134 |
-
"normalize" false
|
| 135 |
}'
|
| 136 |
```
|
| 137 |
|
|
|
|
| 131 |
"Animals use curiosity to adapt and survive.",
|
| 132 |
"Philosophy examines the nature of curiosity.",
|
| 133 |
],
|
| 134 |
+
"normalize": false
|
| 135 |
}'
|
| 136 |
```
|
| 137 |
|