I suppose that means that the libraries have changed since the course was released?
Yeah. Also, the behavior of the Hugging Face servers has changed slightly.
llm = HuggingFaceInferenceAPI(
model="Qwen/Qwen2.5-Coder-32B-Instruct",
task="text-generation",
provider="auto",
)