HF_BaseInput {fastai}R Documentation

HF_BaseInput

Description

A HF_BaseInput object is returned from the decodes method of HF_BatchTransform as a mean to customize '@typedispatched' functions like DataLoaders.show_batch and Learner.show_results. It represents the "input_ids" of a huggingface sequence as a tensor with a show method that requires a huggingface tokenizer for proper display.

Usage

HF_BaseInput(...)

Arguments

...

parameters to pass

Value

None


[Package fastai version 2.2.2 Index]