TobiasLee / Text-Classification

Implementation of papers for text classification task on DBpedia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adversarial_abblstm.py - validation accuracy: 0% / test accuracy: 0%

geirberge opened this issue · comments

I am running your code without modifications on the dbpedia dataset and is receiving non-valid results as follows:

..
Validation accuracy: 0.000
Training finished, time consumed : 133.85788369178772 s
Start evaluating:
Test accuracy : 0.000000 %

I think the problem may be related to the issue #4 , and I fixed the problem by changing the shuffle function, and below is my result:

Epoch 1 start !
Train Epoch time: 31.915 s
validation accuracy: 0.732
Epoch 2 start !
Train Epoch time: 32.457 s
validation accuracy: 0.840