Instructions to use tasksource/deberta-base-long-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tasksource/deberta-base-long-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="tasksource/deberta-base-long-nli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tasksource/deberta-base-long-nli") model = AutoModelForSequenceClassification.from_pretrained("tasksource/deberta-base-long-nli") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -291,6 +291,10 @@ datasets:
|
|
| 291 |
- tasksource/tasksource_dpo_pairs
|
| 292 |
library_name: transformers
|
| 293 |
pipeline_tag: zero-shot-classification
|
|
|
|
|
|
|
|
|
|
|
|
|
| 294 |
---
|
| 295 |
|
| 296 |
# Model Card for Model ID
|
|
|
|
| 291 |
- tasksource/tasksource_dpo_pairs
|
| 292 |
library_name: transformers
|
| 293 |
pipeline_tag: zero-shot-classification
|
| 294 |
+
tags:
|
| 295 |
+
- text-classification
|
| 296 |
+
- zero-shot-classification
|
| 297 |
+
license: mit
|
| 298 |
---
|
| 299 |
|
| 300 |
# Model Card for Model ID
|