From d328973aa1b8ecddc6410086cfa1d64d1d455721 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 13 Mar 2023 18:05:18 +0200 Subject: [PATCH] Indentation --- quantize.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/quantize.sh b/quantize.sh index 591cb9890..f2aea1659 100755 --- a/quantize.sh +++ b/quantize.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash if ! [[ "$1" =~ ^[0-9]{1,2}B$ ]]; then - echo - echo "Usage: quantize.sh 7B|13B|30B|65B [--remove-f16]" - echo - exit 1 + echo + echo "Usage: quantize.sh 7B|13B|30B|65B [--remove-f16]" + echo + exit 1 fi for i in "models/$1/ggml-model-f16.bin*"; do - ./quantize "$i" "${i/f16/q4_0}" 2 - if [[ "$2" == "--remove-f16" ]]; then - rm "$i" - fi + ./quantize "$i" "${i/f16/q4_0}" 2 + if [[ "$2" == "--remove-f16" ]]; then + rm "$i" + fi done