From d972340e38cec083a8f9edec7504b3a1881c57dc Mon Sep 17 00:00:00 2001 From: Zhiqiang Tang Date: Tue, 23 Apr 2024 17:49:49 -0700 Subject: [PATCH] [AutoMM] Fix pdf classficiation tutorial (#4127) --- .../document_classification.ipynb | 21 +-------------- .../pdf_classification.ipynb | 27 ++++++++++++------- 2 files changed, 18 insertions(+), 30 deletions(-) diff --git a/docs/tutorials/multimodal/document_prediction/document_classification.ipynb b/docs/tutorials/multimodal/document_prediction/document_classification.ipynb index 5b4323a9d7d..e91e9ed4d0a 100644 --- a/docs/tutorials/multimodal/document_prediction/document_classification.ipynb +++ b/docs/tutorials/multimodal/document_prediction/document_classification.ipynb @@ -299,27 +299,8 @@ } ], "metadata": { - "jupytext": { - "cell_metadata_filter": "-all", - "main_language": "python", - "notebook_metadata_filter": "-all" - }, - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.9.7" + "name": "python" } }, "nbformat": 4, diff --git a/docs/tutorials/multimodal/document_prediction/pdf_classification.ipynb b/docs/tutorials/multimodal/document_prediction/pdf_classification.ipynb index 098ddfd58e4..2dbe61d178e 100644 --- a/docs/tutorials/multimodal/document_prediction/pdf_classification.ipynb +++ b/docs/tutorials/multimodal/document_prediction/pdf_classification.ipynb @@ -39,6 +39,20 @@ "Now, let's download the dataset and split it into training and test sets." ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "aa00faab-252f-44c9-b8f7-57131aa8251c", + "metadata": { + "tags": [ + "remove-cell" + ] + }, + "outputs": [], + "source": [ + "!pip install autogluon.multimodal\n" + ] + }, { "cell_type": "code", "execution_count": null, @@ -230,17 +244,10 @@ } ], "metadata": { - "kernelspec": { - "display_name": "agt", - "language": "python", - "name": "python3" - }, "language_info": { - "name": "python", - "version": "3.10.14" - }, - "orig_nbformat": 4 + "name": "python" + } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 5 }