nlpxucan / WizardLM

LLMs build upon Evol Insturct: WizardLM, WizardCoder, WizardMath
9.06k stars 709 forks source link

Fixing an apparent typo in process_humaneval.py #244

Open Alexei-V-Ivanov-AMD opened 4 months ago

Alexei-V-Ivanov-AMD commented 4 months ago

When the condition triggers for the string "name == \"main\"" (a rare case apparently) the reference code looks for an index of a different string. It leads to a crash.

The proposed correction fixes the reference to get the index of the same string.