Skip to content
HALOWERK

Modellwerk

llm topk probability mass

Return observed probability mass, residual mass and partial entropy from supplied natural log probabilities. Supplied data only; no model call or provider request.

POST https://modell.halowerk.com/v1/llm-topk-probability-mass

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
logprobsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "logprobs": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000,
        "maximum": 0
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "logprobs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "logprobs": [
    -0.6931471805599453,
    -1.3862943611198906
  ]
}

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 โ†’