Git Product home page Git Product logo

emnlp2018_nli's People

Contributors

vanzytay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

emnlp2018_nli's Issues

Asking for environment settings

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.

tensorflow version

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.

unexpected keyword argument 'kernel_initializer' for CudnnLSTM

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?

data preprocess

Hi,
Thanks for sharing your great work.

Can you share your code for data preprocessing?

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.