llama-cpp-scripts / bin /llama-menu.sh
iandennismiller's picture
map model name to template, map template to prefix/suffix
6cc9d7b
raw
history blame
230 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" 2048