From b71418431c82caaf57586a01b0dd718a8a8f97b4 Mon Sep 17 00:00:00 2001 From: Namhyeon Go Date: Sat, 15 Jun 2024 11:29:05 +0000 Subject: [PATCH] Update Tutorial --- Tutorial.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Tutorial.md b/Tutorial.md index 257b116..99c8662 100644 --- a/Tutorial.md +++ b/Tutorial.md @@ -1,8 +1,9 @@ ## Open-LLaMa 테스트 과정 -1. 저장소 다운로드(클론) +1. 저장소 다운로드(클론) 및 패키지 설치 ``` $ git clone https://git.catswords.net/gnh1201/Open-Llama + $ pip install -r requirements.txt # 여기에 누락된 패키지는 작업 중 오류(예: No module found)를 확인하면서 추가 설치할 것 ``` 수정된 버전(from git.catswords.net)을 다운로드 받은 경우 2번 과정은 생략하여도 됨. @@ -15,7 +16,7 @@ bash data/download_wudao.sh ``` -3. LLaMa-7B 모델 다운로드 및 복사 +3. LLaMA-7B 모델 다운로드 및 복사 * git-lfs (대용량 git 지원) 설치 ``` $ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash @@ -23,8 +24,15 @@ $ git lfs install ``` - * LLaMa-7B 모델 다운로드(클론) + * LLaMA-7B 모델 다운로드(클론) ``` $ git clone https://huggingface.co/nyanko7/LLaMA-7B ``` - \ No newline at end of file + + * LLaMa-7B 모델 연결 및 변환 + ``` + $ cd ~/Open-LLaMa + $ mkdir -p ./data/llama_raw_ckpt + $ ln -s ~/LLaMA-7B ./data/llama_raw_ckpt/7B + $ python + ``` \ No newline at end of file