tloen / alpaca-lora

Instruct-tune LLaMA on consumer hardware
Apache License 2.0
18.52k stars 2.21k forks source link

wandb input parameters unknown #553

Open twitset opened 1 year ago

twitset commented 1 year ago

Hi, thanks for the alpaca-lora scripts - they are awesome!

Can you help with the wandb parameters for finetune.py?

How do I provide the api key?

dexin-wang commented 6 months ago

Hi, you can follow the steps below to get the api key and use wandb:

(1) Register an account on wandb homepage: https://wandb.ai/site

(2) Get your wandb api key in 'user setting/Danger Zone/api key'

(3) Login to wandb at the computer command line: wandb login

(4) Parameters in finetune.py are set as shown in the following example: ''' wandb_project: str = "alpaca_lora", wandb_run_name: str = "2024-2-22", wandb_watch: str = "false", # options: false | gradients | all wandb_log_model: str = "false", # options: false | true '''