Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: wenlao peng <[email protected]>
  • Loading branch information
s3690691 authored May 15, 2023
1 parent d91444a commit f417a49
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,21 @@ Open and run this code in the file "generate.py" where it exists. Please always

Locate the "alpaca_data.json" file. Please use the "instruction" and "input" inside to test the output.

### Tips on the original Guide to Alpaca -lora.

Their teaching code format needs to be fine-tuned before it can be used. Here are some examples:
This is their code:

```
python generate.py \
--load_8bit \
--base_model 'decapoda-research/llama-7b-hf' \
--lora_weights 'tloen/alpaca-lora-7b'
```
Should be:

```
python generate.py --load_8bit --base_model 'decapoda-research/llama-7b-hf' --lora_weights 'tloen/alpaca-lora-7b'
```

Running commands does not directly modify the contents of the original Python file. Running a command simply executes the Python script and influences the behavior and output of the script based on the configuration of the command line arguments.

0 comments on commit f417a49

Please sign in to comment.