Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

Where did you modified src/transformers/modeling_bert.py? #10

Closed
WenxiongLiao opened this issue Jun 30, 2022 · 1 comment
Closed

Where did you modified src/transformers/modeling_bert.py? #10

WenxiongLiao opened this issue Jun 30, 2022 · 1 comment

Comments

@WenxiongLiao
Copy link

I expected that file src/transformers/modeling_bert.py would add Loss_ED and Loss_RD, but I didn't find the relevant code? In which file did you add Loss_ED and Loss_RD?

@thuqinyj16
Copy link
Collaborator

Hello~ Please refer to the CP_R module in https://github.com/thunlp/ERICA/blob/master/pretrain/code/pretrain/model.py. Feel free to ask any further questions!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants