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

irinaqqq
/
lexir

Sentence Similarity
sentence-transformers
Safetensors
Russian
Kazakh
legal
semantic-search
retrieval
faiss
fastapi
openai
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use irinaqqq/lexir with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("irinaqqq/lexir")
    
    sentences = [
        "Это счастливый человек",
        "Это счастливая собака",
        "Это очень счастливый человек",
        "Сегодня солнечный день"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
lexir / src
42.6 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
irinaqqq's picture
irinaqqq
ADDED MORE GPAPHS
c6cece9 4 months ago
  • api.py
    1.88 kB
    ADDED MORE GPAPHS 4 months ago
  • build_index.py
    2.76 kB
    ADDED MORE GPAPHS 4 months ago
  • data_io.py
    1.79 kB
    Upload folder using huggingface_hub 4 months ago
  • demo_cli.py
    2.13 kB
    f 4 months ago
  • evaluate.py
    8.58 kB
    ADDED MORE GPAPHS 4 months ago
  • plot_eval.py
    21.4 kB
    ADDED MORE GPAPHS 4 months ago
  • tempCodeRunnerFile.py
    10 Bytes
    Upload folder using huggingface_hub 4 months ago
  • train_biencoder.py
    1.88 kB
    ADDED MORE GPAPHS 4 months ago
  • validate.py
    2.18 kB
    ADDED MORE GPAPHS 4 months ago