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

意图识别报错! #290

Open
cristianohello opened this issue Sep 12, 2024 · 0 comments
Open

意图识别报错! #290

cristianohello opened this issue Sep 12, 2024 · 0 comments

Comments

@cristianohello
Copy link

Traceback (most recent call last):
File "Dbgpt-hub-nlu\main_train.py", line 342, in
main()
File "Dmain\src\dbgpt-hub-nlu\main_train.py", line 313, in main
input_dim, num_classes, label_features, dataset = _load_dataset(
File "D:\igpt-hub-nlu\main_train.py", line 65, in load_dataset
ds = load_dataset(data_args.get_dataset_path())
File "D\dbgpt_hub\lib\site-packages\datasets\load.py", line 2074, in load_dataset
builder_instance = load_dataset_builder(
File "D:\bgpt_hub\lib\site-packages\datasets\load.py", line 1830, in load_dataset_builder
builder_cls = get_dataset_builder_class(dataset_module, dataset_name=dataset_name)
File "D:\gpt_hub\lib\site-packages\datasets\load.py", line 241, in get_dataset_builder_class
builder_cls = import_main_class(dataset_module.module_path)
File "D:\apt_hub\lib\site-packages\datasets\load.py", line 162, in import_main_class
module = importlib.import_module(module_path)
File "D:\bgpt_hub\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\datasets\financial_report\47125808e1263438a822bc1c7c3df7d90d747d6cc14d2b9b473a4e194cb5c3f0\financial_report.py", line 5, in
from datasets.tasks import TextClassification
ModuleNotFoundError: No module named 'datasets.tasks'

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