Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teacher model #47

Open
xhqi0109 opened this issue Jun 28, 2022 · 3 comments
Open

teacher model #47

xhqi0109 opened this issue Jun 28, 2022 · 3 comments

Comments

@xhqi0109
Copy link

Hello, where can I download the teacher model?

@wangwei7175878
Copy link
Collaborator

Could you please be specific about what you mean by teacher model. It's not clear enough for me.

@xhqi0109
Copy link
Author

Thank you for your reply. The teacher model is the teacher's pre training model, as shown in the following code:
teacher = TeacherBertForSequenceClassification.from_pretrained(
training_args.teacher_path,
from_tf=bool(".ckpt" in training_args.teacher_path),
config=config,
alignrep=training_args.alignrep,
)

@RunxinXu
Copy link
Collaborator

Hi,you can train the teacher model conveniently using the scripts provided by huggingface.

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

No branches or pull requests

3 participants