Using Saagie Hugging Face Model Server as an App
Saagie HF ModelServer TextCLFapp by clicking New app from your project’s Apps page.
Your app appears in the project’s app library and is ready to go!
Click Open on your app card.
Saagie HF ModelServer TextCLFapp opens in a new tab.
In the Model Name field, enter the repository name of the Hugging Face model you want to deploy.
You can select a model directly from the Hugging Face Text Classification list. For example, the emotion classification model
In the Label field, specify the output labels of the model.
Click Deploy and wait for loading to finish.
Once finish, your model is ready to use.
To deploy another model, update the Model Name and Label fields.
Enter your text in the Text Classification field to predict it. Each line break indicates the beginning of a new sentence, and thus a new prediction.
Click Predict to get the prediction results.
Your text prediction appears in the Inference Results (8) field.