How to convert .ann (brat annotated) files to binary spacy files

Hi!

I am trying to perform relation extraction using Hugging face thinc library of spacy. I have a relation annotated file from brat .ann. I wanted to know how to convert it to .spacy binary file such that it can be used to perform relation extraction task.

This seems to be a question about a non-Prodigy labelling tool and how to get the data into spaCy. A quick search online yielded this repo but I've never used it.

If you have questions that are more related to spaCy you may have better luck if you reach out on the spaCy discussions forum on GitHub. There might be some community members with more experience that can help you out.

Alright Thanks :slight_smile: !!