langtest.transform.utils.get_label_representation_dict#
- get_label_representation_dict(data: List[Sample]) Dict[str, int] #
- Parameters:
data (List[Sample]) – The input data to be evaluated for representation test.
- Returns:
a dictionary containing label representation information.
- Return type:
dict