Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing Pipeline issue #78

Open
TazeemKhan9 opened this issue Jan 21, 2022 · 5 comments
Open

Importing Pipeline issue #78

TazeemKhan9 opened this issue Jan 21, 2022 · 5 comments

Comments

@TazeemKhan9
Copy link

Whenever I am trying to import pipeline after installing keytotext. I get the following error.
ValueError: transformers.models.auto.spec is None

@Horetskyi
Copy link

same

@gagan3012
Copy link
Owner

What is the version of transformers that you are using?

@TazeemKhan9
Copy link
Author

I have tried to run it with both version 4.15.0 and 4.10.0

@Horetskyi
Copy link

Horetskyi commented Jan 24, 2022

What is the version of transformers that you are using?

I used Example usage: Open In Colab

This one link: https://colab.research.google.com/github/gagan3012/keytotext/blob/master/notebooks/K2T.ipynb

@skywarder
Copy link

to solve this issue just use the old version of torchmetrics-module:
!pip install "torchmetrics<0.7"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants