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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

leafxyz
/
main_v1

sentence-transformers
Safetensors
Arabic
dense-retrieval
bi-encoder
Model card Files Files and versions
xet
Community

Instructions to use leafxyz/main_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use leafxyz/main_v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("leafxyz/main_v1")
    
    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
main_v1
51.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
leafxyz's picture
leafxyz
Upload README.md with huggingface_hub
ca5cc82 verified 18 days ago
  • 1_Pooling
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • .gitattributes
    1.57 kB
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • README.md
    635 Bytes
    Upload README.md with huggingface_hub 18 days ago
  • adapter_config.json
    1.13 kB
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • adapter_model.safetensors
    40.4 MB
    xet
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • chat_template.jinja
    4.12 kB
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • config_sentence_transformers.json
    384 Bytes
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • modules.json
    429 Bytes
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • sentence_bert_config.json
    241 Bytes
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • tokenizer.json
    11.4 MB
    xet
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • tokenizer_config.json
    375 Bytes
    Upload trained Bi-Encoder model & tokenizer at Step 500 18 days ago
  • training_config.json
    288 Bytes
    Upload training_config.json with huggingface_hub 18 days ago