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

  • Log In
  • Sign Up

bowphs
/
SPhilBerta

Sentence Similarity
sentence-transformers
PyTorch
Safetensors
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use bowphs/SPhilBerta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use bowphs/SPhilBerta with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("bowphs/SPhilBerta")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
SPhilBerta
1.09 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
bowphs's picture
bowphs
Update tokenizer_config.json
5d0736d verified 8 months ago
  • 1_Pooling
    Update 1_Pooling/config.json over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    3.21 kB
    Add SPhilBerta files over 2 years ago
  • config.json
    670 Bytes
    Add SPhilBerta files over 2 years ago
  • config_sentence_transformers.json
    123 Bytes
    Add SPhilBerta files over 2 years ago
  • merges.txt
    994 kB
    Add SPhilBerta files over 2 years ago
  • model.safetensors
    541 MB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • modules.json
    229 Bytes
    Add SPhilBerta files over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    541 MB
    xet
    Add SPhilBerta files over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add SPhilBerta files over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Add SPhilBerta files over 2 years ago
  • tokenizer.json
    3.51 MB
    Add SPhilBerta files over 2 years ago
  • tokenizer_config.json
    351 Bytes
    Update tokenizer_config.json 8 months ago
  • vocab.json
    1.43 MB
    Add SPhilBerta files over 2 years ago