Sentence Similarity
sentence-transformers
Safetensors
Russian
Kazakh
legal
semantic-search
retrieval
faiss
fastapi
openai
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
| { | |
| "clauses_ru": 477, | |
| "clauses_kz": 477, | |
| "train_pairs": 3786, | |
| "test_pairs": 699, | |
| "leakage_ids_count": 0, | |
| "missing_train_positive_ids_count": 0, | |
| "missing_test_positive_ids_count": 0, | |
| "leakage_sample": [], | |
| "missing_train_sample": [], | |
| "missing_test_sample": [] | |
| } |