lit-llama
lit-llama copied to clipboard
RuntimeError: probability tensor contains either `inf`, `nan` or element < 0
I have fine tuned a llama 7b model and when I try to run the fine tuned model I get below error:
python generate/lora.py
16-true
Loading model ...
Time to load model: 8.74 seconds.
Traceback (most recent call last):
File "/home/azureuser/lit-llama/generate/lora.py", line 129, in inf
, nan
or element < 0