Skip to content

Commit

Permalink
Merge pull request #859 from benoitf/DESKTOP-836
Browse files Browse the repository at this point in the history
chore: add alias from llama-2 to llama2
  • Loading branch information
rhatdan authored Feb 19, 2025
2 parents 51c85a5 + 09d1717 commit 367d658
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions container-images/scripts/llama-server.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash
if [ -n "${MODEL_CHAT_FORMAT}" ]; then

# handle the case of llama.cpp python chat format
if [ "${MODEL_CHAT_FORMAT}" = "llama-2" ]; then
MODEL_CHAT_FORMAT="llama2"
fi
CHAT_FORMAT="--chat_template ${MODEL_CHAT_FORMAT}"
fi

Expand Down

0 comments on commit 367d658

Please sign in to comment.