官方地址:https://labelstud.io/
git地址:https://github.com/heartexlabs/label-studio.git
1)启动最新的容器版本
docker run --rm -p 8080:8080 -v `pwd`/my_project:/label-studio/my_project --name label-studio heartexlabs/label-studio:latest label-studio start my_project --init
注:在本地没有镜像且联网的情况下,会自动下载latest: Pulling from heartexlabs/label-studio镜像
2)访问http://localhost:8080/
.
├── README.md
├── images
├── label_studio # 项目主代码目录
├── my_project # 标注任务目录(以任务名为文件名)
│ ├── completions # 标注结果目录
│ │ └── 0.json # 每一个样例对应的标注结果
│ ├── config.json # 配置文件
│ ├── config.xml
│ ├── source.json
│ ├── tabs.json
│ ├── tasks.json
│ └── upload
│ └── 6a2901-2021-03-07-22-23-08-19.txt # 传的标注样例
├── requirements.txt
├── scripts
│ ├── get-build.js
│ ├── get-lsf-build.js
│ └── wait-for-it.sh
├── setup.py
└── tools
└── run.sh
── completions # 标注结果目录
└── 0.json # 每一个样例对应的标注结果
{
"completions": [
{
"created_at": 1615429091, # 创建时间
"id": 1, # 实体id
"lead_time": 21.205,
"result": [
{
"from_name": "label",
"id": "LYan8xMvmh",
"to_name": "text",
"type": "labels",
"value": {
"end": 8, # 结束位置
"labels": [
"Person" # 具体标签
],
"start": 1, # 开始位置
"text": "\u4ea7\u8bc4\u4f30\u59d4\u6258\u5408\u540c" # 实体文本
}
}
]
}
],
"data": {
"text": "\u8d44\u4ea7\u8bc4\u4f30\u59d4\u6258\u5408\u540c" # 所在句子文本
},
"id": 0 # 句子id
}