Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

latest nb

Dillon DuPonte7a20fe4c2d5
diff --git a/notebooks/ollama_nb.ipynb b/notebooks/ollama_nb.ipynb
index 6a59530bb3..aeee5b1378 100644
--- a/notebooks/ollama_nb.ipynb
+++ b/notebooks/ollama_nb.ipynb
@@ -11,7 +11,7 @@
"\n",
"We'll cover three patterns:\n",
"\n",
- "1. Use an all-in-one CUA model served by Ollama (e.g. `model=\"ollama/blaifa/InternVL3_5\"`).\n",
+ "1. Use an all-in-one CUA model served by Ollama (e.g. `model=\"ollama/blaifa/InternVL3_5:8b\"`).\n",
"2. Use a strong CUA grounding model composed with an Ollama VLM (e.g. `model=\"openai/computer-use-preview+ollama/gemma3:4b\"`).\n",
"3. Conceptual: different ways to customize/extend your agent (link + outline only).\n"
]
@@ -164,7 +164,7 @@
"Some community models on Ollama are trained for computer use end-to-end.\n",
"Point the agent's model to an Ollama-served model using the `ollama/` prefix.\n",
"\n",
- "Example: `model=\"ollama/blaifa/InternVL3_5\"`.\n"
+ "Example: `model=\"ollama/blaifa/InternVL3_5:8b\"`.\n"
]
},
{
@@ -177,9 +177,6 @@
"import logging\n",
"from pathlib import Path\n",
"from agent import ComputerAgent\n",
- "import os\n",
- "\n",
- "os.environ['OLLAMA_API_BASE'] = 'http://localhost:11434'\n",
"\n",
"agent_all_in_one = ComputerAgent(\n",
" model=\"ollama/blaifa/InternVL3_5:8b\",\n",
@@ -273,12 +270,21 @@
],
"metadata": {
"kernelspec": {
- "display_name": ".venv",
+ "display_name": "cua",
"language": "python",
"name": "python3"
},
"language_info": {
- "name": "python"
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.12.11"
}
},
"nbformat": 4,