Open bcarvalho-via opened 7 months ago
Thanks Bruno. What task were you evaluating? I get this error when I run it with lambada_openai: NotImplementedError: No support for logits. I've heard that the azure code slightly lag the openai code so may not be surprise that something hasn't been implemented yet
wow its wonderful
vote for this!!
This OpenaiChatCompletionsLM has not been defined and needs to be rewritten? @bcarvalho-via
Apparently Azure OpenAI deployed models can't be reached with the
openai.OpenAI
client instead it requires theopenai.AzureOpenAI
client which has a slightly different interface (see link for further details).I was able to do what I needed by adding this rough solution in the "lm_eval/models/openai_completions.py":
Therefore, I believe that a more general/better thought solution won't require much effort.