jeffchy / re2nn-seq Goto Github PK
View Code? Open in Web Editor NEWSource code for the EMNLP2021 paper: "Neuraling Regular Expressions for Slot Filling"
Source code for the EMNLP2021 paper: "Neuraling Regular Expressions for Slot Filling"
请问,以SNIPS-BIO数据集为例,对应的正则表达式是怎么写出来的呢?是与train.txt对应的吗?换句话说,train.txt里面所有的tag和文本,都能找到对应的正则表达式嘛?
你好,我在运行data.py时出现了如下报错:ValueError: ../data/emb/fasttext/cc.zh.100.bin cannot be opened for loading!
并且我没有找到cc.zh.100.bin文件。请问这个文件如何获取?
请问一下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
怎么处理啊?
你好,我在运行最后一条指令时,报了如下错误: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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.