Originally created by @LifeNT on GitHub (Feb 5, 2025).
"I encountered the following issue when using Open-webui version 0.5.9: I am using the ollama model 'linux6200/bge-reranker-v2-m3:latest' and 'linux6200/bge-reranker-v2-m3:latest', but Open-webui still shows the following error, saying that my model name is invalid?"
ERROR [open_webui.retrieval.utils] Cannot determine model snapshot path: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'linux6200/bge-reranker-v2-m3:latest'.
Traceback (most recent call last):
File "C:\python\Lib\site-packages\open_webui\retrieval\utils.py", line 425, in get_model_path
model_repo_path = snapshot_download(**snapshot_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python\Lib\site-packages\huggingface_hub\utils_validators.py", line 106, in inner_fn
validate_repo_id(arg_value)
File "C:\python\Lib\site-packages\huggingface_hub\utils_validators.py", line 160, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'linux6200/bge-reranker-v2-m3:latest'.
ERROR [open_webui.routers.retrieval] CrossEncoder error
ERROR [open_webui.main] Error updating models: [ERROR: CrossEncoder error]
Originally created by @LifeNT on GitHub (Feb 5, 2025).
"I encountered the following issue when using Open-webui version 0.5.9: I am using the ollama model 'linux6200/bge-reranker-v2-m3:latest' and 'linux6200/bge-reranker-v2-m3:latest', but Open-webui still shows the following error, saying that my model name is invalid?"
ERROR [open_webui.retrieval.utils] Cannot determine model snapshot path: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'linux6200/bge-reranker-v2-m3:latest'.
Traceback (most recent call last):
File "C:\python\Lib\site-packages\open_webui\retrieval\utils.py", line 425, in get_model_path
model_repo_path = snapshot_download(**snapshot_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python\Lib\site-packages\huggingface_hub\utils\_validators.py", line 106, in _inner_fn
validate_repo_id(arg_value)
File "C:\python\Lib\site-packages\huggingface_hub\utils\_validators.py", line 160, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'linux6200/bge-reranker-v2-m3:latest'.
ERROR [open_webui.routers.retrieval] CrossEncoder error
ERROR [open_webui.main] Error updating models: [ERROR: CrossEncoder error]
@thiswillbeyourgithub commented on GitHub (Feb 5, 2025):
Looking at it is seems that openwebui is thinking you are not inputing an ollama model name but a hugging face model name, which are not supposed to contain ":" like ":latest". I don't know the reason but that might help.
@thiswillbeyourgithub commented on GitHub (Feb 5, 2025):
Looking at it is seems that openwebui is thinking you are not inputing an ollama model name but a hugging face model name, which are not supposed to contain ":" like ":latest". I don't know the reason but that might help.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @LifeNT on GitHub (Feb 5, 2025).
"I encountered the following issue when using Open-webui version 0.5.9: I am using the ollama model 'linux6200/bge-reranker-v2-m3:latest' and 'linux6200/bge-reranker-v2-m3:latest', but Open-webui still shows the following error, saying that my model name is invalid?"
ERROR [open_webui.retrieval.utils] Cannot determine model snapshot path: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'linux6200/bge-reranker-v2-m3:latest'.
Traceback (most recent call last):
File "C:\python\Lib\site-packages\open_webui\retrieval\utils.py", line 425, in get_model_path
model_repo_path = snapshot_download(**snapshot_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python\Lib\site-packages\huggingface_hub\utils_validators.py", line 106, in inner_fn
validate_repo_id(arg_value)
File "C:\python\Lib\site-packages\huggingface_hub\utils_validators.py", line 160, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'linux6200/bge-reranker-v2-m3:latest'.
ERROR [open_webui.routers.retrieval] CrossEncoder error
ERROR [open_webui.main] Error updating models: [ERROR: CrossEncoder error]
@thiswillbeyourgithub commented on GitHub (Feb 5, 2025):
Looking at it is seems that openwebui is thinking you are not inputing an ollama model name but a hugging face model name, which are not supposed to contain ":" like ":latest". I don't know the reason but that might help.
@LifeNT commented on GitHub (Feb 5, 2025):
I think open-webui right now not support ollama reranker models