SimpleFSRE
SimpleFSRE copied to clipboard
A Simple yet Effective Relation Information Guided Approach for Few-Shot Relation Extraction
报错
当我在训练时,train——demo.py文件317行训练模型时出现错误:它提示我使用的proto_7_2.py文件的82行使用的句子编码器中的163行(x=self.bert...)出现错误,原因为:元组的索引应该是整数或者切片,不应该是字符串
I have downloaded the CP pretrained-model from google drive,then i retrained it with fewrel dataset,got an extremely low accuracy(only 24.68),what‘s wrong with it? Here is the download link:https://github.com/thunlp/RE-Context-or-Names/tree/master/pretrain have a...
请问实验环境使用了几张什么型号的显卡?
你好,我怎样才能得到测试数据?
> /data/lirongzhen/SimpleFSRE/fewshot_re_kit/data_loader.py(503)__init__() -> print("[ERROR] Data file does not exist!") (Pdb) p path './data/5-1-test.json' (Pdb) c [ERROR] Data file does not exist! Traceback (most recent call last): File "train_demo.py", line 325,...
File "\SimpleFSRE\models\proto.py", line 45, in forward rel_gol, rel_loc = self.sentence_encoder(rel_txt, cat=False) ValueError: too many values to unpack (expected 2) transforms版本我也调为4.6.0了,请问需要修改什么?
 