Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

Commit

Permalink
Update quantizing_ai_models.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rizitis committed May 11, 2024
1 parent 22b2ffd commit e16c123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quantizing_ai_models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ if [ "$BPE_FILE_FOUND" == "yes" ]; then
echo -e "${GREEN}Yupiii, Llama3 model found: $BPE_FILE_FOUND ${RESET}"
cd "$CWD" || exit 1
if python3 convert.py models/"$TARGET_DIR"/ --outtype f16 --vocab-type bpe; then
echo "Conversion successful using convert-hf-to-gguf.py"
echo "Conversion successful using convert.py"
else
echo "Conversion using convert-hf-to-gguf.py failed, trying alternative..."
echo "Conversion using convert.py failed, trying alternative..."
if python3 convert-hf-to-gguf.py models/"$TARGET_DIR"/ --outtype f16; then
echo "Conversion successful using convert.py"
echo "Conversion successful using convert-hf-to-gguf.py"
else
echo "Both conversion methods failed"
fi
Expand Down

0 comments on commit e16c123

Please sign in to comment.