[LLM] LLaMA-2 Download Issue & Solution

UNGGI LEE·2023년 10월 20일
0

LLaMA-2 모델을 다운받을때 416 같은 HTTP error 메시지로 인해 다운이 제한되는 경우가 있다. 깃 이슈페이지에도 이러한 장애를 겪는 사람들이 많은 듯 하다.

해결책은 간단한데, download.sh 에서 TARGET_FOLDER 경로만 변경해주면 된다.

set -e

read -p "Enter the URL from email: " PRESIGNED_URL
echo ""
read -p "Enter the list of models to download without spaces (7B,13B,70B,7B-chat,13B-chat,70B-chat), or press Enter for all: " MODEL_SIZE
TARGET_FOLDER="."             # where all files should end up
mkdir -p ${TARGET_FOLDER}
...

아래와 같이 변경하면 된다 (폴더명은 원하는대로 설정하기).

set -e

read -p "Enter the URL from email: " PRESIGNED_URL
echo ""
read -p "Enter the list of models to download without spaces (7B,13B,70B,7B-chat,13B-chat,70B-chat), or press Enter for all: " MODEL_SIZE
TARGET_FOLDER="../model_record"             # where all files should end up
mkdir -p ${TARGET_FOLDER}
...
profile
NLP Researcher & ML Engineer @i-Scream Edu

0개의 댓글

Powered by GraphCDN, the GraphQL CDN