Using Saagie Hugging Face Model Server as an App

You can use the Saagie Hugging Face Model Server’s user-friendly interface to quickly and easily deploy and predict Hugging Face deep learning models for text classification.

Before you begin:
  1. Create the Saagie HF ModelServer TextCLF app by clicking Install an app from your project’s The Apps page icon is a PC screen with a star in the middle. Apps page.
    Your app appears in the project’s app library and is ready to go!

  2. Click Open open external on your app card.
    The Saagie HF ModelServer TextCLF app opens in a new tab.

  3. 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 j-hartmann/emotion-english-distilroberta-base.
    add on hugging face app use
  4. In the Label field, specify the output labels of the model.

  5. 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.
  6. 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.

  7. Click Predict to get the prediction results.
    Your text prediction appears in the Inference Results (8) field.