Skip to content
#

ner

Here are 489 public repositories matching this topic...

Shotgun167
Shotgun167 commented May 1, 2019

I have some values in slots that are surrounded by curly braces and are meant to be returned as is. Instead, the trailing brace is being stripped. "${website}" becomes "${website". I have training examples where the whole "${website}" is included. Is there a way to change this behavior?

Ivan-Ji
Ivan-Ji commented Aug 19, 2019

近期在看模型的时候,因为README.md文件里涉及到了代码,但是markdown文件里代码的变量为Python的关键字str,如下所示,

import time
from bert_base.client import BertClient

with BertClient(show_server_config=False, check_version=False, check_length=False, mode='NER') as bc:
   start_t = time.perf_counter()
   str = '1月24日,新华社对外发布了中央对雄安新区的指导意见,洋洋洒洒1.2万多字,17次提到北京,4次提到天津,信息量很大,其实也回答了人们关心的很多问题。'
   rst = bc.encode([str, str])
   pri
jeicy07
jeicy07 commented Feb 19, 2020

When the code is doing the evaluation, there is an error when returning the evaluation result : result = estimator.evaluate(input_fn=eval_input_fn). Detailed error is probably related to the confusion matrix.
It says that: TypeError: eval_metric_ops[confusion_matrix] must be Operation or Tensor, given: <tf.Variable 'total_confusion_matrix:0' shape=(12, 12) dtype=float64_ref>
my tensorflo

基于金融-司法领域(兼有闲聊性质)的聊天机器人,其中的主要模块有信息抽取、NLU、NLG、知识图谱等,并且利用Django整合了前端展示,目前已经封装了nlp和kg的restful接口

  • Updated Jul 4, 2020
XuanYang1991
XuanYang1991 commented Nov 13, 2019

_____________________ ERROR collecting test_krl_transe.py _____________________
test_krl_transe.py:26: in
krl.train(train_path, model_type=model_type, dev_path=train_path, save_path='./krl_{}_saves'.format(model_type))
..........\Anaconda3\envs\python367\lib\site-packages\lightkg\krl\module.py:29: in train
train_dataset = rl_tool.get_dataset(train_path)
..........\Ana

Improve this page

Add a description, image, and links to the ner topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ner topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.