-
Notifications
You must be signed in to change notification settings - Fork 11
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
AttributeError: 'MultiTaskTrainingArguments' object has no attribute 'uniform_mt_sampling' #2
Comments
@heatxg Thank you for bringing this to us. I'm taking a look |
@heatxg I have make a fix in this branch Am1n3e-bugfix-add-missing-args. However, I don't have the time to test it. |
@Am1n3e Thank you for taking the time to look into this. I will give the fix a test this evening and update you. |
@heatxg Thank for getting back to me. I will check it and come back to you! |
@heatxg I will take a look at the issue this week (I was a bit busy). |
This issue is fixed in #3 |
It looks like there are arguments (
percent_of_max_data_size
&uniform_mt_sampling
) missing that are consumed by theMultiTaskTrainer
for the__len__
method.CA-MTL/src/mtl_trainer.py
Line 162 in f994a44
This is causing errors in some of the super methods.
https://github.com/huggingface/transformers/blob/b42586ea560a20dcadb78472a6b4596f579e9043/src/transformers/trainer.py#L367
I've traced them through the repo but found only this reference and do not see them listed in the cl args.
How would you suggest mitigating?
The text was updated successfully, but these errors were encountered: