diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/data/train.json b/data/train.json old mode 100644 new mode 100755 index e2b9edc..d7761be --- a/data/train.json +++ b/data/train.json @@ -15,7 +15,121 @@ {"start": 0, "end": 7, "label": "TIME"}, {"start": 9, "end": 16, "label": "TIME"}, {"start": 18, "end": 28, "label": "ORG"}, - {"start": 29, "end": 33, "label": "ORG"} + {"start": 29, "end": 33, "label": "DEPT"} + ] + }, + { + "text": "2021.04-- 枣庄市生态环境保护综合执法支队滕州市生态环境保护综合执法大队一级行政执法员", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 49, "label": "ORG"}, + {"start": 29, "end": 33, "label": "DEPT"} + ] + }, + { + "text": "2001.09--2005.07 佳木斯大学中文系汉语言文学专业学生", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 22, "label": "ORG"}, + {"start": 23, "end": 26, "label": "DEPT"}, + {"start": 27, "end": 34, "label": "MAJOR"} + ] + }, + { + "text": "2005.07--2006.07 黑龙江省大庆市工商行政管理局机关党委试用期人员", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 34, "label": "ORG"}, + {"start": 35, "end": 39, "label": "DEPT"} + ] + }, + { + "text": "2006.07--2006.11 黑龙江省大庆市工商行政管理局机关党委科员", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 34, "label": "ORG"}, + {"start": 35, "end": 39, "label": "DEPT"}, + {"start": 40, "end": 42, "label": "TITLE"} + ] + }, + { + "text": "2006.11--2007.06 黑龙江省大庆市工商行政管理局工业品批发市场管理所科员(挂职锻炼)", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 34, "label": "ORG"}, + {"start": 35, "end": 50, "label": "DEPT"}, + {"start": 51, "end": 53, "label": "TITLE"} + ] + }, + { + "text": "2007.06--2015.08 黑龙江省大庆市工商行政管理局机关党委科员(其间:2009.03--2011.06在黑龙江大学公共管理专业在职研究生学习,获公共管理硕士学位)", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 34, "label": "ORG"}, + {"start": 35, "end": 39, "label": "DEPT"}, + {"start": 40, "end": 42, "label": "TITLE"}, + {"start": 45, "end": 52, "label": "TIME"}, + {"start": 54, "end": 61, "label": "TIME"}, + {"start": 62, "end": 66, "label": "SCHOOL"}, + {"start": 67, "end": 75, "label": "MAJOR"}, + {"start": 87, "end": 95, "label": "DEGREE"} + ] + }, + { + "text": "2015.08--2017.10 黑龙江省大庆市市场监督管理局机关党委科员", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 34, "label": "ORG"}, + {"start": 35, "end": 39, "label": "DEPT"}, + {"start": 40, "end": 42, "label": "TITLE"} + ] + }, + { + "text": "2017.10--2017.12 中共黑龙江省大庆市直属机关工作委员会办公室科员", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 38, "label": "ORG"}, + {"start": 39, "end": 42, "label": "DEPT"}, + {"start": 43, "end": 45, "label": "TITLE"} + ] + }, + { + "text": "2017.12--2020.05 中共黑龙江省大庆市直属机关工作委员会工会女工部部长(副科级)", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 38, "label": "ORG"}, + {"start": 39, "end": 47, "label": "DEPT"}, + {"start": 48, "end": 50, "label": "TITLE"} + ] + }, + { + "text": "2020.05--2022.07 中共黑龙江省大庆市直属机关工作委员会办公室主任", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 38, "label": "ORG"}, + {"start": 39, "end": 42, "label": "DEPT"}, + {"start": 43, "end": 47, "label": "TITLE"} + ] + }, + { + "text": "2022.07--2023.01 中共黑龙江省大庆市直属机关工作委员会办公室主任、一级主任科员", + "labels": [ + {"start": 0, "end": 7, "label": "TIME"}, + {"start": 9, "end": 16, "label": "TIME"}, + {"start": 18, "end": 38, "label": "ORG"}, + {"start": 39, "end": 42, "label": "DEPT"}, + {"start": 43, "end": 47, "label": "TITLE"}, + {"start": 48, "end": 56, "label": "TITLE"} ] } ] diff --git a/data/val.json b/data/val.json old mode 100644 new mode 100755 diff --git a/main.py b/main.py old mode 100644 new mode 100755 diff --git a/models/resume_ner_model/.gitkeep b/models/resume_ner_model/.gitkeep old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 diff --git a/scripts/predict.py b/scripts/predict.py old mode 100644 new mode 100755 diff --git a/scripts/train.py b/scripts/train.py old mode 100644 new mode 100755 diff --git a/说明.md b/说明.md old mode 100644 new mode 100755