Skip to content

import break when using latest transformers #309

Description

@xiyang-aads-lilly

file: pipeline_base.py
line: 4
code: from transformers.generation_utils import GenerationMixin

this is broken, should be replaced with from transformers import GenerationMixin

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