Skip to content

Commit

Permalink
code format:
Browse files Browse the repository at this point in the history
+ wandb_config.template.py
  • Loading branch information
kduxin committed Dec 7, 2022
1 parent 517f2a5 commit 8e40996
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions wandb_config.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@
import os
import getpass
import wandb
import logging

wandb_dir = f'/tmp/firelang_wandb_{getpass.getuser()}'
wandb_dir = f"/tmp/firelang_wandb_{getpass.getuser()}"
os.makedirs(wandb_dir, exist_ok=True)

settings = {
'WANDB_ENTITY': 'allen', # replace this with your WANDB account name
'WANDB_DIR': wandb_dir,

"WANDB_ENTITY": "allen", # replace this with your WANDB account name
"WANDB_DIR": wandb_dir,
# ----- cloud -----
'WANDB_API_KEY': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', # replace this with your own WANDB API KEY
'WANDB_PROJECT': 'firelang', # you can change this to the name you like
'WANDB_BASE_URL': 'https://api.wandb.ai/',
"WANDB_API_KEY": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", # replace this with your own WANDB API KEY
"WANDB_PROJECT": "firelang", # you can change this to the name you like
"WANDB_BASE_URL": "https://api.wandb.ai/",
}

api = None
Expand Down

0 comments on commit 8e40996

Please sign in to comment.