Skip to content

Commit

Permalink
fix(doc): Add note on inference w sample packing (axolotl-ai-cloud#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 committed Oct 10, 2023
1 parent 388b0e7 commit 6b5d4f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,10 @@ Pass the appropriate flag to the train command:
--base_model="./completed-model" --prompter=None --load_in_8bit=True
```

Please use `--sample_packing False` if you have it on and receive the error similar to below:

> RuntimeError: stack expects each tensor to be equal size, but got [1, 32, 1, 128] at entry 0 and [1, 32, 8, 128] at entry 1
### Merge LORA to base

Add below flag to train command above
Expand Down

0 comments on commit 6b5d4f3

Please sign in to comment.