Spaces:
Running
Running
Deepak Sahu
commited on
Commit
·
2582bfd
1
Parent(s):
ea38284
checking toc update
Browse files
README.md
CHANGED
@@ -17,12 +17,23 @@ Try it out: https://huggingface.co/spaces/LunaticMaestro/book-recommender
|
|
17 |
|
18 |

|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## Libraries installed separately
|
21 |
|
22 |
I used google colab with following libraries extra.
|
23 |
|
24 |
```SH
|
25 |
-
pip install
|
26 |
```
|
27 |
|
28 |
## Training Steps
|
|
|
17 |
|
18 |

|
19 |
|
20 |
+
## Table of Content
|
21 |
+
|
22 |
+
- [Running Inference Locally](#libraries-execution)
|
23 |
+
- Pipeline walkthrough in detail
|
24 |
+
|
25 |
+
*For each part of pipeline there is separate script which needs to be executed, mentione in respective section along with output screenshots.*
|
26 |
+
- Training
|
27 |
+
- [Step 1: Data Clean](#step-1-data-clean)
|
28 |
+
|
29 |
+
## Local Execution
|
30 |
+
|
31 |
## Libraries installed separately
|
32 |
|
33 |
I used google colab with following libraries extra.
|
34 |
|
35 |
```SH
|
36 |
+
pip install sentence-transformers datasets
|
37 |
```
|
38 |
|
39 |
## Training Steps
|
app.py
CHANGED
@@ -16,7 +16,7 @@ GRADIO_TITLE = "Content Based Book Recommender"
|
|
16 |
GRADIO_DESCRIPTION = '''
|
17 |
This is a [HyDE](https://arxiv.org/abs/2212.10496) based searching mechanism that generates random summaries using your input book title and matches books which has summary similary to generated ones. The books, for search, are used from used [Kaggle Dataset: arpansri/books-summary](https://www.kaggle.com/datasets/arpansri/books-summary)
|
18 |
|
19 |
-
**Should take ~15s to
|
20 |
'''
|
21 |
|
22 |
# Caching mechanism for gradio
|
|
|
16 |
GRADIO_DESCRIPTION = '''
|
17 |
This is a [HyDE](https://arxiv.org/abs/2212.10496) based searching mechanism that generates random summaries using your input book title and matches books which has summary similary to generated ones. The books, for search, are used from used [Kaggle Dataset: arpansri/books-summary](https://www.kaggle.com/datasets/arpansri/books-summary)
|
18 |
|
19 |
+
**Should take ~ 15s to 30s** for inferencing.
|
20 |
'''
|
21 |
|
22 |
# Caching mechanism for gradio
|