diff --git a/website/docs/api/curated-transformer.mdx b/website/docs/api/curated-transformer.mdx index 2ba03a4c8..d5bc00112 100644 --- a/website/docs/api/curated-transformer.mdx +++ b/website/docs/api/curated-transformer.mdx @@ -413,7 +413,7 @@ by this class. Instances of this class are typically assigned to the | `align` | Alignment from the `Doc`'s tokenization to the wordpieces. This is a ragged array, where `align.lengths[i]` indicates the number of wordpiece tokens that token `i` aligns against. The actual indices are provided at `align[i].dataXd`. ~~Ragged~~ | | `width` | The width of the last hidden layer. ~~int~~ | -### DocTransformerOutput.empty {id="transformerdata-emoty",tag="classmethod"} +### DocTransformerOutput.empty {id="transformerdata-empty",tag="classmethod"} Create an empty `DocTransformerOutput` container.