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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Duplicated from  ai-forever/ru-en-RoSBERTa

thunderbasil
/
ru-en-RoSBERTa

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

Instructions to use thunderbasil/ru-en-RoSBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use thunderbasil/ru-en-RoSBERTa with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thunderbasil/ru-en-RoSBERTa")
    
    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 thunderbasil/ru-en-RoSBERTa with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="thunderbasil/ru-en-RoSBERTa")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("thunderbasil/ru-en-RoSBERTa")
    model = AutoModel.from_pretrained("thunderbasil/ru-en-RoSBERTa", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ru-en-RoSBERTa
1.63 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
thunderbasil's picture
thunderbasil
ai-forever's picture
ai-forever
Duplicate from ai-forever/ru-en-RoSBERTa
29f06d0 5 months ago
  • 1_Pooling
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • .gitattributes
    1.52 kB
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • README.md
    52.6 kB
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • config.json
    715 Bytes
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • config_sentence_transformers.json
    241 Bytes
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • merges.txt
    1.82 MB
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • model.safetensors
    1.61 GB
    xet
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • modules.json
    349 Bytes
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • special_tokens_map.json
    958 Bytes
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • tokenizer.json
    5.99 MB
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • tokenizer_config.json
    1.21 kB
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago
  • vocab.json
    2.49 MB
    Duplicate from ai-forever/ru-en-RoSBERTa 5 months ago