Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Guitaricet committed May 13, 2023
1 parent 0288dac commit 0163e1c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
checkpoints
**/wandb/**
wandb
ignore
experimental_data

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
10 changes: 6 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
"console": "integratedTerminal",
"justMyCode": true,
"args": [
"--model_config", "peft_pretraining/llama_small.json",
"--model_config", "configs/llama_9m.json",
"--use_peft",
"--lora_r", "32",
"--relora", "100",
"--train_ln",
"--reset_optimizer_on_relora", "False",
"--device", "cuda:0",
"--lr", "0.0005",
"--batch_size", "48",
"--dtype", "bfloat16"
"--batch_size", "240",
"--dtype", "bfloat16",
"--tags", "vscode_debugger",
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/
bash miniconda.sh -b
/root/miniconda3/bin/conda init

bash
bash # to enable conda

git clone https://github.com/guitaricet/peft_pretraining
cd peft_pretraining
Expand Down

0 comments on commit 0163e1c

Please sign in to comment.