From 0312c7aa29305e8885987db10ac4f35ddc9886ec Mon Sep 17 00:00:00 2001 From: xzdandy Date: Tue, 15 Aug 2023 05:45:14 -0400 Subject: [PATCH] Revert "Revert "Fix benchmark documentation (#931)"" This reverts commit 84efe77618158cf010a80db8af4721b517ac582a. --- docs/source/benchmarks/text_summarization.rst | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/docs/source/benchmarks/text_summarization.rst b/docs/source/benchmarks/text_summarization.rst index 07ba86e45..8fc6c6762 100644 --- a/docs/source/benchmarks/text_summarization.rst +++ b/docs/source/benchmarks/text_summarization.rst @@ -1,11 +1,11 @@ Text summarization benchmark ==== -In this benchmark, we compare the performance of text summarization between EvaDB and MindsDB on `CNN-DailyMail News `. +In this benchmark, we compare the performance of text summarization between EvaDB and MindsDB on `CNN-DailyMail News `_. 1. Prepare dataset ---- -.. code-block: bash +.. code-block:: bash cd benchmark/text_summarization bash download_dataset.sh @@ -17,7 +17,7 @@ In this benchmark, we compare the performance of text summarization between EvaD Install ray in your EvaDB virtual environment. ``pip install "ray>=1.13.0,<2.5.0"`` -.. code-block: bash +.. code-block:: bash cd benchmark/text_summarization python text_summarization_with_evadb.py @@ -26,12 +26,10 @@ In this benchmark, we compare the performance of text summarization between EvaD 3. Using MindsDB to summarize the CNN DailyMail News ---- -.. _sqlite database: - Prepare sqlite database for MindsDB **** -.. code-block: bash +.. code-block:: bash sqlite3 cnn_news_test.db > .mode csv @@ -41,7 +39,7 @@ Prepare sqlite database for MindsDB Install MindsDB **** -Follow the `Setup for Source Code via pip ` to install mindsdb. +Follow the `Setup for Source Code via pip `_ to install mindsdb. .. note:: @@ -49,16 +47,16 @@ Follow the `Setup for Source Code via pip