Giter Site home page Giter Site logo

jeffchy / re2rnn Goto Github PK

View Code? Open in Web Editor NEW
112.0 112.0 19.0 112 KB

Source code for the EMNLP 2020 paper "Cold-Start and Interpretability: Turning Regular Expressions intoTrainable Recurrent Neural Networks"

Python 92.36% Jupyter Notebook 7.64%
regular-expression text-classification

re2rnn's Issues

About atis.{}.new.pkl

Hello, thank you very much for your beautiful work. I want to study your paper. I've created the directory as the Readme, but, when I execute "python data.py --dataset ATIS" it throw ERROR:
error
I checked the data.py, but I still don't understand what “atis.{}.new.pkl” means.
Waiting for your help, thanks.

关于张量秩分解问题

1.当状态数非常大时,比如K=750, 张量秩分解的误差非常大,应该如何解决?
2.当K=750时,我们的rank应该选取多少比较合适?

Use my dataset

Hello, thank you very much for your work, it is very meaningful, but I have some questions to ask you. Can I use my own data set to replace it? And if so, how should I do it? Looking forward to your reply.

BrokenPipeError:[Broken pipe]

when I reproduced your code, there was always a problem that I couldn't solve. I asked you for help:
When I run the code command python create_automata.py --dataset ATIS --automata_name all --reversed 0
the error will be:
BrokenPipeError:[Broken pipe]
捕获

关于多个WFAs合并成一个WFA的问题

你好。论文里提到了将多个WFAs合并成一个,具体是怎么操作的呢,比如对于V_embedding词嵌入向量,shape为(V,r),那是把r分配到每个子WFA吗。此外,对于D1,D2,我的猜想是将根据子WFA的状态states数对应的赋值到r*K的矩阵里面,我的猜想对吗?

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.