resp = client.inference.get_model( task_type="sparse_embedding", inference_id="my-elser-model", ) print(resp)