Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to incorporate gazetteer features #9

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

metpallyv
Copy link

Here are the changes for this feature. I am getting an error while running the ner with gazetteer features.

File "./train.py", line 236, in
new_cost = f_train(*input)
File "/home/y/lib/python2.7/site-packages/theano/compile/function_module.py", line 786, in call
allow_downcast=s.allow_downcast)
File "/home/y/lib/python2.7/site-packages/theano/tensor/type.py", line 177, in filter
data.shape))
TypeError: ('Bad input argument to theano function with name "/home/vardhaman/lstm-crf-ner/tagger/model.py:400" at index 4(0-based)', 'Wrong number of dimensions: expected 1, got 2 with shape (8, 12).')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant