GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - marjanhs/procon20: Dataset associated with the "Stance Prediction for Contemporary Issues: Data and Experiments" SocialNLP@ACL2020 paper

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
common
common
 
 
data/ProconDual
data/ProconDual
 
 
datasets
datasets
 
 
models
models
 
 
utils
utils
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
__init__.py
__init__.py
 
 
procon20.tsv
procon20.tsv
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

Stance Prediction for Contemporary Issues: Data and Experiments

We investigate whether pre-trained bidirectional transformers with sentiment and emotion information improve stance detection in long discussions of contemporary issues. As a part of this work, we create a novel stance detection dataset covering 419 different controversial issues and their related pros and cons collected by procon.org in nonpartisan format. Experimental results show that a shallow recurrent neural network with sentiment or emotion information can reach competitive results compared to fine-tuned BERT with 20x fewer parameters. We also use a simple approach that explains which input phrases contribute to stance detection.

Paper:

The paper can be found here.

Citation:

@inproceedings{hosseinia-etal-2020-stance,
    title = "Stance Prediction for Contemporary Issues: Data and Experiments",
    author = "Hosseinia, Marjan  and Dragut, Eduard  and Mukherjee, Arjun",
    booktitle = "Proceedings of the Eighth International Workshop on Natural Language Processing for Social Media",
    month = jul,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/2020.socialnlp-1.5",
    pages = "32--40",
    
}

Code:

The code is an extention of Hedwig implementation of BERT. Please follow Hedwig's instruction to install the requirements. (you do not need to install word embedding for this project)

Dataset:

Procon20 contains 419 different controversial issues with 6094 samples. Each sample is a pair of a (question, argument) that is either a pro(01) or a con(10). The dataset file can be found at data/ProconDual. Place dataset files in ../hedwig-data/datasets/ProconDual/

Model Execution:

To train and evaluate the VADER-sent-GRU model on (train.tsv, dev.tsv, test.tsv):

python -m models.bert_lstm  --dataset ProconDual  --model bert-base-uncased --max-seq-length 256 --batch-size 8 --lr 2e-4 --epochs 30  --gpu 1 --early_on_f1 --seed 2035  --pooling

To train and evaluate the NRC-Emotion-GRU model on on (train.tsv, dev.tsv, test.tsv):

python -m models.bert_lstm_emotion  --dataset ProconDual  --model bert-base-uncased --max-seq-length 256 --batch-size 8 --lr 2e-4 --epochs 30  --gpu 1 --early_on_f1 --seed 2035  --max-em-len 11 --pooling --emotion-filters positive,negative

About

Dataset associated with the "Stance Prediction for Contemporary Issues: Data and Experiments" SocialNLP@ACL2020 paper

Topics

datasetssentiment-analysisstancestance-detection

Resources

Readme
MIT license
Activity

Stars

7 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.