Instructions to use microsoft/DialogRPT-depth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/DialogRPT-depth with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="microsoft/DialogRPT-depth")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("microsoft/DialogRPT-depth") model = AutoModelForSequenceClassification.from_pretrained("microsoft/DialogRPT-depth", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,8 +33,8 @@ Examples below can be reproduced with this [Colab Notebook](https://colab.resear
|
|
| 33 |
|
| 34 |
| Context | Response | `depth` score |
|
| 35 |
| :------ | :------- | :------------: |
|
| 36 |
-
| I love NLP! | Can anyone recommend a nice review paper? | 0.
|
| 37 |
-
| I love NLP! | Me too! | 0.
|
| 38 |
|
| 39 |
### Contact:
|
| 40 |
Please create an issue on [our repo](https://github.com/golsun/DialogRPT)
|
|
|
|
| 33 |
|
| 34 |
| Context | Response | `depth` score |
|
| 35 |
| :------ | :------- | :------------: |
|
| 36 |
+
| I love NLP! | Can anyone recommend a nice review paper? | 0.724 |
|
| 37 |
+
| I love NLP! | Me too! | 0.032 |
|
| 38 |
|
| 39 |
### Contact:
|
| 40 |
Please create an issue on [our repo](https://github.com/golsun/DialogRPT)
|