2021-08-19 15:33:03 +08:00
|
|
|
|
<p align="center">
|
2021-08-19 18:46:09 +08:00
|
|
|
|
<br>DeepKE</br>
|
2021-08-19 15:33:03 +08:00
|
|
|
|
<p>
|
|
|
|
|
<p align="center">
|
|
|
|
|
<a href="https://circleci.com/gh/huggingface/transformers">
|
|
|
|
|
<img alt="Build" src="https://img.shields.io/circleci/build/github/huggingface/transformers/master">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/huggingface/transformers/blob/master/LICENSE">
|
|
|
|
|
<img alt="GitHub" src="https://img.shields.io/github/license/huggingface/transformers.svg?color=blue">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://huggingface.co/transformers/index.html">
|
|
|
|
|
<img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/transformers/index.html.svg?down_color=red&down_message=offline&up_message=online">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/huggingface/transformers/releases">
|
|
|
|
|
<img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/transformers.svg">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://github.com/huggingface/transformers/blob/master/CODE_OF_CONDUCT.md">
|
|
|
|
|
<img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg">
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://zenodo.org/badge/latestdoi/155220641"><img src="https://zenodo.org/badge/155220641.svg" alt="DOI"></a>
|
|
|
|
|
</p>
|
2021-08-19 18:43:15 +08:00
|
|
|
|
|
2021-08-19 18:36:01 +08:00
|
|
|
|
<h4 align="center">
|
|
|
|
|
<p>
|
|
|
|
|
<b>简体中文</b> |
|
2021-08-19 18:46:52 +08:00
|
|
|
|
<a href="https://github.com/zjunlp/DeepKE/edit/test_new_deepke/README_ENGLISH.md">English</a>
|
2021-08-19 18:36:01 +08:00
|
|
|
|
<p>
|
|
|
|
|
</h4>
|
2019-08-20 21:25:34 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
<h3 align="center">
|
|
|
|
|
<p>基于深度学习的开源中文知识图谱抽取框架</p>
|
|
|
|
|
</h3>
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
<h3 align="center">
|
|
|
|
|
<a href="https://hf.co/course"><img src="https://raw.githubusercontent.com/huggingface/transformers/master/docs/source/imgs/course_banner.png"></a>
|
|
|
|
|
</h3>
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
DeepKE 提供了多种知识抽取模型。
|
2020-12-02 17:57:03 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
## 在线演示
|
|
|
|
|
演示的demo地址
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
1.NER
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
2.RE
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
1.REGULAR
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
2.FEW-SHOT
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
3.DOCUMENT
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
3.AE
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
## 快速上手
|
2020-12-02 16:53:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
## 安装
|
|
|
|
|
pip安装
|
2019-08-20 21:25:34 +08:00
|
|
|
|
```
|
2021-08-19 15:33:03 +08:00
|
|
|
|
pip install deepke
|
2019-08-20 21:25:34 +08:00
|
|
|
|
```
|
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
## 模型架构
|
|
|
|
|
Deepke包含了以下功能:(各子块导航到各模块的readme)
|
2019-12-03 22:41:47 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
1.NER
|
2019-12-03 22:41:47 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
2.RE 其中RE包括了以下三个子功能
|
2019-12-03 22:41:47 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
**[REGULAR](https://github.com/tlk1997/deepke/blob/master/example/re/regular/re_regular.md)**
|
2019-12-03 20:30:15 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
FEW-SHOT
|
2019-12-03 20:30:15 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
DOCUMENT
|
2019-09-18 19:45:45 +08:00
|
|
|
|
|
2021-08-19 15:33:03 +08:00
|
|
|
|
3.AE
|
2019-09-18 19:45:45 +08:00
|
|
|
|
|
2021-08-19 18:44:22 +08:00
|
|
|
|
## 引用
|