Coder Social home page Coder Social logo

absa-qa's Introduction

ABSA-QA

Source code for our paper "Aspect-based Sentiment Analysis in Question Answering Forums" in EMNLP-Findings 2021.

Requirements

  • Python 3.7.4
  • torch 1.6.0
  • fastNLP 0.5.5
  • nltk 3.5

Data

The datasets are from: Aspect Sentiment Classification Towards Question-Answering with Reinforced Bidirectional Attention Network (ACL 2019)

*Due to the unclear license of the original data, we do not include it here, pls download from the original link in the paper.

Training and Evaluation

To train the model:

python train_model.py --dataset $category

where $category in [elec, beauty, bags] denotes the dataset name, the default one is the elec dataset.

The model with best performance on the dev dataset will be saved in outputs/ and evaluated on the test data after the training phase is finished

Citation

If the code is used in your research, please star our repo and cite our paper as follows:

@inproceedings{zhang-etal-2021-aspect,
    title = "Aspect-based Sentiment Analysis in Question Answering Forums",
    author = "Zhang, Wenxuan  and
      Deng, Yang  and
      Li, Xin  and
      Bing, Lidong  and
      Lam, Wai",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
    month = nov,
    year = "2021",
    address = "Punta Cana, Dominican Republic",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.findings-emnlp.390",
    pages = "4582--4591"
}

absa-qa's People

Contributors

isakzhang avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

absa-qa's Issues

Access to dataset

Congratulations on your great work about the ABSA task of QA forum, the original link of the dataset has been 404 not found, could you offer a valid link or dataset to me? Thanks a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.