Skip to content
HALOWERK

Modellwerk

tensor rope position phase

Return rotary embedding pair angles and sine-cosine values for supplied positions and dimensions.

POST https://modell.halowerk.com/v1/tensor-rope-position-phase

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
dimensionintegerYes
basenumberYes
positionsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "dimension": {
      "type": "integer",
      "minimum": 2,
      "maximum": 128
    },
    "base": {
      "type": "number",
      "minimum": 1.000001,
      "maximum": 1000000000
    },
    "positions": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 30,
      "minItems": 1
    }
  },
  "required": [
    "dimension",
    "base",
    "positions"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "dimension": 4,
  "base": 10000,
  "positions": [
    0,
    1
  ]
}

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