Llama 3 के साथ फाइन-ट्यूनिंग
Francesca Donadoni
Curriculum Manager, DataCamp










TorchTune रेसिपीज़:

pip3 install torchtune
उपलब्ध रेसिपीज़ लिस्ट करें
tune ls
! यदि 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 + कॉन्फ़िगरेशन का उपयोग करेंफाइन-ट्यूनिंग चलाएँ
tune run full_finetune_single_device --config \
llama3_1/8B_lora_single_device
पैरामीटर्स device=cpu या device=cuda
epochs=<int> (<int> 0 या धनात्मक पूर्णांक)Llama 3 के साथ फाइन-ट्यूनिंग