Skip to content

2.26.12

Choose a tag to compare

@KennethEnevoldsen KennethEnevoldsen released this 19 Oct 09:12
· 205 commits to main since this release

2.26.12 (2026-10-19)

Fix

  • fix: encode classification labels with one label set across splits (#5711)

stratified_subsampling used DatasetDict.class_encode_column, which encodes
each split on its own. When a label is missing from one split, every label
after it alphabetically gets a different id in train and test, so the
classifier is scored against shifted labels (e.g. CommonLanguageAgeDetection:
'nineties' only in train, so 'twenties' is 7 in train and 6 in test).

Build the label names once from all splits. Names are sorted as strings like
class_encode_column, so tasks whose splits share labels keep the same ids. (f32667b)

Unknown

  • model: add divakantpandey/code-embed (#5715)

add model meta for divakantpandey/code-embed (ef6709e)