It’s probably both. Since a renewal is being carried out that will eventually only allow the so-called Warm model to be used, it will ultimately be a battle for the entry slots, excluding the famous models.
"candidate_labels": candidate_labels,
"hypothesis_template": hypothesis_template,
},
headers=self.headers,
model=model or self.model,
api_key=self.token,
)
response = self._inner_post(request_parameters)
return ZeroShotImageClassificationOutputElement.parse_obj_as_list(response)
@_deprecate_method(
version="0.33.0",
message=(
"HF Inference API is getting revamped and will only support warm models in the future (no cold start allowed)."
" Use `HfApi.list_models(..., inference_provider='...')` to list warm models per provider."
),
)
def list_deployed_models(
self, frameworks: Union[None, str, Literal["all"], List[str]] = None
) -> Dict[str, List[str]]:
"""
3 Likes