Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

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

Feature Extraction
sentence-transformers
ONNX
Safetensors
multilingual
bidirectional_pplx_qwen3
sentence-similarity
mteb
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community
13

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
pplx-embed-v1-4b
32.2 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 38 commits
mkrimmel-pplx's picture
mkrimmel-pplx
fix: add fast tokenizer (#13)
2cd0f78 about 1 month ago
  • 1_Pooling
    Update 1_Pooling/config.json 4 months ago
  • assets
    Upload diag.png 3 months ago
  • onnx
    Upload 9 files 3 months ago
  • .gitattributes
    2.09 kB
    fix: add fast tokenizer (#13) about 1 month ago
  • README.md
    6.25 kB
    Update README.md (#9) 3 months ago
  • added_tokens.json
    707 Bytes
    Upload folder using huggingface_hub 4 months ago
  • config.json
    1.8 kB
    feat: config flag to support text-embeddings-inference (#3) 3 months ago
  • configuration.py
    152 Bytes
    feat: new model implementation (#1) 4 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 4 months ago
  • model.safetensors
    16.1 GB
    xet
    Upload folder using huggingface_hub 4 months ago
  • modeling.py
    2.91 kB
    feat: new model implementation (#1) 4 months ago
  • modules.json
    361 Bytes
    feat: new model implementation (#1) 4 months ago
  • special_tokens_map.json
    788 Bytes
    Upload folder using huggingface_hub 4 months ago
  • st_quantize.py
    3.55 kB
    feat: ubinary quantization (#6) 3 months ago
  • tokenizer.json
    11.4 MB
    xet
    fix: add fast tokenizer (#13) about 1 month ago
  • tokenizer_config.json
    5.64 kB
    Upload folder using huggingface_hub 4 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 4 months ago