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

  • Log In
  • Sign Up

deepvk
/
USER2-small

Sentence Similarity
sentence-transformers
Safetensors
Russian
modernbert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use deepvk/USER2-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use deepvk/USER2-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("deepvk/USER2-small")
    
    sentences = [
        "Это счастливый человек",
        "Это счастливая собака",
        "Это очень счастливый человек",
        "Сегодня солнечный день"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
USER2-small
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
Egor Spirin
Upload model and tokenizer
23f65b3 about 1 year ago
  • 1_Pooling
    Upload model and tokenizer about 1 year ago
  • assets
    Upload model and tokenizer about 1 year ago
  • .gitattributes
    1.56 kB
    Upload model and tokenizer about 1 year ago
  • README.md
    14.8 kB
    Upload model and tokenizer about 1 year ago
  • config.json
    2.27 kB
    Upload model and tokenizer about 1 year ago
  • config_sentence_transformers.json
    359 Bytes
    Upload model and tokenizer about 1 year ago
  • model.safetensors
    138 MB
    xet
    Upload model and tokenizer about 1 year ago
  • modules.json
    229 Bytes
    Upload model and tokenizer about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Upload model and tokenizer about 1 year ago
  • special_tokens_map.json
    837 Bytes
    Upload model and tokenizer about 1 year ago
  • tokenizer.json
    4.75 MB
    Upload model and tokenizer about 1 year ago
  • tokenizer_config.json
    21.2 kB
    Upload model and tokenizer about 1 year ago