AD3: Attentive Deep Document Dater
Overview of AD3 (proposed method), an attention-based neural document dating system which utilizes both context and temporal information in documents in a flexible and principled manner. Please refer paper for more details.
- Compatible with TensorFlow 1.x and Python 3.x.
- Dependencies can be installed using
- We evaluate AD3 on NYT and APW section of Gigaword Corpus, 5th ed. For preprocessing refer NeuralDater.
After installing python dependencies from
sh setup.shfor downloading GloVe embeddings.
oe_gcn.pycontains TensorFlow (1.x) based implementation of AD3 (proposed method).
To start training:
python ac_gcn.py -data data/nyt_processed_data.pkl -class 10 -name test_run python oe_gcn.py -data data/nyt_processed_data.pkl -class 10 -name test_run
-classdenotes the number of classes in datasets,
10for NYT and
-nameis arbitrary name for the run.