Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Local LLM example with ollama
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RC Data Science
Researcher Training
Local LLM example with ollama
Commits
8c16410e
Commit
8c16410e
authored
7 months ago
by
William E Warriner
Browse files
Options
Downloads
Patches
Plain Diff
update setup script
parent
7ad1a3ff
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup-ollama.sh
+5
-2
5 additions, 2 deletions
setup-ollama.sh
with
5 additions
and
2 deletions
setup-ollama.sh
100644 → 100755
+
5
−
2
View file @
8c16410e
#!/bin/sh
#!/bin/
ba
sh
VERSION
=
0.3.4
TARGET
=
linux-amd64
wget
-O
ollama
"https://github.com/ollama/ollama/releases/download/
${
VERSION
}
/ollama-
${
TARGET
}
"
wget
-O
ollama
"https://github.com/ollama/ollama/releases/download/
v
${
VERSION
}
/ollama-
${
TARGET
}
"
chmod
u+x ollama
./ollama serve &
pid
=
$!
./ollama pull llama3.1:8b
./ollama pull bge-m3:latest
# rag model
kill
-9
$pid
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment