CREATE MODEL huggingface_model
PREDICT target_column
USING
engine = 'huggingface_engine', -- engine name as created via CREATE ML_ENGINE
model_name = 'hf_hub_model_name', -- choose one of PyTorch models from the Hugging Face Hub
task = 'task_name', -- choose one of 'text-classification', 'text-generation', 'zero-shot-classification', 'translation', 'summarization', 'text2text-generation', 'fill-mask'
input_column = 'column_name', -- column that stores input/question to the model
labels = ['label 1', 'label 2']; -- labels used to classify data (used for classification tasks)