-
可以分享一下,怎么加载训练好的模型,去预测单个句子吗?谢谢。
-
**Environment**
pyabsa: v1.1.22
**Question**
atepc prediction result is array, but its length is not equal with inputs. For example:
*inputs*
examples = ['我就想问,这个真的用清水可以清洗的干净的吗?洗完之后油的吹不太干&hell…
-
convert_examples_to_features.py 202行,在将example转feature的时候,需要知道当前句子的aspect。
但是在推断的时候,是不知道aspect是什么的,难道说推断的时候需要分两阶段运行?先跑ate任务,再跑apc任务?
希望作者加一个推断的示例函数,谢谢
-
Please tell me what the input of **lcf_glove** for global context processor and local one? Thanks!
-
您好, 如果使用使用Chinese目录下的中文数据集, 程序要修改吧, 比如spacy models是不是要修改为加载zh_core_web_sm等?
感谢!
-
Hi!
I trained the model according to your instructions (with laptop dataset) and now I want to test the model on a different dataset, like the restaurant dataset of SemEval14. I have some question…
ghost updated
3 years ago
-
Hi,
Thank you for the great repository.
For me especially the English models are interesting. Unfortunately your examples *examples/aspect_term_extraction/extract_aspects.py* and *extract_aspect…
-
-
楼主您好!我在加载训练好的模型用于预测时,出现了如下的报错,还请您指点一二:
```
from model.lcf_atepc import LCF_ATEPC
from pytorch_transformers.tokenization_bert import BertTokenizer
from pytorch_transformers.modeling_bert import Ber…