Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

HF_BaseInput

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


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.