You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue in the initial code is that the model_path argument is not being passed to the super class __init__ method. The corrected code snippet ensures that model_path is correctly passed to the NanoLLM class during initialization. Here is the corrected version of the class definition:
When I tried to call :
I got:
Here is the original code from nano_llm/models/hf.py:
The issue in the initial code is that the
model_path
argument is not being passed to thesuper
class__init__
method. The corrected code snippet ensures thatmodel_path
is correctly passed to theNanoLLM
class during initialization. Here is the corrected version of the class definition:Hope this helps!
The text was updated successfully, but these errors were encountered: