Princeton-SysML / FILM

Official repo for the paper: Recovering Private Text in Federated Learning of Language Models (in NeurIPS 2022)
https://arxiv.org/abs/2205.08514
Creative Commons Zero v1.0 Universal
56 stars 6 forks source link

"dlg_utils"/"eval_utils" files not found #2

Open yuntianhe2A opened 1 year ago

yuntianhe2A commented 1 year ago

Hi, In the file reorder.py, there are two imports:

from dlg_utils import calculateGradLoss, calculatePerplexity, get_grad_gpt2 from eval_utils import eval

I can not find dlg_utils in the project, there is eval_utils included in the project but there is no eval function in it.

mexiQQ commented 1 year ago

Same problem.

Hazelsuko07 commented 1 year ago

Thanks for submitting the issue and sorry about that!

I just uploaded the dlg_utils.py file. Let me know if you have other quersions :)

mexiQQ commented 1 year ago

@Hazelsuko07

Thank you for your help. And I can't find the eval function from "eval_utils"

image
Hazelsuko07 commented 1 year ago

Thank you for the reminder.

Here is the eval_utils.py file.

lhmin0614 commented 1 year ago

@Hazelsuko07 Hi, Is there "eval" function in "eval_utils.py" file now? I still can't find it.

linjian-tech commented 8 months ago

@Hazelsuko07 Hi, Is there "eval" function in "eval_utils.py" file now? I still can't find it. Can you offer me help? Thank you!