Code Monkey home page Code Monkey logo

re2nn-seq's People

Contributors

jeffchy 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

Watchers

 avatar  avatar  avatar

re2nn-seq's Issues

bio.rules.config是怎么写出来的?

请问,以SNIPS-BIO数据集为例,对应的正则表达式是怎么写出来的呢?是与train.txt对应的吗?换句话说,train.txt里面所有的tag和文本,都能找到对应的正则表达式嘛?

运行data.py遇到的问题

你好,我在运行data.py时出现了如下报错:ValueError: ../data/emb/fasttext/cc.zh.100.bin cannot be opened for loading!
并且我没有找到cc.zh.100.bin文件。请问这个文件如何获取?

run the code

请问一下python main.py --arg_path ../model_seq/config_file_path.res代码运行时出行错误:
G:\Anaconda3\envs\emnlp21\python.exe: can't open file 'main.py': [Errno 2] No such file or directory
怎么处理啊?

Run and train the decomposed transducer

你好,我在运行最后一条指令时,报了如下错误:File "../src_seq/farnn/model_decompose_single.py", line 76, in init_forward_parameters
self.embed_r_generalized = nn.Parameter(torch.matmul(_pinv, _V), requires_grad=True) # D x R
RuntimeError: size mismatch, m1: [100 x 8], m2: [47 x 150] at /pytorch/aten/src/TH/generic/THTensorMath.cpp:197

指令中--automata_path 用的是运行“python create_dataset_automata.py --independent 2 --decompose 1 --rule_name bio.rules.config --dataset SNIPS-BIO --k_best 3 --automata_name my_rule_decomposed”指令后生成的IIID.automata.....pkl文件路径。数据换成了其他数据集。请问是什么原因造成的错误?
@jeffchy

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.