Skip to content
HALOWERK

Modellwerk

decoding temperature nucleus selection

Return stable temperature-softmax probabilities and the minimal top-p nucleus for supplied logits.

POST https://modell.halowerk.com/v1/decoding-temperature-nucleus-selection

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
logitsarrayYes
temperaturenumberYes
top_pnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "logits": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000,
        "maximum": 1000000
      },
      "maxItems": 300,
      "minItems": 1
    },
    "temperature": {
      "type": "number",
      "minimum": 0.001,
      "maximum": 100
    },
    "top_p": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1
    }
  },
  "required": [
    "logits",
    "temperature",
    "top_p"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "logits": [
    0,
    0
  ],
  "temperature": 1,
  "top_p": 0.6
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’