HumanSignal / label-studio-converter

Tools for converting Label Studio annotations into common dataset formats
https://labelstud.io/
255 stars 132 forks source link

Support SQuADv2 format for QA annotations (import & export) #111

Open joshuaeckroth opened 2 years ago

joshuaeckroth commented 2 years ago

Format description: https://huggingface.co/datasets/squad_v2

makseq commented 2 years ago

Thanks for your feature request, we will discuss this with the team.

joshuaeckroth commented 2 years ago

Thanks. It strikes me SQuADv1 format is best because label-studio doesn't have a native way to say "no answer".

https://huggingface.co/datasets/squad

makseq commented 2 years ago

In LS you can keep annotation.result empty, doesn't it work for you? In this case LS exports the result witn empty array:

result: [ ]