deepstruct
deepstruct copied to clipboard
Shell command for inference on raw data
Hi,
Thanks for your paper, it's really impressive. Could you pls tell what is the shell script command to run inference on raw data?
Thanks in advance. Best wishes.
@RajNS02 Did you manage to make it work?
Thank you for your attention. There is currently no direct shell command for inference on raw data, as different structure prediction tasks have different input-output formats and evaluation measures. If you want to run inference on custom data, you need to:
- Define how the task data should be loaded and serialized in
src/data_processing/datasets.py
. BothTASK_MAPPING
and the task class. - Add the task config in
src/data_processing/config.ini
. - If you need to evaluate, define the task's evaluation measures in
src/glm/evaluate.py
. - Use the
manager.py
to inference. Examples are undersrc/tasks/mt
.