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

ceggian
/
sbart_pt_reddit_softmax_32

Sentence Similarity
sentence-transformers
PyTorch
Transformers
bart
feature-extraction
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use ceggian/sbart_pt_reddit_softmax_32 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ceggian/sbart_pt_reddit_softmax_32")
    
    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 ceggian/sbart_pt_reddit_softmax_32 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("ceggian/sbart_pt_reddit_softmax_32")
    model = AutoModel.from_pretrained("ceggian/sbart_pt_reddit_softmax_32")
  • Notebooks
  • Google Colab
  • Kaggle
sbart_pt_reddit_softmax_32
561 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
ceggian's picture
ceggian
Delete 1_Pooling/test
b94bffa almost 4 years ago
  • 1_Pooling
    Delete 1_Pooling/test almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • README.md
    3.69 kB
    Upload README.md almost 4 years ago
  • config.json
    1.74 kB
    Upload config.json almost 4 years ago
  • config_sentence_transformers.json
    124 Bytes
    Upload config_sentence_transformers.json almost 4 years ago
  • merges.txt
    456 kB
    Upload merges.txt almost 4 years ago
  • modules.json
    229 Bytes
    Upload modules.json almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    558 MB
    xet
    Upload pytorch_model.bin almost 4 years ago
  • sentence_bert_config.json
    54 Bytes
    Upload sentence_bert_config.json almost 4 years ago
  • special_tokens_map.json
    772 Bytes
    Upload special_tokens_map.json almost 4 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer.json almost 4 years ago
  • tokenizer_config.json
    1.17 kB
    Upload tokenizer_config.json almost 4 years ago
  • vocab.json
    798 kB
    Upload vocab.json almost 4 years ago