Training on new data in scierc format
Kehindeajayi01 opened this issue · 8 comments
Hi,
Can you please attach a minimal example (ideally a single line from a jsonl
file) that reproduces this error, along with the model training command you use to start training?
Dave
Sorry for the slow response.
Could you include the example as a file attachment rather than as a screenshot?
Sorry for the slow response. Could you include the example as a file attachment rather than as a screenshot?
Please find the attached for the requested file.
Thanks
In your example, one of your relations
has value [109, 109, null, null, "has_unit"]
. The code is breaking due to the presence of null
values. See data.md on the required format for input data.
I'll close this. Feel free to re-open if this doesn't solve your problem.
In your example, one of your
relations
has value[109, 109, null, null, "has_unit"]
. The code is breaking due to the presence ofnull
values. See data.md on the required format for input data.
The null were introduced by your brat_input.py script when I used it to convert the brat format to your format
Ah I see, sorry for closing prematurely.
brat_to_input.py
was added by a contributor; more info here. I unfortunately can't offer support, but maybe @serenalotreck can help?