phi-2 and mpt-7b-instruct models not working?

#3
by kylekce - opened

I tried using the phi-2 and mpt-7b-instruct models with the Gradio app and on my own notebook, but both encountered errors.

Owner

Hi,

Both mpt-7b-instruct models work well for me. I encountered an issue with the phi-2 model, which requires a "trust_remote_code=True" argument. However, it seems that langchain HuggingFaceHub api doesn't handle such additional argument. Please see a related github issue below:
https://github.com/langchain-ai/langchain/issues/15141

Sign up or log in to comment