fenchri / dsre-vae Goto Github PK
View Code? Open in Web Editor NEWSource code for the NAACL 2021 paper: "Distantly Supervised Relation Extraction with Sentence Reconstruction and Knowledge Base Priors"
License: Other
Source code for the NAACL 2021 paper: "Distantly Supervised Relation Extraction with Sentence Reconstruction and Knowledge Base Priors"
License: Other
Hello. I'm running this code and when I try to make the data:
cd data/KB/
python make_data.py --data Freebase
--train_file ../LANG/nyt10/nyt10_train.txt
--val_file ../LANG/nyt10/nyt10_val.txt
--test_file ../LANG/nyt10/nyt10_test.txt
It could not get access to "https://docs.google.com/uc?export=download".
Can you share a link to directly download the data?
Hi, thanks for your great work! I followed the README
to run codes step by step, but I cannot replicate the results reported in the paper.
pairs_mu_64d.json
to run python main.py --config ../configs/nyt10_prior.yaml --mode train
, and got the best_epoch = 7
. Then I ran python main.py --config ../configs/nyt10_prior.yaml --mode test
, and got the AUC of 0.365.README
, I ran train_embeds.sh
and calculate_priors.py
, and then used the generated pairs_mu_64d.json
to run python main.py --config ../configs/nyt10_prior.yaml --mode train
. In this way, I got the best_epoch = 15
and the final AUC of 0.391.I would like to know why these results are far from that reported in the paper. Is there any operating step I missed?
If it cannot be figured out, could you please provide your ckpt files to me? I need the ckpts of N(0, 1) and N(mu, 1) for nyt10 and nyt10_570k for compared baselines. Of course I'll cite your paper. Thank you ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.