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

Huggingface Hub integration #3033

Merged
merged 3 commits into from
May 2, 2024
Merged

Huggingface Hub integration #3033

merged 3 commits into from
May 2, 2024

Conversation

colin-sentry
Copy link
Member

@colin-sentry colin-sentry commented Apr 30, 2024

Adds integration for Huggingface Hub.

Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

looks good! 🔥

@@ -63,7 +63,7 @@ def count_tokens(s):

# To avoid double collecting tokens, we do *not* measure
# token counts for models for which we have an explicit integration
NO_COLLECT_TOKEN_MODELS = ["openai-chat"]
NO_COLLECT_TOKEN_MODELS = ["openai-chat"] # TODO add huggingface and anthropic
Copy link
Member

Choose a reason for hiding this comment

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

Why not adding huggingface now?

@antonpirker antonpirker enabled auto-merge (squash) May 2, 2024 11:23
@antonpirker antonpirker merged commit 41aa99b into master May 2, 2024
111 checks passed
@antonpirker antonpirker deleted the huggingface branch May 2, 2024 11:27
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

2 participants