SimBert_PyTorch icon indicating copy to clipboard operation
SimBert_PyTorch copied to clipboard

请问博主的uinlm体现在哪里,transformers里的bert的attention默认是双向的

Open SusannaWull opened this issue 3 years ago • 4 comments

SusannaWull avatar Jul 26 '21 07:07 SusannaWull

是的,你说得很对,我加载进来的是bert的base版本(双向的),UNILM你可以自己去transformers的model hub选择一个合适的unilm模型加载进来,如:peterchou/unilm-chinese-base

chenjie97 avatar Jul 27 '21 01:07 chenjie97

好像huggingface也没有做unilm的注意力

LowinLi avatar Sep 15 '21 02:09 LowinLi

https://github.com/huggingface/transformers/pull/2160

huggingface的unilm仍然没有合入

LowinLi avatar Sep 15 '21 03:09 LowinLi

同问,peterchou/unilm-chinese-base这里仍然没有实现unilm的特殊注意力机制掩码。

1973719588 avatar Jun 08 '22 03:06 1973719588