-
Notifications
You must be signed in to change notification settings - Fork 57
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
How to run conll17 dragnn baseline model? #21
Comments
hi~ i tried to run the baseline model described (https://github.com/tensorflow/models/tree/master/syntaxnet/g3doc/conll2017) but there is a problem related 'utf8, std:out_or_range' in inference steps.
since i haven't found the way to fix it, after that, all works fine. https://github.com/dsindex/syntaxnet#dragnn if you are interested in training the Russian corpus and test,
note that again loading downloaded model for annotation is not yet available now in here. but i think https://github.com/tensorflow/models/tree/master/syntaxnet/dragnn/tools |
Thank you very much for such detailed response! I will reply shortly in case of issues, great stuff. |
Got this error at inference stage (with Russian dataset trained on): UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128). |
Added this to the test_dragnn.sh and it works:
|
@dsindex Maybe you could also help how to convert output to Brat standoff ann format to output in Brat? but getting multiple parse issues. Could you advice something? |
that is cool repo! i am not sure about
if we want to run from on-line manner, by the way, i have a question about the brat tool. do you know how to fix it? |
I use brat as compare only tool, if i will figure out - i'll let you know. @dsindex same code as you wrote, i'm getting |
@alexfridlyand thank you :) hmm.... in UD_English and Korean corpus, there is no error.
here, self.cpostag was generated by
since i don't know exactly why such character in there, hope it helps. |
Thank you, i think i'll just use second Russian treebank, which is much bigger and looks like with proper tags. |
Hello!
Amazing work!
Could you please tell me how with your scripts to pass text file to the test dragnn script (Russian baseline model) and output in CoNLL format?
If possible please provide detailed instruction. Where to copy files and so on ....
Thanks in advance!
The text was updated successfully, but these errors were encountered: