Giter Site home page Giter Site logo

logicnn's People

Contributors

kdandank avatar zhisbug avatar zhitinghu 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  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  avatar  avatar  avatar  avatar

logicnn's Issues

preprocess_stsa.py throws MemoryError

This is what I run : python preprocess_stsa.py ./raw/ ./w2v/GoogleNews-vectors-negative300.bin

And this is what I get:

loading data...data loaded!
number of status: 79653
vocab size: 33797
max sentence length: 54
loading word2vec vectors...
Traceback (most recent call last):
File "C:\Users\Merom\OneDrive\Desktop\logicnn-master\logicnn-master\data\preprocess_data_updated.py", line 190, in
w2v = load_bin_vec(w2v_file, vocab)
File "C:\Users\Merom\OneDrive\Desktop\logicnn-master\logicnn-master\data\preprocess_data_updated.py", line 113, in load_bin_vec
word.append(ch)
MemoryError

Can you please help?

Some question about the implemention

Hi!
Thanks for your release of the code!
I have some question here. It seems that the implemention is different from the formula(5). Besides, I don't know what's the definition of the 'r' function in formula(4). Could you tell me what it is?
What's more, I am also curiosty about the implemention about NER and it is difficult to understand it if just read your paper. Would you mind release your code about NER?
Thanks very mush!

Question for calc_rule_constraints in logicnn_classes.py

Hi, thanks for sharing the code. I have some questions following.
The details in function calc_rule_constraints of logicnn_classes.py make me puzzled.

  1. What's the aim to add the last distr again out of the loop?
  2. Why to minus the distr_y0 from distr_all?

The code for RNN?

Hi,

Do you have plan to release the code for RNN (NER problem) in the paper?

Thanks.

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.