Ollama / pull-model.sh
PyxiLabs's picture
Create pull-model.sh
e155edc verified
raw
history blame
173 Bytes
#!/bin/sh
# Start Ollama in the background
ollama serve &
# Wait for the server to start
sleep 5
# Pull the model
ollama pull all-minilm
# Stop the background server
kill %1