Skip to content

jsonnet_evaluate_file issue on branch allennlp-1.0 #66

@vdenberg

Description

@vdenberg

Hi,

When following the instructions in https://github.com/allenai/dont-stop-pretraining/blob/master/DATA_SELECTION.md, upon running the command ""python -m scripts.train --config training_config/vampire.jsonnet --serialization-dir model_logs/vampire-world --environment VAMPIRE --device 0 -o", I get the following error:

overriding model_logs/vampire-world
2021-03-30 17:05:56,684 - INFO - transformers.file_utils - PyTorch version 1.5.1 available.
Something went wrong during jsonnet_evaluate_file, please report this: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; last read: 'Z'
Aborted
Traceback (most recent call last):
File "/path/to/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/path/to/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/path/to//dont-stop-pretraining/vampire/scripts/train.py", line 89, in
main()
File "/path/to/dont-stop-pretraining/vampire/scripts/train.py", line 85, in main
subprocess.run(" ".join(allennlp_command), shell=True, check=True)
File "/path/to/python3.7/subprocess.py", line 468, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'allennlp train --include-package vampire training_config/vampire.jsonnet -s model_logs/vampire-world' returned non-zero exit status 134.

I notice this is the same error as issue #65.

I also notice training works if I use the master branch, so this seems to be an issue related to the branch the DSP DATA_SELECTION.md requires.

Could you perhaps help out with this? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions