From 7565eb6fee2175b2d4fe2cfb45067a61b35d7f5e Mon Sep 17 00:00:00 2001 From: Daniel Engbert Date: Fri, 1 Sep 2023 12:41:43 -0400 Subject: [PATCH] make download.sh executable (#695) * make download.sh executable * download.sh: stop on first error --- download.sh | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 download.sh diff --git a/download.sh b/download.sh old mode 100644 new mode 100755 index fd990c5..8625963 --- a/download.sh +++ b/download.sh @@ -3,6 +3,8 @@ # 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