Closed Sofyan-fcomte closed 1 year ago
Hello Sofyan-fcomte,
Unfortunately, there isn't a direct converter to transform Label Studio JSON files with relation annotations into spaCy binary format. However, you can create a custom script to convert the Label Studio JSON annotations to a format that spaCy can understand for relation extraction.
Here's a high-level outline of the steps you can follow:
Keep in mind that this process requires some programming skills, and you might need to adjust it based on your specific project requirements.
Is there a converter somewhere that can be used to turn JSON Label Studio files into Spacy binary file format ? I've been working on Label Studio for a while and I didn't expect to hit this roadblock... I urgently need some sort of converter for a relation extraction project. For context, I'm talking about Spacy's custom relation extraction component : https://youtu.be/8HL-Ap5_Axo While Label Studio's documentation shows that annotations for NER can be converted to Spacy binary format if they are exported as CONLL2003 files, the CONLL2003 format doesn't capture the annotated relations.
Is there a solution or work around to this problem ?