mit-han-lab / offsite-tuning

Offsite-Tuning: Transfer Learning without Full Model
https://arxiv.org/abs/2302.04870
MIT License
367 stars 39 forks source link

The choose_layers_by_changes function is not implemented in the utils.py file. #3

Closed gray311 closed 1 year ago

gray311 commented 1 year ago

There should be a problem with the import choose_layers_by_changes function in run_clm.py. figure 2023-02-27 141719

Guangxuan-Xiao commented 1 year ago

Thank you for spotting this bug! We did not use this function in the final version.

Guangxuan-Xiao commented 1 year ago

Fixed now.

gray311 commented 1 year ago

I have one more question. It is that the attribute model.module is not defined in your code, so why is it called in run_clm.py? 屏幕截图 2023-02-28 134443