doccano的自动标注界面设置参数,没有那个Add,全是No data available解决办法:
访问 http://ip:port/v1/projects/1/auto-labeling/configs
手动添加
[ { "id": 4, "model_name": "Custom REST Request", "model_attrs": { "url": "http://ip:port:5739/", "method": "POST", "params": {}, "headers": { "Content-Type": "application/json" }, "body": { "text": "{{ text }}" } }, "template": "[\n {% for entity in input %}\n {\n \"start_offset\": {{ entity.start_offset }},\n \"end_offset\": {{ entity.end_offset}},\n \"label\": \"{{ entity.label }}\"\n }{% if not loop.last %},{% endif %}\n {% endfor %}\n]", "label_mapping": {}, "default": false, "task_type": "Span" } ]