Instructions to use microsoft/DialogRPT-human-vs-machine with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/DialogRPT-human-vs-machine with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="microsoft/DialogRPT-human-vs-machine")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("microsoft/DialogRPT-human-vs-machine") model = AutoModelForSequenceClassification.from_pretrained("microsoft/DialogRPT-human-vs-machine", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
5790927 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bc0da6ab3fbff11b0acfa01b97a0b28211b7c40f865471c87723238e5024a602
size 1520029114
|