DashAI.back.converters.hugging_face_wrapper.HuggingFaceWrapper

class HuggingFaceWrapper(**kwargs)[source]

Abstract base wrapper for HuggingFace transformers.

__init__(**kwargs)[source]

Methods

__init__(**kwargs)

changes_row_count()

Indicates if the converter changes the number of rows in the dataset.

fit(x[, y])

Validate parameters and prepare for transformation.

get_metadata()

Get metadata values for the current converter.

get_schema()

Generates the component related Json Schema.

transform(x[, y])

Transform the input data using the model.

validate_and_transform(raw_data)

It takes the data given by the user to initialize the model and returns it with all the objects that the model needs to work.

Attributes

DESCRIPTION

DISPLAY_NAME

SHORT_DESCRIPTION

SUPERVISED

TYPE

metadata