Skip to content

Surpriseshelf/AnswerStance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnswerStance

Codes and Dataset for AAAI2019 paper ‘‘Exploring Answer Stance Detection with Recurrent Conditional Attention’’. (pdf)

Data

The Chinese CommunityQA dataset has been processed into the /data/processed/, '3k' refers to the test set and '10k' refers to the training set.

Run the vectorization code before training.

python3 vectorize.py

Train

cd to the nnet/ and run the following cmd:

python3 main_batch.py --nhops=3

Evaluation

cd to the nnet/ and run the following cmd:

python3 main_batch.py --is_test --nhops=3

Dependencies

  • python 3.6
  • pytorch 0.4.1
  • numpy 1.15
  • pyltp 0.2.1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages