-
Notifications
You must be signed in to change notification settings - Fork 346
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
Refactor example scripts to leverage config strings #486
Conversation
This PR/issue depends on: Automatically provided by Dependent Issues (🤖). |
66482c4
to
e32887d
Compare
e32887d
to
f2729fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When running examples/pytorch/dependency-parsing/run_udp.py
I get this error:
Traceback (most recent call last):
File "/home/leon/UKP/AdapterHub/adapter-transformers/examples/pytorch/dependency-parsing/run_udp.py", line 352, in <module>
main()
File "/home/leon/UKP/AdapterHub/adapter-transformers/examples/pytorch/dependency-parsing/run_udp.py", line 173, in main
language = adapter_args.language
AttributeError: 'AdapterArguments' object has no attribute 'language'
Also regarding examples/pytorch/dependency-parsing/run_udp.py
: Is there a reason why you did not replace the code under # Setup adapters blocks
with the method setup_adapter_training(..)
as in the other files?
Co-authored-by: Leon Engländer <77012866+lenglaender@users.noreply.github.com>
Thanks, updated the udp script |
Depends on #465.
This PR adds the following changes:
Breaking changes: