Giter Site home page Giter Site logo

lipika-dewangan / c3da Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangbing1416/c3da

0.0 0.0 0.0 2.55 MB

Source code of COLING 2022 paper "A Contrastive Cross-channel Data Augmentation Framework for Aspect-based Sentiment Analysis"

Shell 6.71% Python 93.29%

c3da's Introduction

C3DA

Code and datasets of our paper “A Contrastive Cross-Channel Data Augmentation Framework for Aspect-based Sentiment Analysis”

Requirements

  • torch==1.4.0
  • scikit-learn==0.23.2
  • transformers==3.2.0
  • cython==0.29.13
  • nltk==3.5

To install requirements, run pip install -r requirements.txt.

Generating

To generate data items, run:

python C3DA/generate.py

Training

To train the C3DA model, run:

sh C3DA/run.sh

and C3DA/start.sh, C3DA/start1.sh is used to adjust our hyper-parameters.

Logs

Logs are saved under C3DA/C3DA/log

Credits

The code and datasets in this repository are based on ABSA-PyTorch and CDT_ABSA.

Cite

@inproceedings{wang2022a,
  author    = {Bing Wang and Liang Ding and Qihuang Zhong and Ximing Li and Dacheng Tao},
  title     = {A Contrastive Cross-Channel Data Augmentation Framework for Aspect-Based Sentiment Analysis},
  booktitle = {Proceedings of the 29th International Conference on Computational Linguistics, {COLING} 2022, Gyeongju, Republic of Korea, October 12-17,
               2022},
  pages     = {6691--6704},
  publisher = {International Committee on Computational Linguistics},
  year      = {2022},
  url       = {https://aclanthology.org/2022.coling-1.581},
  timestamp = {Thu, 13 Oct 2022 17:29:38 +0200},
  biburl    = {https://dblp.org/rec/conf/coling/Wang0ZLT22.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

c3da's People

Contributors

wangbing1416 avatar

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.