Skip to content

How to use tiiuae/falcon-7b inside PromptNode ? #5100

Answered by bilgeyucel
Jofthomas asked this question in Questions
Discussion options

You must be logged in to vote

Hey @Jofthomas, this issue should be fixed with #4956. This will be released with the next version (v1.18). Till then, what you can do are:

  • Install Haystack from the main branch
    or
  • Use HF Inference API by passing the token from Hugging Face to the PromptNode. The model wont be downloaded
prompt_node = PromptNode(model_name="tiiuae/falcon-7b", api_key=hf_token)

A colab nb for details: https://colab.research.google.com/drive/14eCExjX2rzQbaiE3FeLXMQR7WcXDV6aQ?usp=sharing

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Jofthomas
Comment options

Answer selected by Jofthomas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants