-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
# bert_in_keras | ||
用Keras来调用Bert,这可能是最简单的Bert打开姿势。 | ||
|
||
### | ||
## | ||
- <a href="https://github.com/bojone/bert_in_keras/blob/master/sentiment.py">sentiment.py</a>:情感分析例子,详细请看<a href="https://kexue.fm/archives/6736#%E6%96%87%E6%9C%AC%E5%88%86%E7%B1%BB">这里</a>。 | ||
- <a href="https://github.com/bojone/bert_in_keras/blob/master/relation_extract.py">relation_extract.py</a>:关系抽取例子,详细请看<a href="https://kexue.fm/archives/6736#%E5%85%B3%E7%B3%BB%E6%8A%BD%E5%8F%96">这里</a>。 | ||
- <a href="https://github.com/bojone/bert_in_keras/blob/master/subject_extract.py">subject_extract.py</a>:主体抽取例子,详细请看<a href="https://kexue.fm/archives/6736#%E4%BA%8B%E4%BB%B6%E4%B8%BB%E4%BD%93%E6%8A%BD%E5%8F%96">这里</a>。 | ||
- <a href="https://github.com/bojone/bert_in_keras/blob/master/nl2sql_baseline.py">nl2sql_baseline.py</a>:NL2SQL例子,详细请看<a href="https://kexue.fm/archives/6771">这里</a>。 | ||
|
||
### 详细介绍 | ||
## 详细介绍 | ||
- https://kexue.fm/archives/6736 | ||
- https://kexue.fm/archives/6771 | ||
|
||
### keras_bert | ||
## 测试环境 | ||
python 2.7 + tensorflow 1.13 + keras 2.2.4 | ||
|
||
## keras_bert | ||
- https://github.com/CyberZHG/keras-bert | ||
|
||
### 中文版权重 | ||
## 中文版权重 | ||
- 官方版: https://github.com/google-research/bert | ||
- 哈工大版: https://github.com/ymcui/Chinese-BERT-wwm | ||
|
||
### 严重声明 | ||
## 严正声明 | ||
- 不欢迎任何NLP和Keras文盲来跑此代码!!你都要玩Bert了,我认为你学习NLP的时间好歹要在半年以上,你学习Keras的时间好歹要一周以上。别想着一蹴而就,不欢迎只想调包跑通的人,不要用任何“我时间紧”的借口。 | ||
- Keras是简单,不代表不需要学NLP,不代表不需要学Keras,不代表就可以不经大脑。一句话,请尊重你自己的智商。 | ||
|
||
### 在线交流 | ||
## 在线交流 | ||
QQ交流群:67729435,微信群请加机器人微信号spaces_ac_cn |