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

ValueError: BuilderConfig 'terra' not found. Available: ['default'] #1687

Open
v-urushkin opened this issue May 5, 2024 · 0 comments
Open
Labels

Comments

@v-urushkin
Copy link

DeepPavlov version: Version: 1.6.0

Python version: Python 3.9.8

Libs versions:

  • torch 1.13.1
  • transformers 4.30.0
  • datasets 2.19.0
  • fsspec 2024.3.1

Operating system: macOS 12.7.2

Issue:
I try to train my own model to TERRA from Russian SuperGlue. I changed BASE_MODEL to path to my own pretrained model in deeppavlov/configs/russian_super_glue/russian_superglue_terra_rubert.json and run

python -m deeppavlov train russian_superglue_terra_rubert

And I got this Error.

Content or a name of a configuration file:

deeppavlov/configs/russian_super_glue/russian_superglue_terra_rubert.json

Command that led to error:

python -m deeppavlov train russian_superglue_terra_rubert

Error (including full traceback):

File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/XXX/Documents/maga research/disser/randRoberta_dp/deeppavlov/__main__.py", line 4, in <module>
    main()
  File "/Users/XXX/Documents/maga research/disser/randRoberta_dp/deeppavlov/deep.py", line 67, in main
    train_evaluate_model_from_config(pipeline_config_path,
  File "/Users/XXX/Documents/maga research/disser/randRoberta_dp/deeppavlov/core/commands/train.py", line 94, in train_evaluate_model_from_config
    data = read_data_by_config(config)
  File "/Users/XXX/Documents/maga research/disser/randRoberta_dp/deeppavlov/core/commands/train.py", line 58, in read_data_by_config
    return reader.read(**reader_config)
  File "/Users/XXX/Documents/maga research/disser/randRoberta_dp/deeppavlov/dataset_readers/huggingface_dataset_reader.py", line 72, in read
    dataset = load_dataset(path=path, name=name, split=list(split_mapping.values()), **kwargs)
  File "/Users/XXX/Documents/PythonEnvs/deeppvlv/lib/python3.9/site-packages/datasets/load.py", line 2587, in load_dataset
    builder_instance = load_dataset_builder(
  File "/Users/XXX/Documents/PythonEnvs/deeppvlv/lib/python3.9/site-packages/datasets/load.py", line 2296, in load_dataset_builder
    builder_instance: DatasetBuilder = builder_cls(
  File "/Users/XXX/Documents/PythonEnvs/deeppvlv/lib/python3.9/site-packages/datasets/builder.py", line 374, in __init__
    self.config, self.config_id = self._create_builder_config(
  File "/Users/XXX/Documents/PythonEnvs/deeppvlv/lib/python3.9/site-packages/datasets/builder.py", line 599, in _create_builder_config
    raise ValueError(
ValueError: BuilderConfig 'terra' not found. Available: ['default']
@v-urushkin v-urushkin added the bug label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant