huggingface_hub.utils._errors.HfHubHTTPError: 404 Client Error: Not Found for url:

When I am using –

model = HuggingFaceHub(
repo_id=“bigscience/bloomz-560m”,
model_kwargs={
“temperature”: 0.7,
“max_new_tokens”: 100
}
)

Infrence API via hugging face it through the error

huggingface_hub.utils._errors.HfHubHTTPError: 404 Client Error: Not Found for url: https://api-inference.huggingface.co/models/bigscience/bloomz-560m

If anyone have face same kind of problem kindly help me out ASAP thankyou

1 Like

For langchain, try this: