uqlm.utils.postprocessors.math_postprocessor#
- uqlm.utils.postprocessors.math_postprocessor(input_string)#
- Return type:
str
- Parameters:
input_string (str) – The string from which the numerical answer will be extracted. Only the integer part is extracted.
- Returns:
The postprocessed string containing the integer part of the answer.
- Return type:
str