PKD-for-BERT-Model-Compression icon indicating copy to clipboard operation
PKD-for-BERT-Model-Compression copied to clipboard

请问一个问题

Open Smile-shirley opened this issue 4 years ago • 5 comments

代码中有一个--teacher_prediction,这个哪来的?是在训练teacher模型中保存下来的?为什么没看到?

Smile-shirley avatar Apr 24 '20 10:04 Smile-shirley

同问,我也卡在这里,找不到文件

Yu-Fangxu avatar Jul 22 '20 11:07 Yu-Fangxu

代码中有一个--teacher_prediction,这个哪来的?是在训练teacher模型中保存下来的?为什么没看到?

Traceback (most recent call last): File "run_glue_benchmark.py", line 110, in assert len(encoder_file) == 1 and len(cls_file) == 1, f'encoder/cls file err or: {encoder_file}, {cls_file}' AssertionError: encoder/cls file error: [], [] 请问运行run_glue_benchmark.py时为啥会有这个错误

1125690278 avatar Dec 09 '20 08:12 1125690278

运行 run_glue_benchmark.py 可以得到对应的文件

设置output_all_layers = True/False 可以得到不同蒸馏方法对应的两个文件

winston52 avatar Dec 16 '20 08:12 winston52

代码中有一个--teacher_prediction,这个哪来的?是在训练teacher模型中保存下来的?为什么没看到?

Traceback (most recent call last): File "run_glue_benchmark.py", line 110, in assert len(encoder_file) == 1 and len(cls_file) == 1, f'encoder/cls file err or: {encoder_file}, {cls_file}' AssertionError: encoder/cls file error: [], [] 请问运行run_glue_benchmark.py时为啥会有这个错误

同问

ZHEGG avatar Nov 11 '21 12:11 ZHEGG

同样这个问题,请问怎么回事

caowanxia123 avatar Mar 10 '22 12:03 caowanxia123