jzbjyb / FLARE

Forward-Looking Active REtrieval-augmented generation (FLARE)
MIT License
545 stars 50 forks source link

can I use open source model like llama, mistral from huggingface ecosystem #12

Open nps798 opened 8 months ago

nps798 commented 8 months ago

as title. thanks

2282588541a commented 5 months ago

Hello, I attempt to solve this by using https://github.com/xusenlinzy/api-for-open-llm this project,but this project use openai.completion api and this response contains completion.choices[0].logprobs.I think most open LLM don't have api to give the answer for this parameter,So using the openllm project will return null for the logprobs.which will make mistake . So ,I think most open llm will not work well