Skip to content
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

a post-training issue #35

Open
cmnfriend opened this issue Nov 16, 2023 · 2 comments
Open

a post-training issue #35

cmnfriend opened this issue Nov 16, 2023 · 2 comments

Comments

@cmnfriend
Copy link

cmnfriend commented Nov 16, 2023

Thanks for your nice work!

When I post-train the pruned model by running python post_training.py --prune_model prune_log/pytorch_model.bin --data_path yahma/alpaca-cleaned --output_dir tune_log --wandb_project llama_tune --lora_r 8 --num_epochs 2 --learning_rate 1e-4 --batch_size 64, I meet with the following problem:

wandb.errors.UsageError: api_key not configured (no-tty). call wandb.login(key=[your_api_key])

Could you please tell me how I should deal with that? Thank you!

@horseee
Copy link
Owner

horseee commented Nov 19, 2023

Hi. You need to first configure the wandb. You can follow the instructions of wandb😄

@danyal97
Copy link

danyal97 commented Jan 19, 2024

Thanks for your nice work!

When I post-train the pruned model by running python post_training.py --prune_model prune_log/pytorch_model.bin --data_path yahma/alpaca-cleaned --output_dir tune_log --wandb_project llama_tune --lora_r 8 --num_epochs 2 --learning_rate 1e-4 --batch_size 64, I meet with the following problem:

wandb.errors.UsageError: api_key not configured (no-tty). call wandb.login(key=[your_api_key])

Could you please tell me how I should deal with that? Thank you!

you could use python post_training.py --prune_model prune_log/pytorch_model.bin --data_path yahma/alpaca-cleaned --output_dir tune_log --wandb_project "none" --lora_r 8 --num_epochs 2 --learning_rate 1e-4 --batch_size 64 to run it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants