bentebbutt commited on
Commit
8b2f332
·
verified ·
1 Parent(s): 42e16f1

Create start_ollama.sh

Browse files
Files changed (1) hide show
  1. start_ollama.sh +14 -0
start_ollama.sh ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Start ollama server
4
+ echo "Starting ollama server"
5
+ ollama serve &
6
+ sleep 1
7
+
8
+ # Pull the phi3 model
9
+ echo "Pulling phi3 model"
10
+ ollama pull phi3
11
+ sleep 5
12
+
13
+ # Run the run.sh script
14
+ bash run.sh