Closed Kehindeajayi01 closed 2 years ago
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
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
This is the training command I used: bash scripts/train.sh scierc_lightweight
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
Hi dwadden, Thanks for the great work. I am trying to train your model on a new data that's in scierc format. I have used the brat_input.py to convert my .ann and .txt to scierc format. However when I ran the training script on my data, I got the error below: