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
We are trying to reproduce the experiments for the paper Comparing Test Sets with Item Response Theory, and we were following the workflow mentioned in this README for the preprocessing of datasets, training models, generating responses, etc. We have successfully trained most of the models at our end, but now facing an issue while getting predictions from those models.
To Reproduce
jiant version: 2.1.4
Environment: A100 40GB
We ran the call_predict script. We did not find any sb_predict_results.sbatch file, and changed L21 to call the run_predict_results.sbatch file instead. For example, the exact command we ran for copa and for bert-base-cased model is:
python jiant/irt_scripts/call_predict.py bert-base-cased copa $(pwd)
This produced the following error:
pre args = Namespace(ZZoverrides=['model_path'], ZZsrc=None)
Traceback (most recent call last):
File "/dccstor/irlirteval/irt/jiant/jiant/proj/main/runscript.py", line 256, in <module>
main()
File "/dccstor/irlirteval/irt/jiant/jiant/proj/main/runscript.py", line 246, in main
run_loop(RunConfiguration.default_run_cli(cl_args=cl_args))
File "/dccstor/irlirteval/irt/jiant/jiant/utils/zconf/core.py", line 237, in default_run_cli
return cls.run_cli_json_prepend(cl_args=cl_args, prog=prog, description=description)
File "/dccstor/irlirteval/irt/jiant/jiant/utils/zconf/core.py", line 174, in run_cli_json_prepend
result = cls.run_from_parser_json_prepend(parser=parser, cl_args=cl_args)
File "/dccstor/irlirteval/irt/jiant/jiant/utils/zconf/core.py", line 217, in run_from_parser_json_prepend
assert pre_args.ZZoverrides is None
AssertionError
An attempt to fix
We tried to fix the zzoverrides error by modifying the run_predict_results.sbatch as follows:
instead of this code block. This time it produced empty predictions.
Expected behavior
Prediction files (.p) in experiments/predict_files/ folder, so that we could run the post-processing command python jiant/irt_scripts/postprocess_predictions.py $(pwd).
The text was updated successfully, but these errors were encountered:
Describe the bug
We are trying to reproduce the experiments for the paper Comparing Test Sets with Item Response Theory, and we were following the workflow mentioned in this README for the preprocessing of datasets, training models, generating responses, etc. We have successfully trained most of the models at our end, but now facing an issue while getting predictions from those models.
To Reproduce
jiant
version:2.1.4
A100 40GB
We ran the call_predict script. We did not find any
sb_predict_results.sbatch
file, and changed L21 to call therun_predict_results.sbatch
file instead. For example, the exact command we ran forcopa
and forbert-base-cased
model is:This produced the following error:
An attempt to fix
We tried to fix the
zzoverrides
error by modifying therun_predict_results.sbatch
as follows:instead of this code block. This time it produced empty predictions.
Expected behavior
Prediction files (
.p
) inexperiments/predict_files/
folder, so that we could run the post-processing commandpython jiant/irt_scripts/postprocess_predictions.py $(pwd)
.The text was updated successfully, but these errors were encountered: