-
Notifications
You must be signed in to change notification settings - Fork 45
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
Predicting sequence tags and attributes of 'Sentence' object #12
Comments
Hi, you can input a file with pseudo labels for prediction. For example:
Then you can use the |
Thanks for your clarification! This is on a different note, but out of the many Elmo models (small, medium, large, and PubMed), which one is referred to by Much thanks as always!! |
It is the "Origin" model from allennlp (the |
I was able to resolve my issue with the dummy tags. Thank you for you kind help :) |
Hi,
I have been trying to use an ACE model to perform chunking predictions. I understand that I am able to use the
--parse
flag, but while the command works, I also want to be able to perform predictions on single sentences using something along the lines ofSequenceTagger.predict
inmodels/sequence_tagger_model.py
. But I run into attribute errors upon running it because in lines 630-640 inembeddings.py
, the code references alleged attributes ofsentences: List[Sentence]
likemax_sent_len
andchar_seqs
that do not exist.If
SequenceTagger.predict
is deprecated, is it possible to make predictions on sentences whose gold sequence labels are unknown? It's my understanding that using the--parse
flag requires gold labels to be included in the parse file as well.Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: