Skip to content

GeneZC/OTE-MTL

Repository files navigation

OTE-MTL

OTE-MTL - Multi-Task Learning for Opinion Triplet Extraction

Updates

Requirements

  • Python 3.6
  • PyTorch 1.0.0
  • numpy 1.15.4

Usage

  • Download pretrained GloVe embeddings with this link and extract glove.840B.300d.txt into glove/.
  • Train with command, optional arguments could be found in train.py, --v2 denotes whether test on datav2
python train.py --model mtl --dataset rest14 [--v2]

Task

An overview of the task opinion triplet extraction (OTE) is given below

model

OTE is solving the same task proposed in https://arxiv.org/abs/1911.01616. While our work focuses on extracting (aspect term, opinion term, sentiment) opinion triplets (OTs), they extract (aspect term-sentiment pair, opinion term)s. Owing to the minor difference lying in formulations, two drawbacks in the latter formulation are presented: (i) sentiments are determined without accessing opinion terms, (ii) conflicting opinions expressed towards an aspect cannot be predicted.

Citation

If you use the code in your paper, please kindly star this repo and cite our paper

@inproceedings{zhang-etal-2020-multi,
    title = "A Multi-task Learning Framework for Opinion Triplet Extraction",
    author = "Zhang, Chen  and
      Li, Qiuchi  and
      Song, Dawei  and
      Wang, Benyou",
    booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings",
    month = nov,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/2020.findings-emnlp.72",
    pages = "819--828",
}

Contact

  • For any issues or suggestions about this work, don't hesitate to create an issue or directly contact me via [email protected] !

About

Code and dataset for EMNLP 2020 paper titled "A Multi-task Learning Framework for Opinion Triplet Extraction"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages