How to run Trainer-based script in Colab?

I’m unsure how to run a trainer-based script. I’ve tried multiple methods, but it doesn’t seem to work for me. Could you, for example, showcase how I could run the “run_qa.py” script in Colab?

Also, do I need to enter a token at some point, or give the model a specific name? Will this be prompted?

Looking forward to hearing from you!

Why not use the corresponding notebook?

1 Like

I’ve actually used it, but it is incredibly slow - even when connecting to the Collab GPU. Therefore, I was thinking maybe through the script it could be quicker?

because there is an error at this line :wink:
if min_null_score is None or min_null_score < feature_null_score:
@sgugger