Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

zenlm
/
zen-embedding

Feature Extraction
Transformers
Safetensors
sentence-transformers
English
qwen3
text-generation
zen
zenlm
hanzo
embedding
retrieval
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use zenlm/zen-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zenlm/zen-embedding with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="zenlm/zen-embedding")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("zenlm/zen-embedding")
    model = AutoModelForCausalLM.from_pretrained("zenlm/zen-embedding")
  • sentence-transformers

    How to use zenlm/zen-embedding with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("zenlm/zen-embedding")
    
    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
zen-embedding
15.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
zeekay's picture
zeekay
Update model card: add zen/zenlm tags, fix branding
22f8c8a verified 2 months ago
  • 1_Pooling
    Add model weights 2 months ago
  • .gitattributes
    1.57 kB
    Add model weights 2 months ago
  • LICENSE
    11.3 kB
    Add model weights 2 months ago
  • README.md
    1.38 kB
    Update model card: add zen/zenlm tags, fix branding 2 months ago
  • config.json
    729 Bytes
    Add model weights 2 months ago
  • config_sentence_transformers.json
    215 Bytes
    Add model weights 2 months ago
  • generation_config.json
    117 Bytes
    Add model weights 2 months ago
  • merges.txt
    1.67 MB
    Add model weights 2 months ago
  • model-00001-of-00004.safetensors
    4.9 GB
    xet
    Add model weights 2 months ago
  • model-00002-of-00004.safetensors
    4.92 GB
    xet
    Add model weights 2 months ago
  • model-00003-of-00004.safetensors
    4.98 GB
    xet
    Add model weights 2 months ago
  • model-00004-of-00004.safetensors
    336 MB
    xet
    Add model weights 2 months ago
  • model.safetensors.index.json
    30.4 kB
    Add model weights 2 months ago
  • modules.json
    349 Bytes
    Add model weights 2 months ago
  • tokenizer.json
    11.4 MB
    xet
    Add model weights 2 months ago
  • tokenizer_config.json
    7.26 kB
    Add model weights 2 months ago
  • vocab.json
    2.78 MB
    Add model weights 2 months ago