Instructions to use alisawuffles/roberta-large-wanli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alisawuffles/roberta-large-wanli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alisawuffles/roberta-large-wanli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alisawuffles/roberta-large-wanli") model = AutoModelForSequenceClassification.from_pretrained("alisawuffles/roberta-large-wanli", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
bf119c4
1
Parent(s): 22d3c34
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ datasets:
|
|
| 11 |
- alisawuffles/WANLI
|
| 12 |
---
|
| 13 |
|
| 14 |
-
This is an off-the-shelf roberta-large model finetuned on WANLI, the Worker-AI Collaborative NLI dataset ([Liu et al., 2022](https://
|
| 15 |
|
| 16 |
### How to use
|
| 17 |
```python
|
|
|
|
| 11 |
- alisawuffles/WANLI
|
| 12 |
---
|
| 13 |
|
| 14 |
+
This is an off-the-shelf roberta-large model finetuned on WANLI, the Worker-AI Collaborative NLI dataset ([Liu et al., 2022](https://aclanthology.org/2022.findings-emnlp.508/)). It outperforms the `roberta-large-mnli` model on eight out-of-domain test sets, including by 11% on HANS and 9% on Adversarial NLI.
|
| 15 |
|
| 16 |
### How to use
|
| 17 |
```python
|