-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8407cd
commit 208cccd
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Ollama | ||
|
||
## Starting Ollama in Visual Studio Code | ||
|
||
* start a terminal session and then execute: | ||
|
||
`ollama serve` | ||
|
||
This will start the Ollama service, in the foreground | ||
|
||
* Start a second terminal session and then execute: | ||
|
||
`ollama run model-name` | ||
|
||
The first time you execute a run it will download the model which may take some time. Subsequent runs will be much faster as they do not need to re-download the model. | ||
|
||
Replace 'model-name' with the name of a model that you wish to run, llama2 is a compact model and a good starting point. | ||
|
||
See below for additional models. | ||
|
||
## Ollama Models | ||
|
||
* [Model Library](https://ollama.com/library) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: Ollama | ||
weight: 40 | ||
published: false | ||
last_reviewed_on: 2022-05-01 | ||
review_in: 2 months | ||
owner_slack: "#analytical-platform-support" | ||
owner_slack_workspace: "mojdt" | ||
--- | ||
|
||
<%= partial 'documentation/tools/visual-studio-code/ollama' %> |