파인튜닝 예제

https://github.com/hiyouga/LlamaFactory

https://github.com/hiyouga/LlamaFactory/pull/7537

파인튜닝

image.png

  1. Freeze 되는곳
  2. 실제 학습되는 곳
  3. 방법

1. 연구실 데이터셋 생성

a 구역

a 구역

a,b,c 구역 각각 20장씩 수집

b 구역

b 구역

c 구역

c 구역

  1. 데이터셋

  2. json 파일

image.png

  1. LlamaFactory/data/dataset_info.json에 내 데이터셋 추가

    image.png

2. 훈련 yaml 파일 만들기

LlamFactory/examples/train_lora 에 내 훈련 yaml 생성