Run_squad script does not parse adapter args correctly and does not save adapters #49
Closed
2 of 4 tasks
Labels
bug
Something isn't working
馃悰 Bug
Information
Model I am using (Bert, XLNet ...):
mBERT
Language I am using the model on (English, Chinese ...):
Arabic, but the issue is language/dataset independent
Adapter setup I am using (if any):
Arabic lang adapter from adapterhub, new squad task adapter
The problem arises when using:
The tasks I am working on is:
Arabic Reading Comprehension Dataset (ARCD) but should be the same for any dataset
To reproduce
Steps to reproduce the behavior:
Issue of args not being parsed correctly:
--load_lang_adapter [adapter name]
--load_language_adapter
--load_language_adapter
insteadsetup_task_adapter_training
function ofadapter_training.py
expects it to be--load_lang_adapter
Issue of adapters not being saved:
Expected behavior
I should be able to define the language adapter with the --load_lang_adapter flag and its config with the --lang_adapter_config flag. When using adapters to finetune my model, I would usually like to store the adapters, not the full model.
Environment info
transformers
version: 2.11.0The text was updated successfully, but these errors were encountered: