Traceback (most recent call last):
File "/usr/local/bin/autotrain", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/autotrain.py", line 53, in main
command = args.func(args)
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/run_llm.py", line 12, in run_llm_command_factory
return RunAutoTrainLLMCommand(args)
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/run_llm.py", line 325, in init
raise ValueError("Usernamemust be specified for push to hub")
ValueError: Usernamemust be specified for push to hub
Prerequisites
Backend
Colab
Interface Used
CLI
CLI Command
!autotrain llm \ --train \ --model ${MODEL_NAME} \ --project-name ${PROJECT_NAME} \ --data-path data/ \ --text-column text \ --lr ${LEARNING_RATE} \ --batch-size ${BATCH_SIZE} \ --epochs ${NUM_EPOCHS} \ --block-size ${BLOCK_SIZE} \ --warmup-ratio ${WARMUP_RATIO} \ --lora-r ${LORA_R} \ --lora-alpha ${LORA_ALPHA} \ --lora-dropout ${LORA_DROPOUT} \ --weight-decay ${WEIGHT_DECAY} \ --gradient-accumulation ${GRADIENT_ACCUMULATION} \ --quantization ${QUANTIZATION} \ --mixed-precision ${MIXED_PRECISION} \ $( [[ "$PEFT" == "True" ]] && echo "--peft" ) \ $( [[ "$PUSH_TO_HUB" == "True" ]] && echo "--push-to-hub --token ${HF_TOKEN}" )
UI Screenshots & Parameters
No response
Error Logs
Traceback (most recent call last): File "/usr/local/bin/autotrain", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/autotrain.py", line 53, in main
command = args.func(args)
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/run_llm.py", line 12, in run_llm_command_factory
return RunAutoTrainLLMCommand(args)
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/run_llm.py", line 325, in init
raise ValueError("Usernamemust be specified for push to hub")
ValueError: Usernamemust be specified for push to hub
Additional Information
No response