There’s a mistake across the first lesson in the ipython notebook. The model name should be sshleifer/distilbart-cnn-12-6
instead of shleifer/distilbart-cnn-12-6
(missing “s” at the beginning). So if one copies it from the notebook to run the model locally, it won’t work.
Seems there’s the same mistake in another short course: “Building Systems with the ChatGPT API”: Mistake in get_completion = pipeline("summarization", model="shleifer/distilbart-cnn-12-6")