# bert_in_keras
**Repository Path**: Samuelcoding/bert_in_keras
## Basic Information
- **Project Name**: bert_in_keras
- **Description**: 在Keras中使用BERT
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-06-08
- **Last Updated**: 2020-12-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# bert_in_keras
用Keras来调用Bert,这可能是最简单的Bert打开姿势。
##
- sentiment.py:情感分析例子,详细请看这里。
- relation_extract.py:关系抽取例子,详细请看这里。
- subject_extract.py:主体抽取例子,详细请看这里。
- nl2sql_baseline.py:NL2SQL例子,详细请看这里。
## 详细介绍
- https://kexue.fm/archives/6736
- https://kexue.fm/archives/6771
## 测试环境
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