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

  • Log In
  • Sign Up

tomaarsen
/
bert-base-uncased-multi-task

Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
loss:SoftmaxLoss
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use tomaarsen/bert-base-uncased-multi-task with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use tomaarsen/bert-base-uncased-multi-task with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tomaarsen/bert-base-uncased-multi-task")
    
    sentences = [
        "the guy is dead",
        "The dog is dead.",
        "Men are sitting in the park.",
        "People are outside."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bert-base-uncased-multi-task
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tomaarsen's picture
tomaarsen HF Staff
Add new SentenceTransformer model.
e9ee5d2 verified about 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    24.5 kB
    Add new SentenceTransformer model. about 2 years ago
  • config.json
    689 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • config_sentence_transformers.json
    220 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • modules.json
    242 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    132 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.25 kB
    Add new SentenceTransformer model. about 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. about 2 years ago