• Resolved abulu

    (@abulu)


    Hi,

    With huggingface models (any model) I get a same error message.

    From HuggingFace: {“error”:”You need to specify either text or text_target.”,”warnings”:[“There was an inference error: You need to specify either text or text_target.”]}

    All models same error.

    Plugin is works without any problem using OpenAI.

    How can I fix this?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Unfortunately, it really depends on the model. For me, it’s working perfectly with Nous-Hermes-2-Mixtral-8x7B-DPO, but it doesn’t work for gemma-7b, for example. I don’t get the error messages you got, they are actually quite odd and don’t really make sense since Hugging Face is supposed to use the same API as OpenAI; I think everything they do on the API-side is unfortunately extremely beta still.

    I suggest you try to get in touch with them to get more information about those errors. I would love to work with them better; I tried to contact them but they never replied.

    Thread Starter abulu

    (@abulu)

    Thank you for your reply, sir.

    Blurazor

    (@blurazor)

    Hi, I am getting the error “AI Engine: No environment found for type (Array) when using Hugging Face model: Nous-Hermes-2-Mixtral-8x7B-DPO (or any models from Hugging Face for that matter).

    May I know if I have missed out on some settings? I have followed the instruction to retrieve the API_URL, which in this case is “https://api-inference.huggingface.co/models/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO”. Is this correct?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hugging Face Problem’ is closed to new replies.