HF_BaseInput: HF_BaseInput

Description Usage Arguments Value

View source: R/blurr_hugging_face.R

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

1

Arguments

...

parameters to pass

Value

None


fastai documentation built on Oct. 25, 2021, 5:08 p.m.