TypeErrors in label_search.py
olenmg opened this issue · comments
Jongheon Kim commented
Hello, thanks for great codebase!
in autoprompt/label_search.py, I found that there are some TypeErrors(missing arguments).
- use_ctx is not denoted when loading dataset
- when initializing
utils.TriggerTemplatizer
, 'config' argument is missing.
First one can be fixed as just add 'use_ctx=False' since label_search.py
is only used for sentiment analysis and NLI tasks. (not for relation extraction)
Fixed in PR #31 .
Thank you again.