vanzytay / emnlp2018_nli Goto Github PK
View Code? Open in Web Editor NEWRepository for NLI models (EMNLP 2018)
License: GNU General Public License v3.0
Repository for NLI models (EMNLP 2018)
License: GNU General Public License v3.0
Thanks a lot for your great job and sharing. And I wonder if I could know more details about the environments under which you conduct your experiments, including python version, tensorflow version, cuda version, etc. I encountered so many errors when re-running your code, and I guess the reason is the mismatching environment. My best gratitude.
Hi, thanks for sharing this repo.
I tried to run the following example command with tf version 1.11.0, but got this error
python train_acc.py --rnn_type SOFT_HP_CHAR_CAFE_RESFM_HIGH_LSTM --char_enc RNN --char_max 16 --use_cudnn 1 --batch-size 128 --gpu 0 --opt Adam --lr 1E-3 --epochs 100 --early_stop 0 --num_dense 2 --dataset SNLI --decay_lr 0.96 --decay_epoch 10 --l2_reg 1E-8 --cnn_size 64 --translate_proj 1 --num_proj 1 --rnn_size 200 --hdim 300 --rnn_layers 3 --sort_batch 1 --use_pos 1 --pos_emb_size 10 --clip_norm 5 --aggr_layers 2
... EMNLP2018_NLI/tylib/lib/cudnn_rnn_ops.py", line 20, in <module>
from tensorflow.contrib.cudnn_rnn.ops import gen_cudnn_rnn_ops
ImportError: No module named ops
Could you please give the version and dependencies information? Thanks.
Hi,
Thank you for your work. When I try to run your code, I got an error:
Char CNN Encoder..
Traceback (most recent call last):
File "train_acc.py", line 752, in
exp = NLIExperiment(inject_params=None)
File "train_acc.py", line 151, in init
pos_vocab=len(self.pos_index))
File "/home/chunlin/exp/NLI/tf_models/model.py", line 74, in init
self.build_graph()
File "/home/chunlin/exp/NLI/tf_models/model.py", line 1007, in build_graph
self.prepare_inputs()
File "/home/chunlin/exp/NLI/tf_models/model.py", line 832, in prepare_inputs
self.args.cnn_size, self.q1_len)
File "/home/chunlin/exp/NLI/tf_models/model.py", line 707, in _char_cnn
rnn_type='LSTM')
File "/home/chunlin/exp/NLI/tylib/lib/func.py", line 37, in init
1, num_units, kernel_initializer=rnn_init)
TypeError: init() got an unexpected keyword argument 'kernel_initializer'
Can you please tell me why this happend?
hi,
Can you also share the Quora datasets you use for your work?
Hi,
Thanks for sharing your great work.
Can you share your code for data preprocessing?
Regards
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.