llama-cpp-scripts / install.sh
iandennismiller's picture
add some old prompts ... to get started
3a2b4e0
raw
history blame
943 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
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"