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

obvious characters that are very common on huggingface not allowed #1419

Closed
jonabert opened this issue Jun 12, 2024 · 2 comments
Closed

obvious characters that are very common on huggingface not allowed #1419

jonabert opened this issue Jun 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jonabert
Copy link

🐛 Describe the bug

/home/jonathan/anaconda3/envs/embedch/lib/python3.12/site-packages/langchain_core/api/deprecation.py:119: LangChainDeprecationWarning: The class HuggingFaceHub was deprecated in LangChain 0.0.21 and will be removed in 0.3.0. Use HuggingFaceEndpoint instead.
warn_deprecated(
Error during chat: 1 validation error for HuggingFaceHub
root
Repo id must use alphanumeric chars or '-', '
', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'Mistral-7B-v0.1:latest'. (type=value_error.hfvalidation)

@Dev-Khant Dev-Khant added the bug Something isn't working label Jun 13, 2024
@Dev-Khant
Copy link
Collaborator

@jonabert Please can you try upgrading huggingface_hub pip install --upgrade huggingface_hub and let us know if it works?

@jonabert
Copy link
Author

works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants