Llama 2 Download Error (416 Requested Range Not Satisfiable)

Error

./download.sh
Enter the URL from email: ...

Resolving download.llamameta.net (download.llamameta.net)... 54.230.61.50, 54.230.61.7, 54.230.61.98, ...
Connecting to download.llamameta.net (download.llamameta.net)|54.230.61.50|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

...

    The file is already fully retrieved; nothing to do.

md5sum: tokenizer_checklist.chk: no properly formatted MD5 checksum lines found

 

해결 방법

vi download.sh

아래 파일에서 모든 '--continue' 를 삭제 해 주면 된다.

#!/usr/bin/env bash

# Copyright (c) Meta Platforms, Inc. and affiliates.
# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.

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}

if [[ $MODEL_SIZE == "" ]]; then
    MODEL_SIZE="7B,13B,70B,7B-chat,13B-chat,70B-chat"
fi

echo "Downloading LICENSE and Acceptable Usage Policy"
wget ${PRESIGNED_URL/'*'/"LICENSE"} -O ${TARGET_FOLDER}"/LICENSE"
wget ${PRESIGNED_URL/'*'/"USE_POLICY.md"} -O ${TARGET_FOLDER}"/USE_POLICY.md"

 

에러 사유

https://github.com/meta-llama/llama/issues/760

728x90
반응형

'AI' 카테고리의 다른 글

Llama 2 Local Install  (0) 2024.04.14
[AI] Ubuntu 22 Nvidia GPU Docker로 연동하기  (0) 2024.03.31
Sum of the squared errors  (0) 2021.08.01
Predicting Student Admissions with Neural Networks  (0) 2021.08.01
Backpropagation  (0) 2021.08.01