{"id":2968470,"date":"2026-06-02T04:10:54","date_gmt":"2026-06-02T11:10:54","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2968470"},"modified":"2026-06-10T12:42:43","modified_gmt":"2026-06-10T19:42:43","slug":"unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis","title":{"rendered":"How to use Hugging Face Hub Models for Text Analysis in ArcGIS"},"author":154341,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[770712,23341],"tags":[758311,665211,578561,767302],"industry":[],"product":[36561],"class_list":["post-2968470","blog","type-blog","status-publish","format-standard","hentry","category-geoai","category-analytics","tag-ai","tag-geoai","tag-natural-language-processing","tag-text-analysis","product-arcgis-pro"],"acf":{"authors":[{"ID":154341,"user_firstname":"Nicholas","user_lastname":"Giner","nickname":"Nick Giner","user_nicename":"nginer","display_name":"Nicholas Giner","user_email":"NGiner@esri.com","user_url":"","user_registered":"2021-01-07 14:31:25","user_description":"Nick Giner is a Product Manager for Spatial Analysis and Data Science.  Prior to joining Esri in 2014, he completed Bachelor\u2019s and PhD degrees in Geography from Penn State University and Clark University, respectively. In his spare time, he likes to play guitar, golf, cook, cut the grass, and read\/watch shows about history.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/01\/headshot-e1610030307989-213x200.jpeg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"short_description":"Seamlessly integrate Hugging Face AI models directly into ArcGIS workflows","flexible_content":[{"acf_fc_layout":"content","content":"<p><em>One of the highlights of attending Esri User Conferences is meeting users and colleagues from around the world and learning about the important work they do with ArcGIS software.\u00a0 In this blog, I&#8217;m proud to include my co-author \u00c1lvaro Guti\u00e9rrez from Esri Spain, who will help share some new ways to use AI with unstructured text data in ArcGIS.<\/em><\/p>\n<p>The ArcGIS Living Atlas of the World contains nearly 100 <strong><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/get-started\/intro.htm\">pretrained AI models<\/a><\/strong> that help you to easily get started with using geospatial AI (GeoAI) to extract features and information from your data.<\/p>\n<p>As part of this larger set of pretrained models, we\u2019ve added several new deep learning packages (DLPK) that allow you to seamlessly integrate open-source, pretrained AI models from Hugging Face Hub directly into your ArcGIS workflows.<\/p>\n"},{"acf_fc_layout":"content","content":"<h2>What is Hugging Face Hub?<\/h2>\n<p>The <a href=\"https:\/\/huggingface.co\/\"><strong>Hugging Face Hub<\/strong><\/a> is a platform where the global AI community shares and collaborates in their machine learning workflows. It acts as a central repository and collaboration space for the AI Community, hosting over 2 million state-of-the-art, community contributed AI models for a variety of computer vision, natural language processing, audio, tabular, and multimodal tasks.<\/p>\n<h2>Hugging Face Deep Learning Packages<\/h2>\n<p>The ArcGIS Living Atlas hosts 12 deep learning packages for the different tasks that you can perform with Hugging Face Hub models\u20146 for text analysis tasks and 6 for imagery tasks.<\/p>\n<p><strong>Text<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/text\/introduction-to-hf-entity-recognition.htm\">HF Entity Recognition<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/text\/introduction-to-hf-text-classification.htm\">HF Text Classification<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/text\/introduction-to-hf-text-question-answering.htm\">HF Text Question Answering<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/text\/introduction-to-hf-text-summarization.htm\">HF Text Summarization<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/text\/introduction-to-hf-text-translation.htm\">HF Text Translation<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/text\/introduction-to-zero-shot-text-classification.htm\">HF Zero-Shot Text Classification<\/a><\/li>\n<\/ul>\n<p><strong>\u00a0<\/strong><strong>Imagery<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/imagery\/introduction-to-hf-image-inpainting.htm\">HF Image Inpainting<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/imagery\/introduction-to-hf-object-classification.htm\">HF Object Classification<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/imagery\/introduction-to-hf-object-detection.htm\">HF Object Detection<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/imagery\/introduction-to-hf-pixel-classification.htm\">HF Pixel Classification<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/imagery\/introduction-to-visual-question-answering.htm\">HF Visual Question Answering<\/a><\/li>\n<li><a href=\"https:\/\/doc.arcgis.com\/en\/pretrained-models\/latest\/imagery\/introduction-to-hf-zero-shot-classification.htm\">HF Zero-Shot Classification<\/a><\/li>\n<\/ul>\n<p>In this blog, we\u2019ll walk through two separate workflows that leverage this seamless integration between Hugging Face Hub and ArcGIS for text analysis, demonstrating the use of natural language processing in GIS.<\/p>\n"},{"acf_fc_layout":"content","content":"<h2>Text Classification: Sentiment Analysis of Public Surveys<\/h2>\n<p>The first example is from \u00c1lvaro Guti\u00e9rrez of Esri Spain, who presented the following workflow at the Esri European Developer &amp; Technology Summit in Frankfurt, Germany in November 2025.<\/p>\n<p>To better understand the type of challenge this workflow is designed to address, it is useful to start with a situation that is common to many large cities: Urban waste management often generates a substantial volume of citizen feedback related to service quality, cleanliness, or operational issues across different neighbourhoods.<\/p>\n<p>Many local administrations provide digital channels that allow residents to report issues, submit complaints, or share suggestions regarding municipal services. These inputs are frequently georeferenced and include open text fields where citizens describe their concerns in natural language, resulting in large amounts of unstructured but highly valuable information and data.<\/p>\n<p>In this context, Madrid (Spain) serves as a representative example. The City Council provides a public survey to submit suggestions and complaints about municipal services, including the waste management service.\u00a0 This submitted information is georeferenced and contains a field for the submitter to describe their suggestion or complaint in natural language.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968473,"id":2968473,"title":"Madrid_trash","filename":"Madrid_trash.jpg","filesize":201207,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/madrid_trash","alt":"","author":"154341","description":"","caption":"Image of Madrid\u2019s waste collection service containers.","name":"madrid_trash","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 19:51:48","modified":"2026-06-02 17:53:01","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1327,"height":465,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash.jpg","medium-width":464,"medium-height":163,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash.jpg","medium_large-width":768,"medium_large-height":269,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash.jpg","large-width":1327,"large-height":465,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash.jpg","1536x1536-width":1327,"1536x1536-height":465,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash.jpg","2048x2048-width":1327,"2048x2048-height":465,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash-826x289.jpg","card_image-width":826,"card_image-height":289,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_trash.jpg","wide_image-width":1327,"wide_image-height":465}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>The goal here is to use AI to analyse the sentiment of these survey submissions to see which ones may be negative, and, if possible, use this information with spatial analysis techniques to identify inefficiencies in the waste management system.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968475,"id":2968475,"title":"Madrid_map_1","filename":"Madrid_map_1.jpg","filesize":347335,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/madrid_map_1","alt":"","author":"154341","description":"","caption":"Example of the georeferenced survey responses about Madrid\u2019s waste management system.","name":"madrid_map_1","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 19:54:58","modified":"2026-06-01 19:55:38","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1192,"height":936,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1.jpg","medium-width":332,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1.jpg","medium_large-width":768,"medium_large-height":603,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1.jpg","large-width":1192,"large-height":936,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1.jpg","1536x1536-width":1192,"1536x1536-height":936,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1.jpg","2048x2048-width":1192,"2048x2048-height":936,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1-592x465.jpg","card_image-width":592,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_1.jpg","wide_image-width":1192,"wide_image-height":936}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"image","image":{"ID":2968477,"id":2968477,"title":"Alvaro_workflow","filename":"Alvaro_workflow.jpg","filesize":73906,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/alvaro_workflow","alt":"","author":"154341","description":"","caption":"Example of the sentiment analysis workflow using Hugging Face models and ArcGIS GeoAI tools.","name":"alvaro_workflow","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 19:56:25","modified":"2026-06-02 11:16:50","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1256,"height":326,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow.jpg","medium-width":464,"medium-height":120,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow.jpg","medium_large-width":768,"medium_large-height":199,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow.jpg","large-width":1256,"large-height":326,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow.jpg","1536x1536-width":1256,"1536x1536-height":326,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow.jpg","2048x2048-width":1256,"2048x2048-height":326,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow-826x214.jpg","card_image-width":826,"card_image-height":214,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Alvaro_workflow.jpg","wide_image-width":1256,"wide_image-height":326}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>In this case, we\u2019ll use Hugging Face Hub to download the\u00a0<a href=\"https:\/\/huggingface.co\/citizenlab\/distilbert-base-multilingual-cased-toxicity\"><strong>distilbert-base-multilingual-cased-toxicity<\/strong>\u00a0<\/a>pretrained model from <a href=\"https:\/\/en.wikipedia.org\/wiki\/Citizen_Lab\"><strong>Citizen Lab<\/strong><\/a>.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968480,"id":2968480,"title":"HF_Toxicity","filename":"HF_Toxicity.jpg","filesize":261078,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/hf_toxicity","alt":"","author":"154341","description":"","caption":"","name":"hf_toxicity","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 19:57:10","modified":"2026-06-01 19:57:10","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1696,"height":737,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity.jpg","medium-width":464,"medium-height":202,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity.jpg","medium_large-width":768,"medium_large-height":334,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity.jpg","large-width":1696,"large-height":737,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity-1536x667.jpg","1536x1536-width":1536,"1536x1536-height":667,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity.jpg","2048x2048-width":1696,"2048x2048-height":737,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity-826x359.jpg","card_image-width":826,"card_image-height":359,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Toxicity.jpg","wide_image-width":1696,"wide_image-height":737}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<ul>\n<li>This is a pretrained text classification model based on the DistilBERT architecture, a lighter, faster variant of BERT. It uses the \u201cmultilingual-cased\u201d model as its base, meaning it supports multiple languages and preserves case. <strong>This is vital, because all of the survey submissions are in Spanish!<\/strong><\/li>\n<li>It has been fine-tuned for a toxicity classification task: i.e., given an input sentence, it predicts whether it\u2019s \u201ctoxic\u201d or \u201cnot_toxic\u201d.\u00a0 In this case, a \u201ctoxic\u201d comment is one that is rude, offensive, or otherwise disrespectful.<\/li>\n<li>The training data comes from the <a href=\"https:\/\/www.kaggle.com\/c\/jigsaw-toxic-comment-classification-challenge\"><strong>Jigsaw Toxic Comment Classification Challenge<\/strong><\/a> dataset (via Kaggle) which contains labelled comments (toxic vs not).<\/li>\n<\/ul>\n<p>Because sentiment analysis is a text classification task, we\u2019ll choose the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=27e3d73fafdd4d568a08f8bc9068721e\"><strong>HF Text Classification<\/strong><\/a> pretrained model.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968481,"id":2968481,"title":"HF_models_LivingAtlas","filename":"HF_models_LivingAtlas.jpg","filesize":223168,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/hf_models_livingatlas","alt":"","author":"154341","description":"","caption":"","name":"hf_models_livingatlas","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 19:58:24","modified":"2026-06-01 19:58:24","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1820,"height":803,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas.jpg","medium-width":464,"medium-height":205,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas.jpg","medium_large-width":768,"medium_large-height":339,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas.jpg","large-width":1820,"large-height":803,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas-1536x678.jpg","1536x1536-width":1536,"1536x1536-height":678,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas.jpg","2048x2048-width":1820,"2048x2048-height":803,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas-826x364.jpg","card_image-width":826,"card_image-height":364,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_models_LivingAtlas.jpg","wide_image-width":1820,"wide_image-height":803}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Once we have downloaded this model as a deep learning package, we\u2019ll open the <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/geoai\/classify-text-using-deep-learning.htm\"><strong>Classify Text Using Deep Learning<\/strong><\/a> tool in ArcGIS Pro\u2019s GeoAI toolbox.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968483,"id":2968483,"title":"GeoAI_toolbox","filename":"GeoAI_toolbox.jpg","filesize":106621,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/geoai_toolbox","alt":"","author":"154341","description":"","caption":"","name":"geoai_toolbox","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:00:38","modified":"2026-06-01 20:00:38","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1131,"height":607,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox.jpg","medium-width":464,"medium-height":249,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox.jpg","medium_large-width":768,"medium_large-height":412,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox.jpg","large-width":1131,"large-height":607,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox.jpg","1536x1536-width":1131,"1536x1536-height":607,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox.jpg","2048x2048-width":1131,"2048x2048-height":607,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox-826x443.jpg","card_image-width":826,"card_image-height":443,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/GeoAI_toolbox.jpg","wide_image-width":1131,"wide_image-height":607}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"image","image":{"ID":2968484,"id":2968484,"title":"ClassifyText_tool","filename":"ClassifyText_tool.jpg","filesize":111920,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/classifytext_tool","alt":"","author":"154341","description":"","caption":"","name":"classifytext_tool","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:00:55","modified":"2026-06-01 20:00:55","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":897,"height":651,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool.jpg","medium-width":360,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool.jpg","medium_large-width":768,"medium_large-height":557,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool.jpg","large-width":897,"large-height":651,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool.jpg","1536x1536-width":897,"1536x1536-height":651,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool.jpg","2048x2048-width":897,"2048x2048-height":651,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool-641x465.jpg","card_image-width":641,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/ClassifyText_tool.jpg","wide_image-width":897,"wide_image-height":651}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>First, we pass in the \u201cSurveyAnswers\u201d table, which contains all of the survey data submitted to the Madrid City Council.\u00a0\u00a0 We then select \u201cdescripci\u00f3n\u201d as the <em>Text Field<\/em>, which is the column that stores the text description we want to classify as \u201ctoxic\u201d or \u201cnon-toxic\u201d.<\/p>\n<p>In the <em>Input Model Definition File<\/em> parameter, we point to the Hugging Face Text Classification DLPK that we downloaded from the Living Atlas.\u00a0 Last, we specify the ID of the Hugging Face model, which can be found on each Model Card in the Hugging Face Hub.<\/p>\n<p>Running the tool produces an output table with two new fields: \u201cToxicityLabel\u201d and \u201cprediction_confidence\u201d.\u00a0 The \u201cToxicityLabel\u201d field contains the classification of the survey submission description as \u201ctoxic\u201d or \u201cnon-toxic\u201d.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968486,"id":2968486,"title":"Madrid_map_2","filename":"Madrid_map_2.jpg","filesize":362949,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/madrid_map_2","alt":"","author":"154341","description":"","caption":"","name":"madrid_map_2","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:02:56","modified":"2026-06-01 20:02:56","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1242,"height":979,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2.jpg","medium-width":331,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2.jpg","medium_large-width":768,"medium_large-height":605,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2.jpg","large-width":1242,"large-height":979,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2.jpg","1536x1536-width":1242,"1536x1536-height":979,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2.jpg","2048x2048-width":1242,"2048x2048-height":979,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2-590x465.jpg","card_image-width":590,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_2.jpg","wide_image-width":1242,"wide_image-height":979}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Because our output table also has location information (\u201cLatitud\u201d, \u201cLongitud\u201d), we can map the results of the survey and symbolize it to show survey results that were classified as \u201ctoxic\u201d.\u00a0 At that point, the spatial analysis possibilities are endless.\u00a0 For example, we can perform a <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/spatial-analyst\/kernel-density.htm\"><strong>Kernel Density<\/strong><\/a> analysis or <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/spatial-statistics\/densitybasedclustering.htm\"><strong>Density-based Clustering<\/strong>\u00a0<\/a>to get an understanding of where the highest concentrations of waste management-related survey responses were located in Madrid.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968492,"id":2968492,"title":"Madrid_map_3","filename":"Madrid_map_3-1.jpg","filesize":334705,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/madrid_map_3-2","alt":"","author":"154341","description":"","caption":"","name":"madrid_map_3-2","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:12:04","modified":"2026-06-01 20:12:04","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1251,"height":979,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1.jpg","medium-width":334,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1.jpg","medium_large-width":768,"medium_large-height":601,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1.jpg","large-width":1251,"large-height":979,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1.jpg","1536x1536-width":1251,"1536x1536-height":979,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1.jpg","2048x2048-width":1251,"2048x2048-height":979,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1-594x465.jpg","card_image-width":594,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Madrid_map_3-1.jpg","wide_image-width":1251,"wide_image-height":979}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Our analysis highlights several areas where the waste management service can be optimized to better meet residents\u2019 needs. Complementing this, the results of the text classification process show that most survey respondents generally maintain a positive and cooperative attitude toward municipal services!<\/p>\n"},{"acf_fc_layout":"content","content":"<h2>Text Translation: Language Translation from Latvian to English<\/h2>\n<p>The next workflow was inspired by a customer conversation at the Esri European Developer &amp; Technology Summit in November 2025.\u00a0 Their question was simple:<\/p>\n<p><em>\u201cCan I use GeoAI tools to translate a column in my dataset from Latvian to English?&#8221;<\/em><\/p>\n<p>The answer is yes, Hugging Face to the rescue!<\/p>\n<p>In this simple example, we have a point feature class of about 360 locations in Latvia.\u00a0 The \u201cPLACENAME\u201d field contains unstructured text data in Latvian.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968488,"id":2968488,"title":"Latvia_map","filename":"Latvia_map.jpg","filesize":214683,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/latvia_map","alt":"","author":"154341","description":"","caption":"","name":"latvia_map","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:07:53","modified":"2026-06-01 20:07:53","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1339,"height":1040,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map.jpg","medium-width":336,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map.jpg","medium_large-width":768,"medium_large-height":597,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map.jpg","large-width":1339,"large-height":1040,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map.jpg","1536x1536-width":1339,"1536x1536-height":1040,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map.jpg","2048x2048-width":1339,"2048x2048-height":1040,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map-599x465.jpg","card_image-width":599,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/Latvia_map.jpg","wide_image-width":1339,"wide_image-height":1040}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>To translate this field to English, we\u2019ll download the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=91d82b1ba588488b876499efbb978429\"><strong>HF Text Translation<\/strong><\/a> deep learning package from the Living Atlas.\u00a0 This model allows you to easily connect to the rich ecosystem of Hugging Face models for text translation tasks.\u00a0 Fortunately for us, there is a research group at the University of Helsinki who has developed and shared <a href=\"https:\/\/huggingface.co\/Helsinki-NLP\/opus-mt-tc-big-lv-en\"><strong>Helsinki-NLP\/opus-mt-tc-big-lv-en<\/strong><\/a>, a machine translation model specifically trained to translate text from Latvian to English.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968489,"id":2968489,"title":"HF_Latvian","filename":"HF_Latvian.jpg","filesize":289206,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/hf_latvian","alt":"","author":"154341","description":"","caption":"","name":"hf_latvian","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:08:36","modified":"2026-06-01 20:08:36","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1693,"height":697,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian.jpg","medium-width":464,"medium-height":191,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian.jpg","medium_large-width":768,"medium_large-height":316,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian.jpg","large-width":1693,"large-height":697,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian-1536x632.jpg","1536x1536-width":1536,"1536x1536-height":632,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian.jpg","2048x2048-width":1693,"2048x2048-height":697,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian-826x340.jpg","card_image-width":826,"card_image-height":340,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/HF_Latvian.jpg","wide_image-width":1693,"wide_image-height":697}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>After downloading the DLPK, we\u2019ll open the <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/geoai\/transform-text-using-deep-learning.htm\"><strong>Transform Text Using Deep Learning<\/strong><\/a> tool in ArcGIS Pro.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968493,"id":2968493,"title":"TransformText_tool","filename":"TransformText_tool.jpg","filesize":108137,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/transformtext_tool","alt":"","author":"154341","description":"","caption":"","name":"transformtext_tool","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:12:30","modified":"2026-06-01 20:12:30","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":649,"height":783,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool.jpg","medium-width":216,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool.jpg","medium_large-width":649,"medium_large-height":783,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool.jpg","large-width":649,"large-height":783,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool.jpg","1536x1536-width":649,"1536x1536-height":783,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool.jpg","2048x2048-width":649,"2048x2048-height":783,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool-385x465.jpg","card_image-width":385,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_tool.jpg","wide_image-width":649,"wide_image-height":783}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>We\u2019ll first pass in our input table containing the point locations in Latvia, then specify \u201cPLACENAME\u201d as the <em>Text Field<\/em> to be translated.\u00a0 Next, we point to the HF Text Translation DLPK as the <em>Input Model Definition File<\/em>.\u00a0 Under <em>Model Arguments<\/em>, we\u2019ll paste the ID of the Hugging Face model we want to use.\u00a0 Last, we\u2019ll specify \u201clv\u201d (Latvian) as the <em>Source Language<\/em>, \u201cen\u201d (English) as the <em>Target Language<\/em>, then run the tool.<\/p>\n<p>In less than 1 minute, we have a new field added to our table with an English translation of over 360 point locations.\u00a0 This was so much easier and faster than manually copying and pasting each row into a text translator, then copying and pasting the results back into the attribute table!<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2968495,"id":2968495,"title":"TransformText_results","filename":"TransformText_results.jpg","filesize":466721,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\/transformtext_results","alt":"","author":"154341","description":"","caption":"","name":"transformtext_results","status":"inherit","uploaded_to":2968470,"date":"2026-06-01 20:14:21","modified":"2026-06-01 20:14:21","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1687,"height":1014,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results.jpg","medium-width":434,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results.jpg","medium_large-width":768,"medium_large-height":462,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results.jpg","large-width":1687,"large-height":1014,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results-1536x923.jpg","1536x1536-width":1536,"1536x1536-height":923,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results.jpg","2048x2048-width":1687,"2048x2048-height":1014,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results-774x465.jpg","card_image-width":774,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2026\/06\/TransformText_results.jpg","wide_image-width":1687,"wide_image-height":1014}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h2>Conclusion<\/h2>\n<p>This blog highlighted the use of two pretrained AI models that seamlessly integrate Hugging Face Hub models with ArcGIS for text classification and text translation use cases.\u00a0 Be sure to check out the other Hugging Face models available on the Living Atlas for text analysis problems including entity extraction, text summarization, and question\/answering!<\/p>\n"}],"related_articles":"","show_article_image":false,"card_image":false,"wide_image":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Hugging Face Hub Models for Text Analysis in ArcGIS<\/title>\n<meta name=\"description\" content=\"Learn how to use Hugging Face Hub models in ArcGIS for text classification, sentiment analysis, translation, and geospatial AI workflows.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use Hugging Face Hub Models for Text Analysis in ArcGIS\" \/>\n<meta property=\"og:description\" content=\"Learn how to use Hugging Face Hub models in ArcGIS for text classification, sentiment analysis, translation, and geospatial AI workflows.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-10T19:42:43+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\"},\"author\":{\"name\":\"Nicholas Giner\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/2dc4741deea59d3274cfa775e52501b2\"},\"headline\":\"How to use Hugging Face Hub Models for Text Analysis in ArcGIS\",\"datePublished\":\"2026-06-02T11:10:54+00:00\",\"dateModified\":\"2026-06-10T19:42:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\"},\"wordCount\":12,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"AI\",\"geoAI\",\"natural language processing\",\"text analysis\"],\"articleSection\":[\"AI\",\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\",\"name\":\"How to Use Hugging Face Hub Models for Text Analysis in ArcGIS\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2026-06-02T11:10:54+00:00\",\"dateModified\":\"2026-06-10T19:42:43+00:00\",\"description\":\"Learn how to use Hugging Face Hub models in ArcGIS for text classification, sentiment analysis, translation, and geospatial AI workflows.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use Hugging Face Hub Models for Text Analysis in ArcGIS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/2dc4741deea59d3274cfa775e52501b2\",\"name\":\"Nicholas Giner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/01\/headshot-e1610030307989-213x200.jpeg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/01\/headshot-e1610030307989-213x200.jpeg\",\"caption\":\"Nicholas Giner\"},\"description\":\"Nick Giner is a Product Manager for Spatial Analysis and Data Science. Prior to joining Esri in 2014, he completed Bachelor\u2019s and PhD degrees in Geography from Penn State University and Clark University, respectively. In his spare time, he likes to play guitar, golf, cook, cut the grass, and read\/watch shows about history.\",\"sameAs\":[\"www.linkedin.com\/in\/nicholas-giner-0282966b\",\"https:\/\/x.com\/NickGiner\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/nginer\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use Hugging Face Hub Models for Text Analysis in ArcGIS","description":"Learn how to use Hugging Face Hub models in ArcGIS for text classification, sentiment analysis, translation, and geospatial AI workflows.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis","og_locale":"en_US","og_type":"article","og_title":"How to use Hugging Face Hub Models for Text Analysis in ArcGIS","og_description":"Learn how to use Hugging Face Hub models in ArcGIS for text classification, sentiment analysis, translation, and geospatial AI workflows.","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2026-06-10T19:42:43+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","twitter_misc":{"Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis"},"author":{"name":"Nicholas Giner","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/2dc4741deea59d3274cfa775e52501b2"},"headline":"How to use Hugging Face Hub Models for Text Analysis in ArcGIS","datePublished":"2026-06-02T11:10:54+00:00","dateModified":"2026-06-10T19:42:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis"},"wordCount":12,"commentCount":0,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["AI","geoAI","natural language processing","text analysis"],"articleSection":["AI","Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis","name":"How to Use Hugging Face Hub Models for Text Analysis in ArcGIS","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2026-06-02T11:10:54+00:00","dateModified":"2026-06-10T19:42:43+00:00","description":"Learn how to use Hugging Face Hub models in ArcGIS for text classification, sentiment analysis, translation, and geospatial AI workflows.","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/geoai\/unlock-the-potential-of-hugging-face-hub-models-for-text-analysis-in-arcgis#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"How to use Hugging Face Hub Models for Text Analysis in ArcGIS"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/2dc4741deea59d3274cfa775e52501b2","name":"Nicholas Giner","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/01\/headshot-e1610030307989-213x200.jpeg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/01\/headshot-e1610030307989-213x200.jpeg","caption":"Nicholas Giner"},"description":"Nick Giner is a Product Manager for Spatial Analysis and Data Science. Prior to joining Esri in 2014, he completed Bachelor\u2019s and PhD degrees in Geography from Penn State University and Clark University, respectively. In his spare time, he likes to play guitar, golf, cook, cut the grass, and read\/watch shows about history.","sameAs":["www.linkedin.com\/in\/nicholas-giner-0282966b","https:\/\/x.com\/NickGiner"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/nginer"}]}},"text_date":"June 2, 2026","author_name":"Nicholas Giner","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/nginer","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":"ArcGIS Pro","tag_data":[{"term_id":758311,"name":"AI","slug":"ai","term_group":0,"term_taxonomy_id":758311,"taxonomy":"post_tag","description":"","parent":0,"count":33,"filter":"raw"},{"term_id":665211,"name":"geoAI","slug":"geoai","term_group":0,"term_taxonomy_id":665211,"taxonomy":"post_tag","description":"","parent":0,"count":38,"filter":"raw"},{"term_id":578561,"name":"natural language processing","slug":"natural-language-processing","term_group":0,"term_taxonomy_id":578561,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"},{"term_id":767302,"name":"text analysis","slug":"text-analysis","term_group":0,"term_taxonomy_id":767302,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"}],"category_data":[{"term_id":770712,"name":"AI","slug":"geoai","term_group":0,"term_taxonomy_id":770712,"taxonomy":"category","description":"","parent":0,"count":54,"filter":"raw"},{"term_id":23341,"name":"Analytics","slug":"analytics","term_group":0,"term_taxonomy_id":23341,"taxonomy":"category","description":"","parent":0,"count":1355,"filter":"raw"}],"product_data":[{"term_id":36561,"name":"ArcGIS Pro","slug":"arcgis-pro","term_group":0,"term_taxonomy_id":36561,"taxonomy":"product","description":"","parent":0,"count":2111,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-pro","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2968470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/154341"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=2968470"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2968470\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=2968470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=2968470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=2968470"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=2968470"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=2968470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}