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

Errors #14

Open
krraushan98 opened this issue Jul 1, 2024 · 0 comments
Open

Errors #14

krraushan98 opened this issue Jul 1, 2024 · 0 comments

Comments

@krraushan98
Copy link

File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\click\decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\flask\cli.py", line 912, in run_command
raise e from None
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\flask\cli.py", line 898, in run_command
app = info.load_app()
^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\flask\cli.py", line 309, in load_app
app = locate_app(import_name, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\flask\cli.py", line 219, in locate_app
import(module_name)
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\app.py", line 23, in
eng_swa_tokenizer = AutoTokenizer.from_pretrained("./model/eng_swa_model/")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\transformers\models\auto\tokenization_auto.py", line 718, in from_pretrained
tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\transformers\models\auto\tokenization_auto.py", line 550, in get_tokenizer_config
resolved_config_file = cached_file(
^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\transformers\utils\hub.py", line 430, in cached_file
resolved_file = hf_hub_download(
^^^^^^^^^^^^^^^^
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\huggingface_hub\utils_validators.py", line 106, in _inner_fn
validate_repo_id(arg_value)
File "C:\Users\raush\OneDrive\Desktop\chatboat\Mental-health-Chatbot\myvenv\Lib\site-packages\huggingface_hub\utils_validators.py", line 154, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './model/eng_swa_model/'. Use repo_type argument if needed.

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

1 participant