Open SebastianRiquelmeM opened 12 months ago
I encountered the same problem and I guess cuz openai upadte their module. If you only want to recover the weight, you can just delete the code in utils.py that relates to openai.
I met the same problem, I resolved this by using openai==0.28.0, just like this:pip install openai==0.28.0
ImportError when using
weight_diff.py
script.Problem Description:
I encountered an ImportError when attempting to execute the
weight_diff.py
script from the Stanford Alpaca project for applying a weight differential. The command used and the traceback of the error are as follows:Operating System: Windows 11 Python Version: 3.10
Command: