HF_TokenCategoryBlock: HF_TokenCategoryBlock

Description Usage Arguments Value

View source: R/blurr_hugging_face.R

Description

'TransformBlock' for single-label categorical targets

Usage

1
2
3
4
5
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


fastai documentation built on July 28, 2021, 5:06 p.m.