Instructions to use perplexity-ai/pplx-embed-v2-late-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use perplexity-ai/pplx-embed-v2-late-9b with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("perplexity-ai/pplx-embed-v2-late-9b") 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
Download tokenizer.json from perplexity-ai/pplx-embed-v2-late-9b: direct link, hf CLI and curl.
- Browser
- Download file 20 MB
-
https://huggingface.co/perplexity-ai/pplx-embed-v2-late-9b/resolve/main/tokenizer.json
- Command line
-
hf download hf://perplexity-ai/pplx-embed-v2-late-9b/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/perplexity-ai/pplx-embed-v2-late-9b/resolve/main/tokenizer.json
20 MB
- Xet hash:
- 5e14ddb081d739c4a10bd593f4b9d6fcfa5cfb87187223c2150114ec36032fcd
- Size of remote file:
- 20 MB
- SHA256:
- a171436d73b1d30b9ba99ff6b7f15efcf45cf428b6ff908842286a8057030b1c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.