Git Product home page Git Product logo

rdv-cnn's People

Contributors

edithal-14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rdv-cnn's Issues

Attribut error while loading the model_2048_attn.pickle model in make_dlnd_data.py

I have downloaded the DNLD dataset from "http://www.iitp.ac.in/~ai-nlp-ml/resources.html".
In make_dlnd_data.py:
In the first line "sys.path.append ()", I have put the path till the encoder directory of sentence_encoder.
I put the path of dataset in the place of dlnd_path,
I path the path of "model_2048_attn.pickle" in the infersent = torch.load(), and path of Glove in the glove_path line. While running it gives the error in loading the model . The error message is -

loading infersent...
Traceback (most recent call last):
File "make_dlnd_data.py", line 36, in
infersent = torch.load("/home/mtp-2/Desktop/New_Coling/A-Deep-Neural-Solution-To-Document-Level-Novelty-Detection-COLING-2018--master/sentence_encoder/encoder/model_2048_attn.pickle")
File "/home/mtp-2/anaconda2/lib/python2.7/site-packages/torch/serialization.py", line 358, in load
return _load(f, map_location, pickle_module)
File "/home/mtp-2/anaconda2/lib/python2.7/site-packages/torch/serialization.py", line 542, in _load
result = unpickler.load()
AttributeError: 'module' object has no attribute 'InnerAttentionNAACLEncoder'

I have searched for the solution of this error, but could not get the answer.
It would be great, if you will help me.

Multiple issues with code compatibility

Hi,

First of all thank you for providing the code alongside your COLING paper. We wanted to run your provided code on the WEBIS data for a personal project. Unfortunately, I am running into several compatibility issues such as with CUDA, Tensorflow and Theano. Since, I had CUDA 9.0 installed I had to resort to Python 2.7, which now has issues with NLTK while running the codes. Can you kindly specify the versions of each of the following software/packages that are required to run your code?

  1. Python
  2. Tensorflow (is it required only to run Keras?)
  3. Theano
  4. NLTK
  5. CUDA
  6. Keras
  7. PyTorch

Also, I noticed that in the Readme file, you have mentioned to use make_dlnd_data.py under WEBIS heading to fetch the sentence embeddings (see attached screenshot).
Novelty_issue

That doesn't seem right. Is the corresponding file missing for webis_cpc?
Because, when I try to run webis_sentence_embedding.py, it throws an error asking for path to _webis_data.pickle, which is supposed to be generated with some other code, right?

Corollary to the above question, could you kindly specify in the documentation or maybe as a command line exception, what arguments need to be passed for each python file? That would make our lives a lot easier.

Any additional help is welcome.

Thanking in anticipation,
Manajit

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.