notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

AttributeError: 'Wav2Vec2ForSequenceClassification' object has no attribute 'prepare_tf_dataset'

Open amrzv opened this issue 1 year ago • 0 comments

Hello. The error is raised on the cell

tf_dataset = model.prepare_tf_dataset(
    dataset,
    batch_size=4,
    shuffle=True,
)

when running quickstart.ipynb notebook in colab.

image

amrzv avatar Aug 15 '24 11:08 amrzv