Fine-Tuning với Llama 3
Francesca Donadoni
Curriculum Manager, DataCamp










Công thức TorchTune:

pip3 install torchtune
Liệt kê công thức có sẵn
tune ls
! khi dùng IPython
!tune ls
!tune ls
RECIPE CONFIG
full_finetune_single_device llama3/8B_full_single_device
llama3_1/8B_full_single_device
llama3_2/1B_full_single_device
llama3_2/3B_full_single_device
full_finetune_distributed llama3/8B_full
llama3_1/8B_full
llama3_2/1B_full
...
--config + cấu hìnhChạy tinh chỉnh
tune run full_finetune_single_device --config \
llama3_1/8B_lora_single_device
Tham số device=cpu hoặc device=cuda
epochs=<int> (<int> là 0 hoặc số nguyên dương)Fine-Tuning với Llama 3