Open micahcarroll opened 2 years ago
I believe this line may be a bug, as it overrides the global variable set earlier in the file:
https://github.com/cardiffnlp/xlm-t/blob/aa9b15ef035876cec53d4ce55c04ec2e93acb92d/src/adapter_finetuning.py#L63
I also saw this, I fixed it in my copy of the repo by deleting that line and changing
dataset_dict = fetch_data(language, files)
to
dataset_dict = fetch_data(LANGUAGE, files)
I believe this line may be a bug, as it overrides the global variable set earlier in the file:
https://github.com/cardiffnlp/xlm-t/blob/aa9b15ef035876cec53d4ce55c04ec2e93acb92d/src/adapter_finetuning.py#L63