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

fathyshalab
/
massive_play-roberta-large-v1-2-71

Text Classification
sentence-transformers
PyTorch
setfit
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use fathyshalab/massive_play-roberta-large-v1-2-71 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use fathyshalab/massive_play-roberta-large-v1-2-71 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("fathyshalab/massive_play-roberta-large-v1-2-71")
    
    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]
  • setfit

    How to use fathyshalab/massive_play-roberta-large-v1-2-71 with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("fathyshalab/massive_play-roberta-large-v1-2-71")
  • Notebooks
  • Google Colab
  • Kaggle
massive_play-roberta-large-v1-2-71 / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
fathyshalab's picture
fathyshalab
Add SetFit model
cfe7018 over 3 years ago
  • config.json
    191 Bytes
    Add SetFit model over 3 years ago