Instructions to use microsoft/DialogRPT-updown with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/DialogRPT-updown with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="microsoft/DialogRPT-updown")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("microsoft/DialogRPT-updown") model = AutoModelForSequenceClassification.from_pretrained("microsoft/DialogRPT-updown", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.d039dec
-
allow flax
afe1247
-
Update config.json
5c697d3 -
Update special_tokens_map.json
bb90eed
-
Update README.md
b4d1bb4 -
Update README.md
81ae5ee
-
Update README.md
638a193 -
Update README.md
d35b3d7 -
Update README.md
a529f65 -
Update README.md
026f97d -
Update README.md
be1bac8 -
Update README.md
e0cf98b -
Update README.md
f8c6b17
-
Update vocab.json
883f792 -
Update README.md
3f86df3 -
Update pytorch_model.bin
7162384 -
Update merges.txt
b05cf77 -
Update config.json
589d2ba -
Update vocab.json
2938208 -
Update README.md
83a1944 -
Update config.json
6cf0895 -
initial commit
cdd3e05