-
Notifications
You must be signed in to change notification settings - Fork 445
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
NER predict only mode #39
Comments
Hi @UrszulaCzerwinska , Lines 477 to 478 in 7a3c96e
but this could cause other issues if do_eval and do_predict have unintended dependencies. Thanks. |
Hi, One simple way to bypass " At least one of For example,
How it worksOur code (and also BERT) checks whether the model in the output folder is already trained. I will check with other colleagues about the line, |
Fix known bugs about NER task. 1. NER inference mode (only predict) #39 #50 #54 2. Check OUTPUT dir and make it if not exists 3. Fixed "missing labels" problem. 3-1. See Line 631 of run_ner.py for [PAD] related problem 3-2. See biocodes/ner_detokenize.py for max_seq_length related problems 4. Refactored a few lines (ex. os.path.join, replaced **NULL** with [PAD]) 5. Functionize detokenizer (See biocodes/ner_detokenize.py for details) 6. misc If you wish to use previous version, pleas use tag v20200409 https://github.com/dmis-lab/biobert/tree/v20200409
I would like to use NER model I fine-tune with
to make prediction on sentences without labels (without evaluation of course)
But
gives me error:
How can I make predictions without having evaluation?
The text was updated successfully, but these errors were encountered: