Skip to content

Commit

Permalink
update commands in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Apr 17, 2024
1 parent 692e006 commit 0372779
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ litgpt download --repo_id microsoft/phi-2
# 2) Finetune the model
curl -L https://huggingface.co/datasets/medalpaca/medical_meadow_health_advice/raw/main/medical_meadow_health_advice.json -o my_custom_dataset.json

litgpt finetune lora \
litgpt finetune \
--checkpoint_dir checkpoints/microsoft/phi-2 \
--data JSON \
--data.json_path my_custom_dataset.json \
Expand Down Expand Up @@ -267,7 +267,7 @@ Browse all training recipes [here](config_hub).
### Example

```bash
litgpt finetune lora \
litgpt finetune \
--config https://raw.githubusercontent.com/Lightning-AI/litgpt/main/config_hub/finetune/llama-2-7b/lora.yaml
```

Expand Down Expand Up @@ -422,7 +422,7 @@ seed: 1337
Override any parameter in the CLI:
```bash
litgpt finetune lora \
litgpt finetune \
--config https://raw.githubusercontent.com/Lightning-AI/litgpt/main/config_hub/finetune/llama-2-7b/lora.yaml \
--lora_r 4
```
Expand Down

0 comments on commit 0372779

Please sign in to comment.