I can't run autotrain it immedietly gives this error

Whenever I start autotrain I get this error "Cannot access gated repo for url ". How do I fix it?

1 Like

Thatā€™s because you are trying to use a gated model.
You can use a different model or get permission from the gated model page and give them a token so you can use it.

Thanks for the reply, I didnā€™t realize I was on the wrong model thank you so much.
Now Iā€™m getting another error shortly after I start autotrain
main.py: error: unrecognized arguments: -m autotrain.trainers.clm -m autotrain.trainers.clm -m autotrain.trainers.clm
Traceback (most recent call last):
File ā€œ/app/env/bin/accelerateā€, line 8, in
sys.exit(main())
File ā€œ/app/env/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.pyā€, line 48, in main
args.func(args)
File ā€œ/app/env/lib/python3.10/site-packages/accelerate/commands/launch.pyā€, line 1174, in launch_command
simple_launcher(args)
File ā€œ/app/env/lib/python3.10/site-packages/accelerate/commands/launch.pyā€, line 769, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command ā€˜[ā€™/app/env/bin/pythonā€™, ā€˜-mā€™, ā€˜autotrain.trainers.clmā€™, ā€˜ā€“training_configā€™, ā€˜autotrain-n1u1h-xdrby/training_params.jsonā€™, ā€˜-mā€™, ā€˜autotrain.trainers.clmā€™, ā€˜ā€“training_configā€™, ā€˜autotrain-eidqd-jofqp/training_params.jsonā€™, ā€˜-mā€™, ā€˜autotrain.trainers.clmā€™, ā€˜ā€“training_configā€™, ā€˜autotrain-eidqd-jofqp/training_params.jsonā€™, ā€˜-mā€™, ā€˜autotrain.trainers.clmā€™, ā€˜ā€“training_configā€™, ā€˜autotrain-eidqd-jofqp/training_params.jsonā€™]ā€™ returned non-zero exit status 2.

1 Like

From the error message, it seems that some of -m is not required.

this is only half the error. please post full logs :slight_smile:

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.