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

How to Use a Local Model When Calling the Python API #294

Closed
WCSY-YG opened this issue Nov 18, 2024 · 3 comments
Closed

How to Use a Local Model When Calling the Python API #294

WCSY-YG opened this issue Nov 18, 2024 · 3 comments

Comments

@WCSY-YG
Copy link

WCSY-YG commented Nov 18, 2024

image

@IlyasMoutawwakil
Copy link
Member

you need to specify the task and library manually, we don't officially support or test local models so happy to review a PR making it more robust (through testing or explicit error handling).

@IlyasMoutawwakil
Copy link
Member

it seems that huggingface_hub.repo_exists raises an error if the passed argument is not of the form user_namespace/repo_name.

@IlyasMoutawwakil
Copy link
Member

I fixed it in #299

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

No branches or pull requests

2 participants