Skip to content

How to prevent Haystack from prefixing URL for transformers in model path? #2050

Answered by ZanSara
asharm0662 asked this question in Questions
Discussion options

You must be logged in to vote

Hello @asharm0662, actually the issue you're observing comes straight from the transformer's library, which takes care of handling the models. I don't think we can help too much with it. I'd recommend:

  1. Checking the paths are correct
  2. Checking file permissions
  3. Have a look at the logs generated at startup and try to spot warnings from transformers (probably Haystack is not even noticing that there are issues finding the model, transformers seems to be handling it internally).

If you share the logs of you application I might be able to give you more hints.

Replies: 1 comment

Comment options

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