add jupyter readme

This commit is contained in:
Michael Yang
2023-11-17 09:30:02 -08:00
parent f7f6d6c693
commit 4936b5bb37
2 changed files with 7 additions and 13 deletions

View File

@@ -1,17 +1,5 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "38d57674-b3d5-40f3-ab83-9109df3a7821",
"metadata": {},
"source": [
"# Ollama Jupyter Notebook\n",
"\n",
"Ollama is the easiest way to run large language models (LLMs) locally. You can deploy it to macOS by installing the the macOS application, Linux by running the install script (below), and Docker or Kubernetes by pulling the official Ollama Docker image.\n",
"\n",
"For best results, this notebook should be run on a Linux node with a GPU or an environment like Google Colab."
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -20,7 +8,8 @@
"outputs": [],
"source": [
"# Download and run the Ollama Linux install script\n",
"!curl https://ollama.ai/install.sh | sh"
"!curl https://ollama.ai/install.sh | sh\n",
"!command -v systemctl >/dev/null && sudo systemctl stop ollama"
]
},
{