nlpersECJTU / LDSGM

Code for 'A Label Dependence-aware Sequence Generation Model for Multi-level Implicit Discourse Relation Recognition (AAAI 2022)'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LDSGM

A Label Dependence-aware Sequence Generation Model for Multi-level Implicit Discourse Relation Recognition (AAAI 2022)

Main Dependecies and installation

pytorch 1.3.1

transformer 4.12.4

pytorch_pretrained_bert 0.6.2

DataSet

  1. Download the PDTB2.0 , put it under /raw/
  2. python3 preprocess.py
  3. Download the pretrained model roberta base,put it under /pretrained/roberta-base/

Run

python3 run.py

About

Code for 'A Label Dependence-aware Sequence Generation Model for Multi-level Implicit Discourse Relation Recognition (AAAI 2022)'


Languages

Language:Python 100.0%