Skip to content

Commit d142609

Browse files
committed
Update run_notebook.rst
1 parent 7e4e774 commit d142609

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

docs/source/user_guide/jobs/run_notebook.rst

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@ Run a Notebook
33

44
The :py:class:`~ads.jobs.NotebookRuntime` allows you to run a single Jupyter notebook as a job.
55

6-
If your notebook needs extra dependencies like custom module or data files, you can use
7-
:py:class:`~ads.jobs.PythonRuntime` or :py:class:`~ads.jobs.GitPythonRuntime` and set your notebook as the entrypoint.
8-
9-
See also:
10-
11-
* :doc:`run_python`
12-
* :doc:`run_git`
6+
.. include:: ../jobs/toc_local.rst
137

148
TensorFlow Example
159
==================
@@ -51,3 +45,18 @@ To tag cells in a notebook, see
5145
The :py:meth:`~ads.jobs.NotebookRuntime.with_exclude_tag` take a list of tags as argument
5246
Cells with any matching tags are excluded from the job run.
5347
In the above example, cells with ``ignore`` or ``remove`` are excluded.
48+
49+
Notebook with Dependencies
50+
==========================
51+
52+
If your notebook needs extra dependencies like custom module or data files, you can use
53+
:py:class:`~ads.jobs.PythonRuntime` or :py:class:`~ads.jobs.GitPythonRuntime` and set your notebook as the entrypoint.
54+
55+
See also:
56+
57+
* :doc:`run_python`
58+
* :doc:`run_git`
59+
60+
Here is an example of running the `minGPT demo notebook <https://github.com/karpathy/minGPT/blob/master/demo.ipynb>`_.
61+
62+
.. include:: ../jobs/tabs/git_notebook.rst

0 commit comments

Comments
 (0)