Update Tutorial

Namhyeon Go 2024-06-15 11:24:58 +00:00
parent ef2fa78cb6
commit b6c0d4bf93

@ -1,12 +1,30 @@
## Open-LLaMa 테스트 과정
1. 저장소 다운로드(클론)
```bash
git clone https://git.catswords.net/gnh1201/Open-Llama
```
$ git clone https://git.catswords.net/gnh1201/Open-Llama
```
수정된 버전 (git.catswords.net) 을 다운로드 받은 경우 2번 과정은 생략하여도 됨.
수정된 버전(from git.catswords.net)을 다운로드 받은 경우 2번 과정은 생략하여도 됨.
2. dataset 다운로드 위치 변경 및 다운로드
* data/download_the_pile.sh 파일의 명령어 수정 (저작권 문제로 원 링크가 닫힘). 참고: https://git.catswords.net/gnh1201/Open-Llama/commit/a24271d48efa47020f04e8ffe35f56f62770fa7b
* 모델 다운로드 및 전처리
```
bash data/download_the_pile.sh
bash data/download_wudao.sh
```
3. LLaMa-7B 모델 다운로드 및 복사
* git-lfs (대용량 git 지원) 설치
```
$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
$ sudo apt install git-lfs
$ git lfs install
```
* LLaMa-7B 모델 다운로드(클론)
```
$ git clone https://huggingface.co/nyanko7/LLaMA-7B
```
2. dataset 다운로드 위치 변경
* data/download_the_pile.sh 파일의 명령어 수정 (저작권 문제로 원 링크가 닫힘)
* 수정 내용: https://git.catswords.net/gnh1201/Open-Llama/commit/a24271d48efa47020f04e8ffe35f56f62770fa7b