Skip to content

ImportError: cannot import name 'is_g2p_en_available' from 'transformers.utils' (/usr/local/lib/python3.10/dist-packages/transformers/utils/__init__.py) #1351

Description

@kli017

System Info

platform: colab
python=3.10
trasformers=4.37.0.dev0
accelerate=0.26.1
peft=0.7.2.dev0

Who can help?

@younesbelkada Hi, I was run the peft_bnb_whisper_large_v2_training.ipynb from example. Everything is good till I met the error. When I run the code import evaluate, the error happen. I also try transformers=4.27.4, 4.33,1 and 4.36.2 and get the same error.
1705041152061

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder
  • My own task or dataset (give details below)

Reproduction

Run the peft_bnb_whisper_large_v2_training.ipynb in colab.

Expected behavior

Anyone can help?

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