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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

djsull
/
sentence_classification

Text Classification
Transformers
TensorBoard
Safetensors
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use djsull/sentence_classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="djsull/sentence_classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("djsull/sentence_classification")
    model = AutoModelForSequenceClassification.from_pretrained("djsull/sentence_classification", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sentence_classification / runs
8.89 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
djsull's picture
djsull
djsull/sentence_roberta
6c0faf8 verified about 2 years ago
  • Jul30_04-54-24_129-146-79-76
    djsull/sentence_roberta about 2 years ago