Hugging Face · Example Payload

Hugging Face Text Generation Inference Info Example

Hugging Face Text Generation Inference Info Example is an example object payload from Hugging Face, with 18 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

model_idmodel_shamodel_dtypemodel_device_typemodel_pipeline_tagmax_concurrent_requestsmax_best_ofmax_stop_sequencesmax_input_lengthmax_total_tokenswaiting_served_ratiomax_batch_total_tokensmax_waiting_tokensvalidation_workersmax_client_batch_sizeversionshadocker_label

Example Payload

Raw ↑
{
  "model_id": "500123",
  "model_sha": "example_value",
  "model_dtype": "example_value",
  "model_device_type": "example_value",
  "model_pipeline_tag": "example_value",
  "max_concurrent_requests": 10,
  "max_best_of": 10,
  "max_stop_sequences": 10,
  "max_input_length": 10,
  "max_total_tokens": 10,
  "waiting_served_ratio": 42.5,
  "max_batch_total_tokens": 10,
  "max_waiting_tokens": 10,
  "validation_workers": 10,
  "max_client_batch_size": 10,
  "version": "example_value",
  "sha": "example_value",
  "docker_label": "example_value"
}