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

microsoft
/
DialogRPT-width

Text Classification
Transformers
PyTorch
gpt2
Model card Files Files and versions
xet
Community
1

Instructions to use microsoft/DialogRPT-width with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use microsoft/DialogRPT-width with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="microsoft/DialogRPT-width")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("microsoft/DialogRPT-width")
    model = AutoModelForSequenceClassification.from_pretrained("microsoft/DialogRPT-width", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
DialogRPT-width
1.05 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
system's picture
system HF Staff
Update config.json
428c626 almost 6 years ago
  • .gitattributes
    345 Bytes
    initial commit almost 6 years ago
  • README.md
    2.27 kB
    Update README.md almost 6 years ago
  • config.json
    784 Bytes
    Update config.json almost 6 years ago
  • vocab.json
    1.04 MB
    Update vocab.json almost 6 years ago