-
您好作者,首先感谢您提供的这些研究和代码,其中NER部分关于处理不定长句子代码我有如下疑问:
通常来说,需要给出定长max_length,长截断,短补齐;但我看到您关于此处的处理是:选择训练/测试集中最长的句子作为max_length:max_length = max([len(sentence[0]) for sentence in data])
1、但是您对于这个长度貌似没有记录下来,…
-
First, I train a IDCNN+CRF model with torch 1.4.0,
Then,I transform it to a torchscript model.
Last, I use the torchscript model with java+libtorch.
In same machine(centos 7.4), use same torchsc…
-
首先感谢大佬在Rasa上的研究,解决了不少问题,万分感谢!
本人在阅读[rasa对话系统踩坑记(二)](https://www.jianshu.com/p/4ecd09be4419)时,安装了该库
```bash
pip install rasa-nlu-gao
```
使用配置config.yml训练
```yml
language: "zh"
pipeline:
…
-
在训练的过程中,如何对未登录词进行识别呢。我这边的配置如下,
```
pipeline:
- name: "MitieNLP"
model: "total_word_feature_extractor_zh.dat"
- name: "JiebaTokenizer"
- name: "rasa_nlu_gao.extractors.bilstm_crf_entity…
-
在使用rasa的过程中,想识别未登录词。我自己的配置如下
```
pipeline:
- name: "MitieNLP"
model: "total_word_feature_extractor_zh.dat"
- name: "JiebaTokenizer"
- name: "rasa_nlu_gao.extractors.bilstm_crf_entity_e…
-
您好, 我在安装了您的repo后, 然后进行训练, 报错keyerror:
我使用的rasa_nlu版本是: v0.13.8
config.yml:
```
language: "zh"
pipeline:
- name: "tokenizer_jieba"
- name: "intent_featurizer_count_vectors"
OOV_to…
-
Traceback (most recent call last):
File "D:\python\python install\helpers\pydev\pydev_run_in_console.py", line 53, in run_file
pydev_imports.execfile(file, globals, locals) # execute the scri…
-
Traceback (most recent call last):
File "D:\python\python install\helpers\pydev\pydev_run_in_console.py", line 53, in run_file
pydev_imports.execfile(file, globals, locals) # execute the scri…