continue-custom/docs/docs/reference/Models/ollama.md
Tim Dahlmanns 6ef8ae6d5a
fix: docs and install dependencies task for new directory structure (#551)
* docs: update directory structure

* fix: install dependencies task

* undo reset

* Remove create-a-recipe.md

---------

Co-authored-by: Nate Sesti <sestinj@gmail.com>
2023-10-16 11:05:15 -07:00

6.6 KiB

import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx';

Ollama

Ollama is an application for Mac and Linux that makes it easy to locally run open-source models, including Llama-2. Download the app from the website, and it will walk you through setup in a couple of minutes. You can also read more in their README. Continue can then be configured to use the Ollama LLM class:

from continuedev.libs.llm.ollama import Ollama

config = ContinueConfig(
    ...
    models=Models(
        default=Ollama(model="llama2")
    )
)

View the source

Properties

Inherited Properties