• EN
  • KO
Powered by

# Tag: llama3

See all tags.

Fine-tuning Tutorials
Llama3 8B Fine-tuning

This tutorial introduces an example of fine-tuning the open-source Llama3-8B model on the MoAI Platform.

Fine-tuning Tutorials • Llama3 8B Fine-tuning
1. Preparing for Fine-tuning

Setting up the PyTorch execution environment on the MoAI Platform is similar to setting it up on a typical GPU server.

Fine-tuning Tutorials • Llama3 8B Fine-tuning
2. Understanding Training Code

Once you have prepared all the training data, let's take a look at the contents of the train_llama3.py

Fine-tuning Tutorials • Llama3 8B Fine-tuning
3. Model Fine-tuning

Now, we will actually execute the fine-tuning process.

Fine-tuning Tutorials • Llama3 8B Fine-tuning
4. Checking Training Results

When you execute the train_llama3.py script as in the previous section, the resulting model will be saved in the

Fine-tuning Tutorials • Llama3 8B Fine-tuning
5. Changing the Number of GPUs

Let's rerun the fine-tuning task with a different number of GPUs.

Fine-tuning Tutorials
Llama3 70B Fine-tuning

This tutorial introduces how to fine-tune the open-source LLama3-70B model using the MoAI Platform.

© Copyright Moreh 2024. All rights reserved.