Instructions to use Godfrey2712/arg_mining_mm123_locutions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Godfrey2712/arg_mining_mm123_locutions with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Godfrey2712/arg_mining_mm123_locutions", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Godfrey2712/arg_mining_mm123_locutions") model = AutoModelForSequenceClassification.from_pretrained("Godfrey2712/arg_mining_mm123_locutions", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Classifies Coherent Locution Pairs as either Arguing, Disagreeing, or N/A Illocutionary Force. N/A consists of instances where there are other and no illocutionary forces present in the sentence pair.
Takes two coherent Locutions and classifies as either Arguing, Disagreeing, or N/A.
Results:
| precision | recall | f1-score | support | |
|---|---|---|---|---|
| Arguing | 0.57 | 0.51 | 0.54 | 110 |
| Disagreeing | 0.35 | 0.36 | 0.36 | 22 |
| N/A | 0.80 | 0.83 | 0.82 | 289 |
| accuracy | 0.72 | 421 | ||
| macro avg | 0.57 | 0.57 | 0.57 | 421 |
| weighted avg | 0.72 | 0.72 | 0.72 | 421 |
Dataset: https://corpora.aifdb.org/mm123 The data preprocessing and fine-tuning technique can be found here: https://discovery.dundee.ac.uk/en/studentTheses/exploiting-illocutionary-forces-in-dialogue-structures-for-enhanc/
- Downloads last month
- -