Skip to content

Support for datasets v4? #619

Closed
Closed

Description

@rmitsch

Hi there!

I'm looking into migrating https://github.com/mantisai/sieves to datasets v4, but I can't seem to get training with setfit to work with dataset generated with datasets v4 (whereas the same dataset works with sentence-transformers).

Questions:

  • Is setfit indeed not fully compatible with datasets v4 (or am I doing something wrong)?
  • If the answer to the question above is no: is the migration to v4 planned and if so, what's the timeline?

Thanks for the great work!

Activity

  1. tomaarsen commented on Sep 4, 2026

    @tomaarsen
    Member

    Hello!

    SetFit is compatible with datasets v4 and v5 on main via #647. The remaining incompatibility was that dataset["column"] returns a lazy Column since datasets 4.0, which SetFit passed around as if it were a list. The trainer now converts the columns it consumes, and the suite runs on datasets 4.x and 5.0.1 in CI. This will be part of the upcoming v1.2.0 release, so the sieves migration should be unblocked then.

    • Tom Aarsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions