sxysxy / NERTasks

GNU Lesser General Public License v3.0
12 stars 4 forks source link

Bert-Prompt如何运行 #3

Open CopyCode-Ryan opened 1 year ago

CopyCode-Ryan commented 1 year ago

Bert-Prompt如何运行

sxysxy commented 1 year ago

加命令行参数

--model_name BERT-Prompt
CopyCode-Ryan commented 1 year ago

提示以下错误,怎么解决啊? 'bert-base-uncased-conll2003-prompt' is the correct path to a directory containing a config.json file

sxysxy commented 1 year ago

需要先用prompt_engineering.py去生成bert-base-uncased-conll2003-prompt。原理参考论文 https://arxiv.org/abs/2109.13532

CopyCode-Ryan commented 1 year ago

我先试试,感谢!