Skip to content

Commit

Permalink
update doco for ollama (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianEllwood authored Mar 20, 2024
1 parent a8407cd commit 208cccd
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/documentation/tools/visual-studio-code/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

* [Python 3.10](https://www.python.org/downloads/release/python-3100/)

* [Ollama](/tools/visual-studio-code/ollama)

## Known Issues

* Like JupyterLab and RStudio, Visual Studio Code runs on Analytical Platform's Kubernetes infrastructure, therefore we cannot provide access to Docker.
Expand Down
23 changes: 23 additions & 0 deletions source/documentation/tools/visual-studio-code/ollama.md
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)
11 changes: 11 additions & 0 deletions source/tools/visual-studio-code/ollama/index.html.md.erb
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' %>

0 comments on commit 208cccd

Please sign in to comment.