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

Mixtral 8x7B with Hugging Face TGI for Web QA notebook #63

Closed
silvacarl2 opened this issue Mar 11, 2024 · 0 comments · Fixed by #71
Closed

Mixtral 8x7B with Hugging Face TGI for Web QA notebook #63

silvacarl2 opened this issue Mar 11, 2024 · 0 comments · Fixed by #71

Comments

@silvacarl2
Copy link

one error that was easy to fix is this:

change mistralai/Mistral-7B-Instruct-v0.1 to mistralai/Mistral-7B-Instruct-v0.2

but not sure whats up with this error?


ImportError Traceback (most recent call last)
in <cell line: 5>()
3 from haystack.components.preprocessors import DocumentSplitter
4 from haystack.components.rankers import TransformersSimilarityRanker
----> 5 from haystack.components.generators import GPTGenerator
6 from haystack.components.builders.prompt_builder import PromptBuilder
7 from haystack import Pipeline

ImportError: cannot import name 'GPTGenerator' from 'haystack.components.generators' (/usr/local/lib/python3.10/dist-packages/haystack/components/generators/init.py)

kuzcotopiallm added a commit to kuzcotopiallm/haystack-cookbook that referenced this issue Mar 24, 2024
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

Successfully merging a pull request may close this issue.

1 participant