HF_TokenCategoryBlock {fastai}R Documentation

HF_TokenCategoryBlock

Description

'TransformBlock' for single-label categorical targets

Usage

HF_TokenCategoryBlock(
  vocab = NULL,
  ignore_token = NULL,
  ignore_token_id = NULL
)

Arguments

vocab

vocabulary

ignore_token

ignore token

ignore_token_id

ignore token id

Value

None


[Package fastai version 2.2.2 Index]