Skip to content

Part-of-speech based label update network for aspect sentiment triplet extraction

Notifications You must be signed in to change notification settings

Youxidawang/PBLUN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PBLUN

Part-of-speech based label update network for aspect sentiment triplet extraction. Yanbo Li, Qing He, Liu Yang. Journal of King Saud University-Computer and Information Sciences.

The code is based on BDTF-ABSA, and thanks them very much.

Requirements

Note: We suggest downloading the three files contained in bert-base-uncased and placing them in the "bert-base-uncased" folder to save time.

  • transformers==4.15.0
  • pytorch==2.0.0+cu118
  • einops=0.4.0
  • torchmetrics==0.7.0
  • tntorch==1.0.1
  • pytorch-lightning==1.3.5

Usage

  • Training

python aste_train.py --dataset 14res

Citation

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

About

Part-of-speech based label update network for aspect sentiment triplet extraction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages