Skip to content

Commit

Permalink
Update hugginface-hub version (#2678)
Browse files Browse the repository at this point in the history
CVS-159003
  • Loading branch information
aleksandr-mokrov authored Jan 21, 2025
1 parent aa0f43c commit 68aa665
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 3 additions & 5 deletions notebooks/llm-agent-react/llm-agent-rag-llamaindex.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,12 @@
" \"--extra-index-url\",\n",
" \"https://download.pytorch.org/whl/cpu\",\n",
" \"llama-index\",\n",
" \"llama-index-llms-huggingface==0.3.3\", # pin to keep compatibility due to https://github.com/run-llama/llama_index/commit/f037de8d0471b37f9c4069ebef5dfb329633d2c6\n",
" \"llama-index-readers-file\",\n",
" \"llama-index-core\",\n",
" \"llama-index-llms-huggingface\",\n",
" \"llama-index-embeddings-huggingface\",\n",
" \"transformers>=4.43.1\",\n",
" \"llama-index-llms-huggingface>=0.3.0,<0.3.4\",\n",
" \"llama-index-embeddings-huggingface>=0.3.0\",\n",
" \"llama-index-llms-huggingface>=0.4.0,<0.5.0\",\n",
" \"llama-index-embeddings-huggingface>=0.4.0,<0.5.0\",\n",
" \"huggingface-hub>=0.26.5\",\n",
")\n",
"pip_install(\"-q\", \"git+https://github.com/huggingface/optimum-intel.git\", \"git+https://github.com/openvinotoolkit/nncf.git\", \"datasets\", \"accelerate\")\n",
"pip_install(\"--pre\", \"-Uq\", \"openvino>=2024.2.0\", \"--extra-index-url\", \"https://storage.openvinotoolkit.org/simple/wheels/nightly\")\n",
Expand Down
5 changes: 3 additions & 2 deletions notebooks/llm-rag-llamaindex/llm-rag-llamaindex.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@
" \"llama-index-readers-file\",\n",
" \"llama-index-vector-stores-faiss\",\n",
" \"llama-index-llms-langchain\",\n",
" \"llama-index-llms-huggingface>=0.3.0,<0.3.4\",\n",
" \"llama-index-embeddings-huggingface>=0.3.0\",\n",
" \"llama-index-llms-huggingface>=0.4.0,<0.5.0\",\n",
" \"llama-index-embeddings-huggingface>=0.4.0,<0.5.0\",\n",
" \"huggingface-hub>=0.26.5\",\n",
")\n",
"pip_install(\"-q\", \"git+https://github.com/huggingface/optimum-intel.git\", \"git+https://github.com/openvinotoolkit/nncf.git\", \"datasets\", \"accelerate\", \"gradio\")\n",
"pip_install(\"--pre\", \"-U\", \"openvino>=2024.2\", \"--extra-index-url\", \"https://storage.openvinotoolkit.org/simple/wheels/nightly\")\n",
Expand Down

0 comments on commit 68aa665

Please sign in to comment.