Skip To Content

Introduction to the model

Banner image for the model

The HF Zero Shot Text Classification deep learning package seamlessly integrates pretrained zero-shot classification models from the Hugging Face Hub with ArcGIS, allowing you to classify text into user-defined categories without the need for task-specific training data. With this package, you can analyze unstructured text—such as survey responses, citizen feedback, or incident reports—and automatically assign it to relevant categories, enabling faster organization and decision-making.

The deep learning package is compatible with a wide range of Hugging Face models for Zero-Shot Classification tasks. Before running a model, ensure compliance with its licensing terms, which are listed on the Hugging Face model page. Use only trusted models, as they include weights and code that could impact system security. Since model sizes vary, confirm that adequate CPU/GPU memory is available for inference.

Model details

This model has the following characteristics:

  • Input—A feature class or table containing text.
  • Output—A feature class or table with a new column containing the classified classes from the input text.
  • Compute—This workflow is compute intensive, and a GPU with minimum CUDA compute capability of 6.0 is recommended.
  • Architecture—Uses a Hugging Face pretrained model tagged with Zero-Shot Classification, identified by its model ID.

Access and download the model

Download the HF Zero Shot Text Classification pretrained model from ArcGIS Living Atlas of the World. Alternatively, access the model directly from ArcGIS Pro using the Process Text Using AI Model tool or consume it in ArcGIS Image for ArcGIS Online.

  1. Browse to ArcGIS Living Atlas of the World.
  2. Sign in with your ArcGIS Online credentials.
  3. Search for HF Zero-Shot Text Classification and open the item page from the search results.
  4. Click the Download button to download the model.

    You can use the downloaded .dlpk file directly in ArcGIS Pro, or upload and use it in ArcGIS Enterprise.

Release notes

The following are the release notes:

DateDescription

September 2025

First release of HF Zero Shot Text Classification