Spico197 / DocEE

🕹️ A toolkit for document-level event extraction, containing some SOTA model implementations.
https://doc-ee.readthedocs.io/
MIT License
232 stars 36 forks source link

怎么加bert模型呢 #63

Closed guocxian closed 1 year ago

guocxian commented 1 year ago

Before running any bash script, please ensure bert_model has been correctly set.

能具体解释下吗?

guocxian commented 1 year ago

thanks

Spico197 commented 1 year ago

您好,因为这些模型使用的都是BERT的词表,所以需要给出BERT文件夹的位置,并修改这里的配置地址。

如果是想在模型的层面使用BERT的权重,可以直接把这行改成True

guocxian commented 1 year ago

谢谢您!

在 2023年5月2日星期二,Tong Zhu (朱桐) @.***> 写道:

您好,因为这些模型使用的都是BERT的词表,所以需要给出BERT文件夹的位置,并修改这里 https://github.com/Spico197/DocEE/blob/af501b6077840606fffab7b0325a05c8b8101df6/scripts/run_ptpcg.sh#L27 的配置地址。

如果是想在模型的层面使用BERT的权重,可以直接把这行 https://github.com/Spico197/DocEE/blob/af501b6077840606fffab7b0325a05c8b8101df6/scripts/run_ptpcg.sh#L26 改成True。

— Reply to this email directly, view it on GitHub https://github.com/Spico197/DocEE/issues/63#issuecomment-1530917435, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYB7AV645Z6HKGTXRVCJVVLXECOAVANCNFSM6AAAAAAXRWGEJI . You are receiving this because you modified the open/close state.Message ID: @.***>