Shortcuts

TextClassificationInput

class flash.text.classification.input.TextClassificationInput(running_stage, *args, transform=None, transform_kwargs=None, input_transforms_registry=None, **kwargs)[source]
load_data(hf_dataset, input_key, target_keys=None, target_formatter=None)[source]

Loads data into HuggingFace datasets.Dataset.

Return type

object

Read the Docs v: 0.7.0
Versions
latest
stable
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
docs-fix_typing
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.