doccano / doccano

Open source annotation tool for machine learning practitioners.
MIT License
9.53k stars 1.72k forks source link

is there any example for Auto Labeling "Sequence Labeling" about "span and Relation" #2052

Open zchengzhong opened 1 year ago

zchengzhong commented 1 year ago

hello,is there any example for Auto Labeling --> "Sequence Labeling" about "Labels --> span " and "Labels --> Relation "

for example ,my flask serving result is :

[ { "思维模型": [ { "end": 220, "probability": 0.44249538834508684, "start": 218, "text": "承诺" }, { "end": 178, "probability": 0.6102734098790492, "relations": { "关联模型": [ { "end": 165, "probability": 0.925864408949618, "start": 160, "text": "帕累托法则" } ] }, "start": 174, "text": "二八定律" }, { "end": 249, "probability": 0.4878372061543246, "relations": { "关联模型": [ { "end": 242, "probability": 0.9873120719339603, "start": 238, "text": "定期评估" } ], "所属用途": [ { "end": 242, "probability": 0.6598692713587653, "start": 238, "text": "定期评估" } ] ] }, "start": 245, "text": "损失规避" } ] } ] how can i write Mapping template for Labels 's span and Relation?

image

github-actions[bot] commented 1 year ago

Would you write your environment? Thank you!

zchengzhong commented 1 year ago

any one can help me?

DataXujing commented 1 year ago

I have the same problem....