Merge pull request #194 from NanoCode012/fix/config-path
Fix config path after config moved
This commit is contained in:
@@ -39,10 +39,10 @@ pip3 install -U git+https://github.com/huggingface/peft.git
|
|||||||
accelerate config
|
accelerate config
|
||||||
|
|
||||||
# finetune lora
|
# finetune lora
|
||||||
accelerate launch scripts/finetune.py examples/lora-openllama-3b/config.yml
|
accelerate launch scripts/finetune.py examples/openllama-3b/lora.yml
|
||||||
|
|
||||||
# inference
|
# inference
|
||||||
accelerate launch scripts/finetune.py examples/lora-openllama-3b/config.yml \
|
accelerate launch scripts/finetune.py examples/openllama-3b/lora.yml \
|
||||||
--inference --lora_model_dir="./lora-out"
|
--inference --lora_model_dir="./lora-out"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
This is a good place to start for beginners. This will run on an NVIDIA RTX4090 with no other changes needed.
|
This is a good place to start for beginners. This will run on an NVIDIA RTX4090 with no other changes needed.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
accelerate launch scripts/finetune.py examples/4bit-lora-7b/config.yml
|
accelerate launch scripts/finetune.py examples/gptq-lora-7b/config.yml
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
Basic full tune
|
Basic full tune
|
||||||
```shell
|
```shell
|
||||||
accelerate launch scripts/finetune.py examples/qlora-openllama-3b/config.yml
|
accelerate launch scripts/finetune.py examples/openllama-3b/config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
LoRA
|
LoRA
|
||||||
```shell
|
```shell
|
||||||
accelerate launch scripts/finetune.py examples/qlora-openllama-3b/lora.yml
|
accelerate launch scripts/finetune.py examples/openllama-3b/lora.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
QLoRA
|
QLoRA
|
||||||
```shell
|
```shell
|
||||||
accelerate launch scripts/finetune.py examples/qlora-openllama-3b/qlora.yml
|
accelerate launch scripts/finetune.py examples/openllama-3b/qlora.yml
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user