-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
62 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
nohup sh scripts/run_alpaca_ds.sh > run2.log 2>&1 & | ||
nohup sh scripts/run_alpaca_lora.sh > run2.log 2>&1 & | ||
|
||
|
||
python generate.py \ | ||
--model_name_or_path decapoda-research/llama-7b-hf \ | ||
--lora_model_name_or_path \ | ||
--temperature 1.0 \ | ||
--repetition_penalty 1.0 \ | ||
--top_k 40 \ | ||
--top_p 0.9 \ | ||
--num_beams 4 \ | ||
nohup sh scripts/run_alpaca_lora.sh > run2.log 2>&1 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -335,4 +335,4 @@ def train(load_in_8bit=False) -> None: | |
|
||
|
||
if __name__ == '__main__': | ||
train() | ||
train(load_in_8bit=True) |