Instructions to use chkla/roberta-argument with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chkla/roberta-argument with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chkla/roberta-argument")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("chkla/roberta-argument") model = AutoModelForSequenceClassification.from_pretrained("chkla/roberta-argument", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ This model was trained on ~25k heterogeneous manually annotated sentences (π
|
|
| 6 |
|
| 7 |
π **Dataset**
|
| 8 |
|
| 9 |
-
The dataset (π Stab et al. 2018) consists of **ARGUMENTS** (\
|
| 10 |
|
| 11 |
| TOPIC | ARGUMENT | NON-ARGUMENT |
|
| 12 |
|----|----|----|
|
|
|
|
| 6 |
|
| 7 |
π **Dataset**
|
| 8 |
|
| 9 |
+
The dataset (π Stab et al. 2018) consists of **ARGUMENTS** (\~11k) that either support or oppose a topic if it includes a relevant reason for supporting or opposing the topic, or as a **NON-ARGUMENT** (\~14k) if it does not include reasons. The authors focus on controversial topics, i.e., topics that include an obvious polarity to the possible outcomes and compile a final set of eight controversial topics: _abortion, school uniforms, death penalty, marijuana legalization, nuclear energy, cloning, gun control, and minimum wage_.
|
| 10 |
|
| 11 |
| TOPIC | ARGUMENT | NON-ARGUMENT |
|
| 12 |
|----|----|----|
|