chkla / roberta-argument

huggingface.co
Total runs: 499
24-hour runs: 12
7-day runs: -427
30-day runs: -1.1K
Model's Last Updated: March 23 2023
text-classification

Introduction of roberta-argument

Model Details of roberta-argument

Welcome to RoBERTArg!

🤖 Model description

This model was trained on ~25k heterogeneous manually annotated sentences (📚 Stab et al. 2018 ) of controversial topics to classify text into one of two labels: 🏷 NON-ARGUMENT (0) and ARGUMENT (1).

🗃 Dataset

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 .

TOPIC ARGUMENT NON-ARGUMENT
abortion 2213 2,427
school uniforms 325 1,734
death penalty 325 2,083
marijuana legalization 325 1,262
nuclear energy 325 2,118
cloning 325 1,494
gun control 325 1,889
minimum wage 325 1,346

🏃🏼‍♂️ Model training

RoBERTArg was fine-tuned on a RoBERTA (base) pre-trained model from HuggingFace using the HuggingFace trainer with the following hyperparameters:

training_args = TrainingArguments(
    num_train_epochs=2,
    learning_rate=2.3102e-06,
    seed=8,
    per_device_train_batch_size=64,
    per_device_eval_batch_size=64,
)

📊 Evaluation

The model was evaluated on an evaluation set (20%):

Model Acc F1 R arg R non P arg P non
RoBERTArg 0.8193 0.8021 0.8463 0.7986 0.7623 0.8719

Showing the confusion matrix using again the evaluation set:

ARGUMENT NON-ARGUMENT
ARGUMENT 2213 558
NON-ARGUMENT 325 1790

⚠️ Intended Uses & Potential Limitations

The model can only be a starting point to dive into the exciting field of argument mining. But be aware. An argument is a complex structure, with multiple dependencies. Therefore, the model may perform less well on different topics and text types not included in the training set.

Enjoy and stay tuned! 🚀

🐦 Twitter: @chklamm

Runs of chkla roberta-argument on huggingface.co

499
Total runs
12
24-hour runs
54
3-day runs
-427
7-day runs
-1.1K
30-day runs

More Information About roberta-argument huggingface.co Model

roberta-argument huggingface.co

roberta-argument huggingface.co is an AI model on huggingface.co that provides roberta-argument's model effect (), which can be used instantly with this chkla roberta-argument model. huggingface.co supports a free trial of the roberta-argument model, and also provides paid use of the roberta-argument. Support call roberta-argument model through api, including Node.js, Python, http.

roberta-argument huggingface.co Url

https://huggingface.co/chkla/roberta-argument

chkla roberta-argument online free

roberta-argument huggingface.co is an online trial and call api platform, which integrates roberta-argument's modeling effects, including api services, and provides a free online trial of roberta-argument, you can try roberta-argument online for free by clicking the link below.

chkla roberta-argument online free url in huggingface.co:

https://huggingface.co/chkla/roberta-argument

roberta-argument install

roberta-argument is an open source model from GitHub that offers a free installation service, and any user can find roberta-argument on GitHub to install. At the same time, huggingface.co provides the effect of roberta-argument install, users can directly use roberta-argument installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

roberta-argument install url in huggingface.co:

https://huggingface.co/chkla/roberta-argument

Url of roberta-argument

roberta-argument huggingface.co Url

Provider of roberta-argument huggingface.co

chkla
ORGANIZATIONS

Other API from chkla