![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
自然语言处理
qq_39890956
这个作者很懒,什么都没留下…
展开
-
尝试提高bi-lstm+crf准确率的几个尝试
一.将lstm改为gru。 cell_forward = tf.contrib.rnn.BasicLSTMCell(unit_num) cell_backward = tf.contrib.rnn.BasicLSTMCell(unit_num) 改为 cell_forward = tf.nn.rnn_cell.GRUCell(unit_num) cell_backward = tf.nn...原创 2019-08-02 17:27:32 · 2677 阅读 · 0 评论 -
本地安装bert服务,并查询词向量
参考https://github.com/hanxiao/bert-as-service 一.第一步,安装python包 pip install bert-serving-server # server pip install bert-serving-client # client, independent of `bert-serving-server` 二.下载BERT预训练...转载 2019-08-12 17:25:07 · 372 阅读 · 0 评论