Merge pull request #197 from mhenrichsen/chore/update-readme
Browse files
README.md
CHANGED
|
@@ -500,16 +500,16 @@ Pass the appropriate flag to the train command:
|
|
| 500 |
|
| 501 |
- Pretrained LORA:
|
| 502 |
```bash
|
| 503 |
-
--inference --lora_model_dir
|
| 504 |
```
|
| 505 |
- Full weights finetune:
|
| 506 |
```bash
|
| 507 |
-
--inference --base_model
|
| 508 |
```
|
| 509 |
- Full weights finetune w/ a prompt from a text file:
|
| 510 |
```bash
|
| 511 |
cat /tmp/prompt.txt | python scripts/finetune.py configs/your_config.yml \
|
| 512 |
-
--base_model
|
| 513 |
```
|
| 514 |
|
| 515 |
### Merge LORA to base
|
|
|
|
| 500 |
|
| 501 |
- Pretrained LORA:
|
| 502 |
```bash
|
| 503 |
+
--inference --lora_model_dir="./lora-output-dir"
|
| 504 |
```
|
| 505 |
- Full weights finetune:
|
| 506 |
```bash
|
| 507 |
+
--inference --base_model="./completed-model"
|
| 508 |
```
|
| 509 |
- Full weights finetune w/ a prompt from a text file:
|
| 510 |
```bash
|
| 511 |
cat /tmp/prompt.txt | python scripts/finetune.py configs/your_config.yml \
|
| 512 |
+
--base_model="./completed-model" --inference --prompter=None --load_in_8bit=True
|
| 513 |
```
|
| 514 |
|
| 515 |
### Merge LORA to base
|