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.