Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stripping whitespaces as default for QATask ICL eval (#3073)
* stripping whitespaces as default for QATask ICL eval if normalization is off (like in gsm8k), leading/trailing whitespaces can cause mismatch which leads to low accuracy even when the model gets the answer right. Fixing that here * adding strip to labels as well * changing list comprehension to set comprehension * using a real set comprehension
- Loading branch information