llama-cpp-scripts / install.sh
iandennismiller's picture
new llama-prompt script
6a8d17c
raw
history blame
992 Bytes
#!/bin/bash
echo "installing"
mkdir -p \
~/.local/bin \
~/.local/share/llama/characters \
~/.local/share/llama/prompts
install -C -v ./bin/llama-hf-to-q6_k.sh ~/.local/bin
install -C -v ./bin/llama-update.sh ~/.local/bin
install -C -v ./bin/llama-finetune.sh ~/.local/bin
install -C -v ./bin/llama.sh ~/.local/bin
install -C -v ./bin/llama-menu.sh ~/.local/bin
install -C -v ./bin/llama-server.sh ~/.local/bin
install -C -v ./bin/llava-describe.sh ~/.local/bin
install -C -v ./bin/llama-prompt.sh ~/.local/bin
if [ -n "$(ls ./share/characters)" ]; then
install -C -v ./share/characters/* ~/.local/share/llama/characters
fi
if [ -n "$(ls ./share/prompts)" ]; then
install -C -v ./share/prompts/* ~/.local/share/llama/prompts
fi
if [ -n "$(ls ./local/characters)" ]; then
install -C -v ./local/characters/* ~/.local/share/llama/characters
fi
if [ -n "$(ls ./local/prompts)" ]; then
install -C -v ./local/prompts/* ~/.local/share/llama/prompts
fi
echo "done"