Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/context_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/document_mobject.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/instruct_validate_repair.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/m_serve_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
12 changes: 8 additions & 4 deletions docs/examples/notebooks/mcp_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"source": [
"## Install Ollama and MCP\n",
"\n",
"Before we get started with Mellea, we install ollama and mcp"
"Before we get started with Mellea, we download, install and serve ollama, and install mcp. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -30,9 +30,13 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &\n",
"!uv pip install mcp -q"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"!uv pip install mcp -q\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/model_options_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/sentiment_classifier.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/simple_email.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down
10 changes: 7 additions & 3 deletions docs/examples/notebooks/table_mobject.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"source": [
"## Install Ollama\n",
"\n",
"Before we get started with Mellea, we download and install ollama."
"Before we get started with Mellea, we download, install and serve ollama. We define set_css to wrap Colab output."
]
},
{
Expand All @@ -29,8 +29,12 @@
},
"outputs": [],
"source": [
"!curl -fsSL https://ollama.com/install.sh | sh\n",
"!nohup ollama serve &"
"!curl -fsSL https://ollama.com/install.sh | sh > /dev/null\n",
"!nohup ollama serve >/dev/null 2>&1 &\n",
"\n",
"from IPython.display import HTML, display\n",
"def set_css(): display(HTML('\\n<style>\\n pre{\\n white-space: pre-wrap;\\n}\\n</style>\\n'))\n",
"get_ipython().events.register('pre_run_cell',set_css)"
]
},
{
Expand Down