Spaces:
Running
Running
Deepak Sahu
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -13,6 +13,10 @@ short_description: A content based book recommender.
|
|
13 |
# Content-Based-Book-Recommender
|
14 |
A HyDE based approach for building recommendation engine.
|
15 |
|
|
|
|
|
|
|
|
|
16 |
## Libraries installed separately
|
17 |
|
18 |
I used google colab with following libraries extra.
|
@@ -156,7 +160,13 @@ The values of TOP_P and TOP_K (i.e. token sampling for our generator model) are
|
|
156 |
|
157 |
MRR = 0.311 implies that there's a good change that the target book will be in rank (1/.311) ~ 3 (third rank) **i.e. within top 5 recommendations**
|
158 |
|
159 |
-
## Inference
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
|
161 |
1. I rewrote the snippets from `z_evaluate.py` to `app.py` with minor changes to expriment with view.
|
162 |
2. DONT set `debug=True` for gradio in HF space, else it doesn't start.
|
|
|
13 |
# Content-Based-Book-Recommender
|
14 |
A HyDE based approach for building recommendation engine.
|
15 |
|
16 |
+
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.
|
|
|
160 |
|
161 |
MRR = 0.311 implies that there's a good change that the target book will be in rank (1/.311) ~ 3 (third rank) **i.e. within top 5 recommendations**
|
162 |
|
163 |
+
## Inference
|
164 |
+
|
165 |
+
`app.py` is written so that it can best work with gradio interface in the HuggingFace, althought you can try it out locally as well :)
|
166 |
+
|
167 |
+
```SH
|
168 |
+
python app.py
|
169 |
+
```
|
170 |
|
171 |
1. I rewrote the snippets from `z_evaluate.py` to `app.py` with minor changes to expriment with view.
|
172 |
2. DONT set `debug=True` for gradio in HF space, else it doesn't start.
|