Audio choice labels as trained; yes/no keys in noul criteria

#1

Two fixes in prompt.py:

  • Audio choice options are written option_000: text, option_001: text, ... as the audio questions were trained and as the release's own loader writes them. With the option names instead, 7 of 91 top answers change on our reference clips.
  • noul criteria given as {"yes": ..., "no": ...} were silently ignored. They are now read like true / false.

Checked in FP32 against the reference outputs of the release's loader (LFM2.5-Encoder-350M-decide-F-s12500), text without temperatures since that loader applies none:

ids match max abs diff top answer changed
text, 12 questions, before 11/12 3.2e-3 0
text, after 12/12 2.2e-6 0
audio, 13 trained questions x 7 clips, before 9/13 0.37 7/91
audio, after 13/13 4.5e-6 0/91

Images and the card's example are unchanged.

mlabonne changed pull request status to merged

Sign up or log in to comment