allanj / ner_with_dependency Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
at line 270 in main.py :
conf.build_label_idx(trains)
you use only trains labels to build a dict which may cause label not found in dict.It seem to be normal that training corpus should contain all kinds of labels,but it is not guaranteed that every corpus follow this limitation.The Interesting point is you use trains+devs+tests when you build word vocab and slot vocab. But you didn't do it in building label vocab.Is is a mistakes? Or It is based on another concern that i don't know?
Hello.
About the Chinese corpus, In table 4, you reported the naive BiLSTM-CRF (L = 2) can reach 76.61 (F1 score). I have tried to reproduce that by using my own implementation, but I can not get that number.
Could you please tell me how to reproduce that with your implementation? What's the command to do that?
How to transfer a Chinese sentence to conllx format?
Hi, I attempted to run your codes in the "dggcn" mode, but I got a weird error "RuntimeError: CUDA error: device-side assert triggered" in this line:
ner_with_dependency/model/deplabel_gcn.py
Line 76 in a1117dd
ner_with_dependency/model/deplabel_gcn.py
Line 79 in a1117dd
I am a beginner and I think your code is very helpful to me. I want to know how I can successfully run your code. I think I am missing some files, but I don’t know exactly which ones and where to get them
The paper says "We convert the constituency trees into the Stanford dependency trees using the rulebased tool by Stanford CoreNLP." Could you please share the code that you preprocess the data to adapt to the input format of Stanford CoreNLP tools? Thanks a lot in advance!
Could you please tell me how to transform OntoNotes 5 to CoNLL-U format? Thank you very much!!
I saw that you use Chinese corpus on OntoNotes ,so i am wandering how to use Chinese corpus.When i use Chinese corpus , it seem that some words will be packed together ,which may have different slot.How do you cope with this problem. Your rapid reply will be highly appreciated. Thx.
Hi! I'm bothering you again ...
I recently read your paper and try to reproduce your results. The result for SemEval-2010 Task 1 in your paper is as follows:
and I get the highest F1 82.83 and 84.14 respectively different from your result 82.19(DGLSTM-CRF L=1) and 83.47 (DGLSTM-CRF L=2).
I wonder if my config is not set correctly or do you give conservative values?
I just run
python main.py --device cuda:0 --dep_model dglstm --momentum 0.9 --lr_decay 0.02 --dataset spanish --embedding_file data/cc.es.300.vec
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.