contextscout / gcn_ner Goto Github PK
View Code? Open in Web Editor NEWGraph Convolutional neural network named entity recognition
License: Other
Graph Convolutional neural network named entity recognition
License: Other
could you give a example of data format?
Hi!
Why I can't run error for your code?can your give me some idea?Thanks!
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
Cannot process the following sentence: Google was started in early 1996 by Larry Page and Sergey Brin , two students at Stanford University , USA .
For some sentences, it print 'invalid continue' on the console. I'm not sure where this is getting printed from or what error occurred. Could you please help me out with what is causing this error?
Thanks.
Hi,
The code is not running because of this line:
from .nl import SpacyTagger as Tagger, SpacyParser as Parser
Where is .nl defined?
I have downloaded all the requirements in requirements.txt also.
Looking for a quick reply as I have a project deadline depending on this.
Thanks
Hi,
could you please explain the function of the transition matrix?
It took me many time to get the matrix but i don't know what it exactly used for. Thanks
train.conll
Is there a bug in combining forward and backward lstm outputs. Shouldn't the self.enc_cell_bw reversed before the concat of forward and backward outputs?
Hi,
What is the output of test_ner.py?
I'm not getting any entity types.
Thanks
As the above title saying, the paper says W^k belongs to R^m*m, shouldn't the shape of wieght matrix in GCN is (embedding_size, embedding_size)?
Some info
Hi,
Thank you for creating a solution like this and maintaining the repo and answering the quarries.
I'm trying the train the model in my own conell data, where the training is getting completed without any error. But i think the column being considered for the model from the conell file are he fourth, fifth, and eleventh.
How do i modify the column reference so that it gets train properly. Sample data from my training set is attached.
for my training set, the text is in column 1, and column 3 has NER tags (Bio)
With debugging I can guess that I do have to map the column somewhere in aux/init file, but fail to identify accurately on how to. Any help is highly appreciated.
Example train data:
-DOCSTART- -X- O
CiO -X- _ O
Echo2 -X- _ B-vendor_name
Echo3 -X- _ I-vendor_name
ECHO 4 -X- _ I-vendor_name
Echo5 -X- _ I-vendor_name
PTE. -X- _ I-vendor_name
LTD. -X- _ I-vendor_name
For -X- _ O
Billing -X- _ O
Enquiries -X- _ O
: -X- _ O
Echo -X- _ O
commercial -X- _ O
10 -X- _ B-address
Pasir -X- _ I-address
Panjang -X- _ I-address
Road, -X- _ I-address
#13-01, -X- _ I-address
Name -X- _ O
lease -X- _ O
Admin -X- _ O
CONNN -X- _ B-address
GSGS -X- _ I-address
City -X- _ I-address
YYYY -X- _ I-address
XXXXX8 -X- _ I-address
Tel -X- _ O
(As -X- _ O
Property -X- _ O
Manager -X- _ O
for -X- _ O
CYX -X- _ O
LLL -X- _ O
Trust) -X- _ O
Email -X- _ O
Received -X- _ O
on -X- _ O
20 -X- _ O
Oct -X- _ O
20 -X- _ O
RRR -X- _ B-vendor_name
TRUSTEE -X- _ I-vendor_name
LIMITED -X- _ I-vendor_name
AS -X- _ O
TRUSTEE -X- _ O
OF -X- _ O
ZZZ -X- _ O
COMMERCIAL -X- _ O
TRUST -X- _ O
Inv -X- _ O
Tracking -X- _ O
When i use spacy.parser to get the dependency parsing tree of a sentence, the number of parser.parsed is not correct.
For example, the word '256G' was splitted into '256' and 'G'.
Suppose i have a sentence with 5 words, i want to get a matrix of (5,5). But i got the wrong matrix
of (6,6) . How should i deal with it ? I want to let the parer splitting sentence only by spaces
ubuntu /usr/bin/ld: 找不到 -lxml2
sdasdsa
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.