Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LogProbInferenceEngines API and implement for OpenAI #909

Merged
merged 13 commits into from
Jun 30, 2024
Merged

Conversation

lilacheden
Copy link
Member

  • add logprobs option
  • add data_classification_policy
  • fix return type to a list of strings as in other inference engines

…ix returned data

Signed-off-by: lilacheden <lilach.edel@gmail.com>
Signed-off-by: lilacheden <lilach.edel@gmail.com>
src/unitxt/inference.py Show resolved Hide resolved
yoavkatz and others added 5 commits June 16, 2024 15:11
to inference engine

Signed-off-by: Yoav Katz <katz@il.ibm.com>
Signed-off-by: lilacheden <lilach.edel@gmail.com>
Signed-off-by: lilacheden <lilach.edel@gmail.com>
src/unitxt/inference.py Outdated Show resolved Hide resolved
src/unitxt/inference.py Outdated Show resolved Hide resolved
@yoavkatz yoavkatz changed the title Enhance OpenAiInferenceEngine Adde LogProb option to InferenceEngines Jun 30, 2024
to avoid needing to define method of engines that don't support it.

Signed-off-by: Yoav Katz <katz@il.ibm.com>
@yoavkatz yoavkatz changed the title Adde LogProb option to InferenceEngines Add LogProbInferenceEngines API and implement for OpenAI Jun 30, 2024
@yoavkatz yoavkatz enabled auto-merge (squash) June 30, 2024 17:47
@yoavkatz yoavkatz merged commit 87c3802 into main Jun 30, 2024
8 checks passed
@yoavkatz yoavkatz deleted the eval_metrics2 branch June 30, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants