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

Move serialization outside autolabel #929

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

DhruvaBansal00
Copy link
Contributor

No description provided.

Comment on lines +315 to 317
llm_label[k] = v
else:
llm_label[k] = str(v)
Copy link
Contributor

Choose a reason for hiding this comment

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

should we just get rid of this branching ? why str(v) in other cases?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for cases when the value is a float or integer.

@DhruvaBansal00 DhruvaBansal00 merged commit 3561097 into main Nov 1, 2024
2 checks passed
@DhruvaBansal00 DhruvaBansal00 deleted the serialization-changes branch November 1, 2024 00:31
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