Git Product home page Git Product logo

diaasq's Introduction

DiaASQ

pytorch 1.8.1 pytorch 1.8.1 Build Status

This repository contains data and code for the ACL23 (findings) paper: DiaASQ: A Benchmark of Conversational Aspect-based Sentiment Quadruple Analysis

See the project page for more details.


To clone the repository, please run the following command:

git clone https://github.com/unikcc/DiaASQ

News ๐ŸŽ‰

๐Ÿ“ข 2023-05-10: Released code and dataset.
โšก 2022-12-10: Created repository.

Quick Links

Overview

In this work, we propose a new task named DiaASQ, which aims to extract Target-Aspect-Opinion-Sentiment quadruples from the given dialogue. More details about the task can be found in our paper.

DiaASQ Data

The dataset can be found at:

data/dataset
  - jsons_en
  - jsons_zh

Requirements

The model is implemented using PyTorch. The versions of the main packages:

  • python>=3.7
  • torch>=1.8.1

Install the other required packages:

pip install -r requirements.txt

Code Usage

  • Train && Evaluate on the Chinese dataset

    bash scripts/train_zh.sh
  • Train && Evaluate on the English dataset

    bash scripts/train_en.sh
  • GPU memory requirements

    Dataset Batch size GPU Memory
    Chinese 2 8GB.
    English 2 16GB.
  • Customized hyperparameters:
    You can set hyperparameters in main.py or src/config.yaml, and the former has a higher priority.

Citation

If you use our dataset, please cite the following paper:

@inproceedings{li-2023-diaasq,
    title = "{D}ia{ASQ}: A Benchmark of Conversational Aspect-based Sentiment Quadruple Analysis",
    author = "Li, Bobo  and Fei, Hao and Li, Fei and Wu, Yuhan and Zhang, Jinsong and Wu, Shengqiong and Li, Jingye and
      Liu, Yijiang and Liao, Lizi and Chua, Tat-Seng and Ji, Donghong",
    booktitle = "Findings of ACL",
    year = "2023",
    pages = "13449--13467",
}

diaasq's People

Contributors

unikcc avatar scofield7419 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.