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 huggingface handler #618

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nkcheng255
Copy link

Add huggingface handler for BFCL.

Test: TBD

@HuanzhiMao
Copy link
Collaborator

Thank you for the PR and welcome! We’re currently busy with a new dataset release. I’ll review your submission later this week and aim to provide feedback by next Monday. Apologies for the delay.


def inference(self, prompt, functions, test_category):
# Move it here so eval checker can run w/o instantiating API key since we don't use it at that point
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessary. eval_checker can run without the OpenAI API keys. If OPENAI_API_KEY is not supplied, it would just be None and won't break the evaluation pipeline.

@@ -0,0 +1 @@
log.txt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be removed.

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.

3 participants