Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llama_index.llms no longer exists #3

Open
ad-vercel opened this issue Feb 19, 2024 · 3 comments
Open

llama_index.llms no longer exists #3

ad-vercel opened this issue Feb 19, 2024 · 3 comments

Comments

@ad-vercel
Copy link

Hi Krish,

This is a great tutorial, but I'm getting stuck because this line errors:

from llama_index.llms import HuggingFaceLLM

This is a known issue -- llms module is no longer supported by LlamaIndex: run-llama/llama_index#10670.

Were you able to work around it? The solution provided in their git issue (reinstalling: !pip install llama-index-llms-huggingface) did nothing when I tried it -- all packages are satisfied. I don't know why it would work with no instruction to downgrade versions.

Arthur

@JeraldPeter
Copy link

In the demo 0.9.40 llama_index verision used. Replace the command to "!pip install llama_index==0.9.40". It will work .

@Sohammhatre10
Copy link

@ad-vercel
from llama_index.llms.huggingface import HuggingFaceLLM
this should work

@mgupta70
Copy link

mgupta70 commented Dec 13, 2024

@ad-vercel
I checked the official llamindex website: here
If you run the below cell in cmd, you will be good to go:
pip install llama-index-llms-huggingface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants