Skip to content

Instantly share code, notes, and snippets.

@BrikerMan
Last active April 10, 2020 21:04
Show Gist options
  • Save BrikerMan/efd8c95b0450fc73f387e0fc85ad7408 to your computer and use it in GitHub Desktop.
Save BrikerMan/efd8c95b0450fc73f387e0fc85ad7408 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xmy7216
Copy link

xmy7216 commented Aug 19, 2019

对的,你可以指定自己的标签,程序会自动处理。可以参考这里

https://github.com/BrikerMan/Kashgari/blob/8831993ff32efd91ab1689b864f7037310670e84/tests/corpus.py#L61

您好,请问预测出现:(1)实体没有以‘’B-xx"开头,直接就是“I-xx”;(2)实体的多个字的“I-xxx”中间出现“O”截断;(3)实体以“B-labelA”开头,后面却出现“I-labelB”
不知道一般是由什么原因导致的呢?用的是BiLSTM_CRF_Model,为什么会出现这种情况呢?

@MaXXXXfeng
Copy link

你好,有一个简单的问题。 调动模型的fit方法,训练好模型后,如何保存模型呢?
以后做预测的时候是用 predict方法直接进行预测吗?

@BrikerMan
Copy link
Author

你好,有一个简单的问题。 调动模型的fit方法,训练好模型后,如何保存模型呢?
以后做预测的时候是用 predict方法直接进行预测吗?

是的,详细使用请参考 https://kashgari-zh.bmio.net

@hziheng
Copy link

hziheng commented Sep 25, 2019

你好,请问可以使用BMESO标注的数据吗,还是只能使用BIO标注的数据呢

@BrikerMan
Copy link
Author

BrikerMan commented Sep 25, 2019 via email

@hujukee
Copy link

hujukee commented Oct 12, 2019

请问在In [3]:中报错 timeout 可能是啥原因?谢谢

@steamfeifei
Copy link

可以选定多gpu训练吗

@steamfeifei
Copy link

tf2.0的版本bert+bilstm+crf出了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment