You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-09-23:13:02:51,389 WARNING [task.py:337] [Task: glianorex_en] has_training_docs and has_validation_docs are False, using test_docs as fewshot_docs but this is not recommended.
Traceback (most recent call last):
File "/Users/cxrh/miniconda3/bin/lm_eval", line 8, in <module>
sys.exit(cli_evaluate())
^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/__main__.py", line 382, in cli_evaluate
results = evaluator.simple_evaluate(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/utils.py", line 397, in _wrapper
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/evaluator.py", line 232, in simple_evaluate
task_dict = get_task_dict(tasks, task_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 618, in get_task_dict
task_name_from_string_dict = task_manager.load_task_or_group(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 410, in load_task_or_group
collections.ChainMap(*map(self._load_individual_task_or_group, task_list))
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 310, in _load_individual_task_or_group
return _load_task(task_config, task=name_or_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/tasks/__init__.py", line 276, in _load_task
task_object = ConfigurableTask(config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/api/task.py", line 850, in __init__
if self.fewshot_docs() is not None:
^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/api/task.py", line 999, in fewshot_docs
return super().fewshot_docs()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/api/task.py", line 341, in fewshot_docs
return self.test_docs()
^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/lm_eval/api/task.py", line 972, in test_docs
return self.config.process_docs(self.dataset[self.config.test_split])
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cxrh/miniconda3/lib/python3.11/site-packages/datasets/dataset_dict.py", line 74, in __getitem__
return super().__getitem__(k)
^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'train'
The text was updated successfully, but these errors were encountered:
This is with
lm_eval==0.4.4
andtransformers==4.44.2
.CLI:
Error:
The text was updated successfully, but these errors were encountered: