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

  • Log In
  • Sign Up

LeoCristt
/
hackathon-embedding-model

Feature Extraction
sentence-transformers
Safetensors
Transformers
Russian
English
t5
mteb
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use LeoCristt/hackathon-embedding-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LeoCristt/hackathon-embedding-model")
    
    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]
  • Transformers

    How to use LeoCristt/hackathon-embedding-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="LeoCristt/hackathon-embedding-model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("LeoCristt/hackathon-embedding-model")
    model = AutoModel.from_pretrained("LeoCristt/hackathon-embedding-model")
  • Notebooks
  • Google Colab
  • Kaggle
hackathon-embedding-model
3.31 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
LeoCristt's picture
LeoCristt
Upload model from frida_embedding_model
c741c38 verified 7 months ago
  • 1_Pooling
    Upload model from frida_embedding_model 7 months ago
  • .DS_Store
    6.15 kB
    Upload model from frida_embedding_model 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    55 kB
    Upload model from frida_embedding_model 7 months ago
  • config.json
    824 Bytes
    Upload model from frida_embedding_model 7 months ago
  • config_sentence_transformers.json
    609 Bytes
    Upload model from frida_embedding_model 7 months ago
  • merges.txt
    1.68 MB
    Upload model from frida_embedding_model 7 months ago
  • model.safetensors
    3.29 GB
    xet
    Upload model from frida_embedding_model 7 months ago
  • modules.json
    368 Bytes
    Upload model from frida_embedding_model 7 months ago
  • sentence_bert_config.json
    60 Bytes
    Upload model from frida_embedding_model 7 months ago
  • special_tokens_map.json
    1.01 kB
    Upload model from frida_embedding_model 7 months ago
  • tokenizer.json
    8.3 MB
    Upload model from frida_embedding_model 7 months ago
  • tokenizer_config.json
    1.3 kB
    Upload model from frida_embedding_model 7 months ago
  • vocab.json
    2.32 MB
    Upload model from frida_embedding_model 7 months ago