CN113158653B - 预训练语言模型的训练方法、应用方法、装置及设备 - Google Patents
预训练语言模型的训练方法、应用方法、装置及设备 Download PDFInfo
- Publication number
- CN113158653B CN113158653B CN202110450286.3A CN202110450286A CN113158653B CN 113158653 B CN113158653 B CN 113158653B CN 202110450286 A CN202110450286 A CN 202110450286A CN 113158653 B CN113158653 B CN 113158653B
- Authority
- CN
- China
- Prior art keywords
- word
- safety
- information
- entity
- training
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012549 training Methods 0.000 title claims abstract description 184
- 238000000034 method Methods 0.000 title claims abstract description 79
- 239000013598 vector Substances 0.000 claims description 131
- 239000011159 matrix material Substances 0.000 claims description 98
- 230000015654 memory Effects 0.000 claims description 20
- 238000012545 processing Methods 0.000 claims description 16
- 230000014509 gene expression Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 230000007246 mechanism Effects 0.000 claims description 6
- 230000011218 segmentation Effects 0.000 claims description 4
- 238000010606 normalization Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000000605 extraction Methods 0.000 description 7
- 230000008520 organization Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000008030 elimination Effects 0.000 description 2
- 238000003379 elimination reaction Methods 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 231100000279 safety data Toxicity 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/237—Lexical tools
- G06F40/247—Thesauruses; Synonyms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/288—Entity relationship models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/36—Creation of semantic tools, e.g. ontology or thesauri
- G06F16/367—Ontology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/289—Phrasal analysis, e.g. finite state techniques or chunking
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Data Mining & Analysis (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Machine Translation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
字段 | 描述 |
Special tokens | 特殊标记,用于标记句子的开头([CLS])和句子的分隔/结尾([SEP]),符合BERT中使用的固定词汇的令牌 |
token IDs | BERT的令牌生成器提供的令牌ID |
Mask IDs | 掩码ID,用于指示序列中的哪些元素是标记,哪些是填充元素 |
Segment IDs | 用于区分不同句子的句段ID |
Positional | 用于显示序列中标记位置的位置嵌入 |
STIX2.1 | 用于显示STIX库中的SDO和SRO |
Query Key | 某公司 | 检测到 | 名叫 | Systemd Miner |
某公司 | X | X | X | X |
检测到 | 0.3 | X | X | X |
名叫 | 0.1 | 0.2 | X | X |
Systemd Miner | 0.1 | 0.4 | 0.2 | X |
步骤 | 动作 | 候选实体-关系序列 | 匹配度 |
0 | 开始 | (某公司, | 0 |
1 | 产出 | (某公司,检测到 | 0.3 |
2 | 产出 | (某公司,检测到,Systemd Miner | 0.7 |
3 | 结束 | (某公司,检测到,Systemd Miner) | 0.7 |
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110450286.3A CN113158653B (zh) | 2021-04-25 | 2021-04-25 | 预训练语言模型的训练方法、应用方法、装置及设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110450286.3A CN113158653B (zh) | 2021-04-25 | 2021-04-25 | 预训练语言模型的训练方法、应用方法、装置及设备 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113158653A CN113158653A (zh) | 2021-07-23 |
CN113158653B true CN113158653B (zh) | 2021-09-07 |
Family
ID=76870465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110450286.3A Active CN113158653B (zh) | 2021-04-25 | 2021-04-25 | 预训练语言模型的训练方法、应用方法、装置及设备 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113158653B (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113704513B (zh) * | 2021-07-27 | 2023-03-24 | 北京三快在线科技有限公司 | 一种模型训练的方法、信息展示的方法以及装置 |
CN113723106B (zh) * | 2021-07-29 | 2024-03-12 | 北京工业大学 | 基于标签扩展的零样本文本分类方法 |
CN113836315A (zh) * | 2021-09-23 | 2021-12-24 | 国网安徽省电力有限公司电力科学研究院 | 一种电力标准知识抽取系统 |
CN113901827B (zh) * | 2021-12-10 | 2022-03-18 | 北京邮电大学 | 实体识别和关系抽取方法、装置、电子设备及存储介质 |
CN114021572B (zh) * | 2022-01-05 | 2022-03-22 | 苏州浪潮智能科技有限公司 | 一种自然语言处理方法、装置、设备及可读存储介质 |
CN116956295B (zh) * | 2023-09-19 | 2024-01-05 | 杭州海康威视数字技术股份有限公司 | 基于文件图谱拟合的安全检测方法、装置及设备 |
CN117349275B (zh) * | 2023-12-04 | 2024-03-01 | 中电数创(北京)科技有限公司 | 一种基于大语言模型的文本结构化方法和系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180293683A1 (en) * | 2017-04-11 | 2018-10-11 | International Business Machines Corporation | Humanitarian Crisis Analysis Using Secondary Information Gathered By a Focused Web Crawler |
CN109408821A (zh) * | 2018-10-22 | 2019-03-01 | 腾讯科技(深圳)有限公司 | 一种语料生成方法、装置、计算设备及存储介质 |
CN110717049A (zh) * | 2019-08-29 | 2020-01-21 | 四川大学 | 一种面向文本数据的威胁情报知识图谱构建方法 |
CN112149420A (zh) * | 2020-09-01 | 2020-12-29 | 中国科学院信息工程研究所 | 实体识别模型训练方法、威胁情报实体提取方法及装置 |
-
2021
- 2021-04-25 CN CN202110450286.3A patent/CN113158653B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180293683A1 (en) * | 2017-04-11 | 2018-10-11 | International Business Machines Corporation | Humanitarian Crisis Analysis Using Secondary Information Gathered By a Focused Web Crawler |
CN109408821A (zh) * | 2018-10-22 | 2019-03-01 | 腾讯科技(深圳)有限公司 | 一种语料生成方法、装置、计算设备及存储介质 |
CN110717049A (zh) * | 2019-08-29 | 2020-01-21 | 四川大学 | 一种面向文本数据的威胁情报知识图谱构建方法 |
CN112149420A (zh) * | 2020-09-01 | 2020-12-29 | 中国科学院信息工程研究所 | 实体识别模型训练方法、威胁情报实体提取方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN113158653A (zh) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113158653B (zh) | 预训练语言模型的训练方法、应用方法、装置及设备 | |
US20210157975A1 (en) | Device, system, and method for extracting named entities from sectioned documents | |
US9424524B2 (en) | Extracting facts from unstructured text | |
CN102819604B (zh) | 基于内容相关性的文件涉密内容检索、密级判定及标注方法 | |
US20090222395A1 (en) | Systems, methods, and software for entity extraction and resolution coupled with event and relationship extraction | |
CN111209411B (zh) | 一种文档分析的方法及装置 | |
CN111339751A (zh) | 一种文本关键词处理方法、装置及设备 | |
CN113033198B (zh) | 相似文本推送方法、装置、电子设备及计算机存储介质 | |
CN112257444B (zh) | 金融信息负面实体发现方法、装置、电子设备及存储介质 | |
CN114118053A (zh) | 一种合同信息提取方法及装置 | |
CN111259262A (zh) | 一种信息检索方法、装置、设备及介质 | |
CN114722137A (zh) | 基于敏感数据识别的安全策略配置方法、装置及电子设备 | |
CN114090736A (zh) | 一种基于文本相似度的企业行业识别系统及识别方法 | |
CN112818126B (zh) | 网络安全语料库构建模型的训练方法、应用方法及装置 | |
CN110737770B (zh) | 文本数据敏感性识别方法、装置、电子设备及存储介质 | |
CN111291152A (zh) | 案例文书的推荐方法、装置、设备及存储介质 | |
CN112330501A (zh) | 一种文书处理方法、装置、电子设备及存储介质 | |
CN112380848A (zh) | 文本生成方法、装置、设备及存储介质 | |
CN115115432B (zh) | 基于人工智能的产品信息推荐方法及装置 | |
CN111291535A (zh) | 剧本处理方法、装置、电子设备及计算机可读存储介质 | |
CN114298048A (zh) | 命名实体识别方法及装置 | |
CN112818645A (zh) | 一种化学信息抽取方法、装置、设备及存储介质 | |
CN111339272A (zh) | 代码缺陷报告检索方法及装置 | |
CN112966268A (zh) | 基于神经网络模型和哈希匹配的sql检测方法及系统 | |
CN112269852A (zh) | 生成舆情专题方法、系统及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211119 Address after: 100084 b201c-1, 3rd floor, building 8, yard 1, Zhongguancun East Road, Haidian District, Beijing Patentee after: Beijing innovation Zhiyuan Technology Co.,Ltd. Address before: B201d-1, 3rd floor, building 8, yard 1, Zhongguancun East Road, Haidian District, Beijing 100083 Patentee before: Beijing Zhiyuan Artificial Intelligence Research Institute |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220413 Address after: Room 266, floor 2, building 1, No. 16, Shangdi Fifth Street, Haidian District, Beijing 100085 Patentee after: Beijing Tianji Youmeng Information Technology Co.,Ltd. Address before: 100084 b201c-1, 3rd floor, building 8, yard 1, Zhongguancun East Road, Haidian District, Beijing Patentee before: Beijing innovation Zhiyuan Technology Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Training method, application method, device and equipment of pre training language model Effective date of registration: 20220614 Granted publication date: 20210907 Pledgee: China Construction Bank Corporation Beijing Fucheng Road sub branch Pledgor: Beijing Tianji Youmeng Information Technology Co.,Ltd. Registration number: Y2022110000125 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20230814 Granted publication date: 20210907 Pledgee: China Construction Bank Corporation Beijing Fucheng Road sub branch Pledgor: Beijing Tianji Youmeng Information Technology Co.,Ltd. Registration number: Y2022110000125 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Training methods, application methods, devices, and equipment for pre trained language models Effective date of registration: 20230817 Granted publication date: 20210907 Pledgee: China Construction Bank Corporation Beijing Fucheng Road sub branch Pledgor: Beijing Tianji Youmeng Information Technology Co.,Ltd. Registration number: Y2023110000346 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |