Datasaur Dinamic with Hugging Face
Introduction
Datasaur Dinamic with Hugging Face Auto Train helps you train and deploy models directly from labeled data in Datasaur. You can also use the trained model with ML-assisted labeling to generate predictions for unlabeled data.
This feature is available for both row labeling and span labeling projects.
Quick start guide
Here's a step-by-step guide to achieving optimal results with our Datasaur Dinamic using Hugging Face Auto Train provider:
Create a custom project using labeled or unlabeled data.
If the dataset is unlabeled, start by labeling part of the data first. For example, if the dataset has 20 rows, you can label 10–15 rows and automate the rest later.
Enable the Datasaur Dinamic extension from the Manage extensions dialog.

Datasaur Dinamic with Hugging Face
Prepare Hugging Face credentials
Before training the model, prepare the following credentials:
Your username or organization name in Hugging Face.
An API access token.
When creating the API token, make sure all required permissions are enabled. To use the trained model with ML-assisted labeling, enable Inference Endpoints.

Train the model
Open the Datasaur Dinamic extension.
Enter your Hugging Face username or organization name and API token.
For row labeling projects, select the input columns used for training and the target question.
Enable the Deploy dedicated inference endpoint option.
Click Train to start training the model.
After training starts, wait for the model to finish deploying. You can also monitor the model and dataset from your Hugging Face profile.
Once deployment is complete, the extension displays the model URL in the Model name field.

Label remaining data with ML-assisted labeling
After the model is deployed, you can use the model in the ML-assisted labeling extension for labeling with the Hugging Face provider.
Copy the model name in Model name field from the Datasaur Dinamic extension.
Enable the ML-assisted labeling extension and select Hugging Face as your provider.
Paste the model name to the Model name field in the ML-assisted labeling extension.

Enter your API token and set the confidence score.
Click Predict labels to generate labels for the remaining data.
This workflow helps reduce the amount of manual labeling needed for large datasets.
Last updated
Was this helpful?