Update Tutorial

Namhyeon Go 2024-06-15 11:29:05 +00:00
parent b6c0d4bf93
commit b71418431c

@ -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
```
* LLaMa-7B 모델 연결 및 변환
```
$ cd ~/Open-LLaMa
$ mkdir -p ./data/llama_raw_ckpt
$ ln -s ~/LLaMA-7B ./data/llama_raw_ckpt/7B
$ python
```