This commit is contained in:
Gormery Kombo Wanjiru
2024-02-05 12:08:36 +01:00
parent 8c73f7a34b
commit ebcc3a971b
2 changed files with 2 additions and 4 deletions

View File

@@ -25,8 +25,6 @@ Make sure you have the following prerequisites installed on your machine:
```bash
cd ollama-docker
mkdir ollama/ollama
mkdir ollama/ollama-webui
```
### Usage

View File

@@ -1,4 +1,4 @@
from langchain_community.llms import Ollama
llm = Ollama(model="llama2")
llm.invoke("The first man on the moon was ...")
llm = Ollama(model="llama2-uncensored")
print(llm.invoke("was neil armstrong gay"))