nikhilkomakula commited on
Commit
184845d
·
1 Parent(s): d53e3dd

Updated Dockerfile and Readme

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. README.md +7 -0
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.11.5-slim
2
 
3
  # Set the working directory to /code
4
  WORKDIR /code
 
1
+ FROM python:3.11.9-slim
2
 
3
  # Set the working directory to /code
4
  WORKDIR /code
README.md CHANGED
@@ -188,6 +188,13 @@ sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')
188
 
189
  **Note:** If running locally for Streamlit UI interace and if you hit any errors with `pysqlite3`, try removing whatever that is mentioned above.
190
 
 
 
 
 
 
 
 
191
  ## Enhancements:
192
 
193
  * Different advanced retrieval methods could be used.
 
188
 
189
  **Note:** If running locally for Streamlit UI interace and if you hit any errors with `pysqlite3`, try removing whatever that is mentioned above.
190
 
191
+ ## Hugging Face Docker Space Deployment:
192
+
193
+ * On Hugging Face Docker Space, while installing dependencies, it fails due to dependency conflict. To resolve that, exclude `deepeval` from dependencies and comment out the below listed statements in `eval_rag.py`:
194
+ * `from src.test.eval_custom_model import LLM, eval_rag_metrics`
195
+ * `eval_custom_model = LLM(model_name=EVAL_LLM_NAME, model=hf_eval_llm)`
196
+ * `metrics = eval_rag_metrics(eval_custom_model, question, answer, context)` (set to blank)
197
+
198
  ## Enhancements:
199
 
200
  * Different advanced retrieval methods could be used.