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
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
irinaqqq's picture
irinaqqq
ADDED MORE GPAPHS
c6cece9 4 months ago
  • artifacts
    ADDED MORE GPAPHS 4 months ago
  • data
    Upload folder using huggingface_hub 4 months ago
  • data_parser
    Upload folder using huggingface_hub 4 months ago
  • site
    f 4 months ago
  • src
    ADDED MORE GPAPHS 4 months ago
  • .dockerignore
    77 Bytes
    Upload folder using huggingface_hub 4 months ago
  • .gitattributes
    2.04 kB
    Upload folder using huggingface_hub 4 months ago
  • .gitignore
    46 Bytes
    f 4 months ago
  • README.md
    8.29 kB
    Upload folder using huggingface_hub 4 months ago
  • check_base_model.py
    287 Bytes
    Upload folder using huggingface_hub 4 months ago
  • check_device.py
    855 Bytes
    Upload folder using huggingface_hub 4 months ago
  • docker-compose.yml
    246 Bytes
    Upload folder using huggingface_hub 4 months ago
  • requirements.txt
    227 Bytes
    Upload folder using huggingface_hub 4 months ago
  • upload_hf.py
    347 Bytes
    Upload folder using huggingface_hub 4 months ago