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
Describe the bug
I attempted to test the performance of bert-large-uncased on the Winogender task using JIANT. For this purpose, I utilized a straightforward code snippet to conduct the experiment. However, during execution, I encountered an assertion error. My hunch is that this error may have resulted from an update that potentially disrupted the compatibility with the dataset.
To Reproduce
I used the latest version of the library available on pip (which I believe is version 2.2.0)
Expected behavior
The code should run without any assertion errors and evaluate the bert-large-uncased model on the Winogender task.
Actual Behavior:
The code throws an assertion error, preventing successful evaluation.
Traceback (most recent call last):
File "test.py", line 40, in <module>
args = simple_run.RunConfiguration.from_json_path(os.path.join(EXP_DIR, "runs", RUN_NAME, "simple_run_config.json"))
File "/home/zakizadeh/.conda/envs/effectiveness/lib/python3.7/site-packages/jiant/utils/zconf/core.py", line 121, in from_json_path
return cls.from_json(f.read())
File "/home/zakizadeh/.conda/envs/effectiveness/lib/python3.7/site-packages/jiant/utils/zconf/core.py", line 116, in from_json
return cls(**json.loads(json_string))
File "<attrs generated init jiant.proj.simple.runscript.RunConfiguration>", line 39, in __init__
File "/home/zakizadeh/.conda/envs/effectiveness/lib/python3.7/site-packages/jiant/utils/zconf/core.py", line 284, in __attrs_post_init__
self._post_init()
File "/home/zakizadeh/.conda/envs/effectiveness/lib/python3.7/site-packages/jiant/proj/simple/runscript.py", line 85, in _post_init
), "Tasks must be same as train_tasks/val_tasks/test_tasks if both are present"
AssertionError: Tasks must be same as train_tasks/val_tasks/test_tasks if both are present
The text was updated successfully, but these errors were encountered:
Describe the bug
I attempted to test the performance of bert-large-uncased on the Winogender task using JIANT. For this purpose, I utilized a straightforward code snippet to conduct the experiment. However, during execution, I encountered an assertion error. My hunch is that this error may have resulted from an update that potentially disrupted the compatibility with the dataset.
To Reproduce
Expected behavior
The code should run without any assertion errors and evaluate the
bert-large-uncased
model on the Winogender task.Actual Behavior:
The code throws an assertion error, preventing successful evaluation.
The text was updated successfully, but these errors were encountered: