huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
132.23k stars 26.34k forks source link

How to use Distill-BERT with different datasets? #22818

Closed sauravtii closed 1 year ago

sauravtii commented 1 year ago

System Info

Who can help?

@ArthurZucker @younesbelkada @sgugger

Information

Tasks

Reproduction

I recently read this and was wondering how to use distill-BERT (which is pre-trained with imdb dataset) with a different dataset (for eg. this dataset)?

Expected behavior

Distill-BERT should work with different datasets.

amyeroberts commented 1 year ago

Closing this issue as it's a repeat of #22817