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

mdizak
/
all-roberta-large-v1-rust

Sentence Similarity
sentence-transformers
PyTorch
Rust
Safetensors
Transformers
English
roberta
fill-mask
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use mdizak/all-roberta-large-v1-rust with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mdizak/all-roberta-large-v1-rust with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mdizak/all-roberta-large-v1-rust")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use mdizak/all-roberta-large-v1-rust with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("mdizak/all-roberta-large-v1-rust")
    model = AutoModelForMaskedLM.from_pretrained("mdizak/all-roberta-large-v1-rust")
  • Notebooks
  • Google Colab
  • Kaggle
all-roberta-large-v1-rust
4.27 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
mdizak's picture
mdizak
Initial commit
d9995e4 about 2 years ago
  • 1_Pooling
    Initial commit about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    9.89 kB
    Initial commit about 2 years ago
  • config.json
    650 Bytes
    Initial commit about 2 years ago
  • config_sentence_transformers.json
    116 Bytes
    Initial commit about 2 years ago
  • data_config.json
    15.7 kB
    Initial commit about 2 years ago
  • merges.txt
    456 kB
    Initial commit about 2 years ago
  • model.safetensors
    1.42 GB
    xet
    Initial commit about 2 years ago
  • modules.json
    349 Bytes
    Initial commit about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    1.42 GB
    xet
    Initial commit about 2 years ago
  • rust_model.ot
    1.42 GB
    xet
    Initial commit about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Initial commit about 2 years ago
  • special_tokens_map.json
    239 Bytes
    Initial commit about 2 years ago
  • tokenizer.json
    1.36 MB
    Initial commit about 2 years ago
  • tokenizer_config.json
    328 Bytes
    Initial commit about 2 years ago
  • train_script.py
    13.1 kB
    Initial commit about 2 years ago
  • vocab.json
    798 kB
    Initial commit about 2 years ago