llama-cpp-scripts / bin /llama-menu.sh
iandennismiller's picture
empty arg
5c8acab
raw
history blame
241 Bytes
#!/bin/bash
CHOICES=$(cd ~/.ai/models/llama && find . -name "*.gguf")
SELECTED=$(echo "$CHOICES" | fzf --reverse --border --ansi)
if [[ -z "$SELECTED" ]]; then
exit
fi
echo "Selected: '$SELECTED'"
llama.sh "$SELECTED" chatml 2048 0.8