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

  • Log In
  • Sign Up

kornwtp
/
mixsp-diffaug-roberta-base

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

Instructions to use kornwtp/mixsp-diffaug-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use kornwtp/mixsp-diffaug-roberta-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("kornwtp/mixsp-diffaug-roberta-base")
    
    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 kornwtp/mixsp-diffaug-roberta-base with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("kornwtp/mixsp-diffaug-roberta-base")
    model = AutoModel.from_pretrained("kornwtp/mixsp-diffaug-roberta-base")
  • Notebooks
  • Google Colab
  • Kaggle
mixsp-diffaug-roberta-base
596 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
kornwtp's picture
kornwtp
Update README.md
87f16ea verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    128 Bytes
    Update README.md almost 2 years ago
  • config.json
    819 Bytes
    Initial commit almost 2 years ago
  • fc_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    7.3 kB
    xet
    Initial commit almost 2 years ago
  • merges.txt
    456 kB
    Initial commit almost 2 years ago
  • moe_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    94.4 MB
    xet
    update almost 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    499 MB
    xet
    Initial commit almost 2 years ago
  • special_tokens_map.json
    280 Bytes
    Initial commit almost 2 years ago
  • tokenizer.json
    2.11 MB
    Initial commit almost 2 years ago
  • tokenizer_config.json
    351 Bytes
    Initial commit almost 2 years ago
  • vocab.json
    798 kB
    Initial commit almost 2 years ago