flowersteam / lamorel

Lamorel is a Python library designed for RL practitioners eager to use Large Language Models (LLMs).
MIT License
176 stars 15 forks source link

Better handling of empty candidates in forward #36

Open ClementRomac opened 4 months ago

sadra-barikbin commented 4 months ago

This line also seems unnecessary: https://github.com/flowersteam/lamorel/blob/c82d1b17d275ef40f5d5c23dafde0e56ef01e73e/lamorel/src/lamorel/server/llms/hf_llm.py#L294

ClementRomac commented 4 months ago

This line also seems unnecessary:

https://github.com/flowersteam/lamorel/blob/c82d1b17d275ef40f5d5c23dafde0e56ef01e73e/lamorel/src/lamorel/server/llms/hf_llm.py#L294

Yes you're right. I'm doing a new commit without this line.