Skip to content

Models from djl://ai.djl.huggingface.rust will fail without argSort implemented #3871

Description

@realPyR3X

throw new UnsupportedOperationException("Not implemented");

For NLP.TEXT_CLASSIFICATION the TextClassificationTranslator will fail because this is not implemented. I've written my own which basically does the exact same thing just removes the call to argSort (I didn't need sorted labels). But without it all those models will not work out of the box from my testing.

This is the line that is calling it

Activity

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