HF_TokenCategoryBlock: HF_TokenCategoryBlock

View source: R/blurr_hugging_face.R

HF_TokenCategoryBlockR 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


fastai documentation built on March 21, 2022, 9:07 a.m.