Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To use Hugging Face within MindsDB, install the required dependencies following this instruction.
Setup
Create an AI engine from the Hugging Face handler.huggingface_engine as an engine.
Usage
The following usage examples utilizehuggingface_engine to create a model with the CREATE MODEL statement.
Create a model to classify input text as spam or ham.
Next StepsFollow this link to see more use case examples.