Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
93f789f
1
Parent(s):
d3b8ee8
Clean up colab notebook
Browse files- examples/pysr_demo.ipynb +12 -9
examples/pysr_demo.ipynb
CHANGED
@@ -10,7 +10,15 @@
|
|
10 |
]
|
11 |
},
|
12 |
{
|
13 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
"cell_type": "markdown",
|
15 |
"metadata": {
|
16 |
"id": "tQ1r1bbb0yBv"
|
@@ -20,9 +28,9 @@
|
|
20 |
"## Instructions\n",
|
21 |
"1. Work on a copy of this notebook: _File_ > _Save a copy in Drive_ (you will need a Google account).\n",
|
22 |
"2. (Optional) If you would like to do the deep learning component of this tutorial, ensure the GPU accelerator is turned on, with Edit->Notebook settings->Hardware accelerator->GPU\n",
|
23 |
-
"3. **Use fallback runtime**.
|
24 |
" - This is a temporary workaround for a bug in Colab, until the current runtime is patched.\n",
|
25 |
-
"4. Execute the following cell (click on it and press Ctrl+Enter) to install Julia, IJulia and other packages. This takes a couple of minutes.\n",
|
26 |
"5. Continue to the next section.\n",
|
27 |
"\n",
|
28 |
"_Notes_:\n",
|
@@ -1214,11 +1222,6 @@
|
|
1214 |
"name": "pysr_demo.ipynb",
|
1215 |
"provenance": []
|
1216 |
},
|
1217 |
-
"kernelspec": {
|
1218 |
-
"display_name": "Python (main_ipynb)",
|
1219 |
-
"language": "python",
|
1220 |
-
"name": "main_ipynb"
|
1221 |
-
},
|
1222 |
"language_info": {
|
1223 |
"codemirror_mode": {
|
1224 |
"name": "ipython",
|
@@ -1229,7 +1232,7 @@
|
|
1229 |
"name": "python",
|
1230 |
"nbconvert_exporter": "python",
|
1231 |
"pygments_lexer": "ipython3",
|
1232 |
-
"version": "3.10.9
|
1233 |
},
|
1234 |
"widgets": {
|
1235 |
"application/vnd.jupyter.widget-state+json": {
|
|
|
10 |
]
|
11 |
},
|
12 |
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {},
|
16 |
+
"outputs": [],
|
17 |
+
"source": [
|
18 |
+
"!echo \"Runtime started.\""
|
19 |
+
]
|
20 |
+
},
|
21 |
+
{
|
22 |
"cell_type": "markdown",
|
23 |
"metadata": {
|
24 |
"id": "tQ1r1bbb0yBv"
|
|
|
28 |
"## Instructions\n",
|
29 |
"1. Work on a copy of this notebook: _File_ > _Save a copy in Drive_ (you will need a Google account).\n",
|
30 |
"2. (Optional) If you would like to do the deep learning component of this tutorial, ensure the GPU accelerator is turned on, with Edit->Notebook settings->Hardware accelerator->GPU\n",
|
31 |
+
"3. **Use fallback runtime**. Run the above cell (`!echo \"Runtime started.\"`) to start the runtime. Now, open the command pallette (bottom left -> second icon from the bottom), and search for \"use fallback runtime\", and hit enter.\n",
|
32 |
" - This is a temporary workaround for a bug in Colab, until the current runtime is patched.\n",
|
33 |
+
"4. Execute the following cell (click on it and press Ctrl+Enter or Shift+Enter) to install Julia, IJulia and other packages. This takes a couple of minutes.\n",
|
34 |
"5. Continue to the next section.\n",
|
35 |
"\n",
|
36 |
"_Notes_:\n",
|
|
|
1222 |
"name": "pysr_demo.ipynb",
|
1223 |
"provenance": []
|
1224 |
},
|
|
|
|
|
|
|
|
|
|
|
1225 |
"language_info": {
|
1226 |
"codemirror_mode": {
|
1227 |
"name": "ipython",
|
|
|
1232 |
"name": "python",
|
1233 |
"nbconvert_exporter": "python",
|
1234 |
"pygments_lexer": "ipython3",
|
1235 |
+
"version": "3.10.9"
|
1236 |
},
|
1237 |
"widgets": {
|
1238 |
"application/vnd.jupyter.widget-state+json": {
|