Building Production-Grade spaCy Text Classification Pipelines for Business Data
Unlock the full potential of spaCy with this guide to building production-grade text classification pipelines for business data.
Customers being able to find the exact product they’re looking for when searching your store or searching Google in the fewest steps possible is critical to the conversion rates of your ecommerce brand or marketplace. Customers have an ideal product in mind when they put in a search and rarely are interested in searching hard for it as 47% of users give up searching for a product after one attempt, and only 23% try 3 or more searches.
This is why it's critical that your products are categorized into the proper product categories in your taxonomy tree and product catalog. As changes to your tree happen (adding new categories, expanding new leaves) or as you add new products, updating how these products are categorized is a massive part of making sure buyers have a clear path to what they’re looking for.
Product data categorization is mostly done manually today and is a huge time consuming task that can lead to more and more human error as you scale the size of your tree and the number of products you have. This process becomes more expensive over time as the resources need to have a great understanding of your product data and the perfect fit for each product in available categories which requires better employees.
We’re going to look at how you can use Ai to automatically classify products into their correct categories in 5 easy steps that allow you to keep your products and product taxonomy tree(s) in sync 24/7.
Routinely classifying or reclassifying products into their best fit categories is a business process that produces a ton of benefits for ecommerce brands and marketplaces:
- Reduce Bounce Rate
- Improve internal & external SEO
- Improve internal product data tracking and metrics
- Instantly Increase Conversions
There are a few common instances where organizations manually work to classify product data into product categories in a taxonomy tree:
- A new product is created and needs to be classified into the correct categories. This requires manually reviewing the product information such as title, description, price, and attributes and deciding what category is the best fit based on the existing products and any data rules.
- An existing product taxonomy tree has been updated to either have new categories, deeper categories (“Cat Supplies” now has a “Cat Litter Box Mats” leaf), deleted categories, or combined categories. In the case of deleted or combined categories, this usually means the affected products must manually be refit to new categories. In the case of new categories or deeper categories, this requires much more effort as a large percentage of the “upstream” or surrounding products must be refit.
- Existing products need to be refit to an existing product taxonomies. Organizations do this when they feel they’re not getting good conversion rates and bounce rates from search result based buyers.
Manually adjusting products and product categories to better fit each other comes with a number of downfalls that grow as you scale the number of products and the size of your taxonomy tree.
Most retail companies still use full teams devoted to manually sorting products into categories and groupings. As the cost of labor continues to increase the effort required for this business process is rising. Another key issue that larger retailers find is the level of business understanding that is required for a manual laborer to correctly classify product data. These manual employees must have a strong understanding of product similarities, product category differentiation, and high level business goals that become affected by categorizing products.
The level of human effort doesn’t change as your products and categories grow as well, making it very difficult to streamline this business process with manual labor. The speed that which humans can classify product data does not increase at a rate that can offset the growth of a taxonomy tree or number of products.
Manually processing product data can lead to a high error rate when talking about some more difficult processes such as adding to trees or removing leaves in a tree.
The underlying relationship between any built product categorization rules and semantic similarities in products that lead to the same categorization can be difficult to understand. This often requires a deep understanding of general data categorization and internal methods of evaluating these parameters.
Machine learning (ML) and artificial intelligence allow us to completely remove any manual labor required to classify product data. These ML algorithms learn the relationship between product data and categories for us and can automatically fit products to the correct spot in a taxonomy tree with 98% accuracy.
The even larger benefit of automated product classification is the reduction of manual labor. We’ve seen on average these pipelines lead to 17x less work required to perform any of the tasks listed above and become even more efficient as the number of product data and categories grows in size.
Here’s how you can go from raw product data to classified product data in 5 easy steps with Pumice.ai automated product classification.
Gather the various products and their product data that you want to categorize into your product categories or taxonomy tree. Two product data fields, title and description, are required as they contain the bulk of the information needed for the artificial intelligence algorithms. Fields such as attributes, features, price, model etc can either be added as optional fields or appended to product description.
These can often be exported from your product information management system or internal product database.
Pumice.ai allows you to add your products to software via a CSV upload or a raw connection to the API. When uploading the CSV you’ll be asked to map specific columns to the data fields required. Raw API connection allows you to connect to the artificial intelligence algorithms without using the dashboard to use as a part of an application, cron job, or other useful methods. If you have a custom fine-tuned model the ID must be provided.
There are two different ways to categorize your product data and both can be used for a variety of use cases. These APIs differ in terms of the inputs they require and the outputs they produce and have different ML algorithms under the hood.
Upload your product taxonomy or a list of categories to fit products to
The dynamic API works to take product data and categorize it into a given taxonomy tree or list of categories. These machine learning models can be used on any set of categories and do not require training specific to your categories. This allows you to quickly make changes to how you structure your taxonomy and run products through multiple different trees. The output you’ll get is each product in the CSV or raw API connection fit into a specific category.
The non-dynamic API allows you to generate related categories that fit product data without providing your own tree. These categories are generated on a learned relationship that understands how to map product data to new categories that make the most sense without ever seeing your tree. This API is best used when you are looking to build a new tree and want to understand what artificial intelligence thinks you should name the category, or if you’re trying to compare your current category-to-product relationships to find a better fit that does not exist in your current tree.
The output from this endpoint is a category keyword as well as some product tags that make sense for this product data.
We’ve deployed a new ai model that allows you to compare the similarity between two products based on the same fields from before. This can be used alongside the key product data endpoints to further understand how related the products in a given category are to each other.
This is the easiest step of them all! Once you’ve uploaded your product data and taxonomy tree it’s a simple one-click to either generate categories & tags (non-dynamic) or fit the products to your tree. Single run endpoints require even fewer steps to generate this same information for a single product record.
Data will come back in the same structure (CSV/JSON) as what is used for the input. Custom integrations are provided with our Enterprise package allow for this data to be returned in a new structure or automatically integrated into PIMs or ecommerce hosting sites.
Once you’ve generated your new product data matches you can leverage the data by integrating it into various PIM and ecommerce systems manually or through a custom integration. These custom integrations allow you to increase the level of automation you have in this product data fitting business process and remove more manual steps. Our most popular custom integrations are:
- Sales Layer PIM
- Plytix PIM
- Google Sheets
- Raw internal database
We use a combination of existing APIs and machine learning models in our custom integrations to actually automate out these business processes past just connecting code.
Try our baseline models on Pumice.ai today and see how ai can automate your data classification tasks in a matter of minutes!
Unlock the full potential of spaCy with this guide to building production-grade text classification pipelines for business data.
We compare 12 AI text summarization models through a series of tests to see how BART text summarization holds up against GPT-3, PEGASUS, and more.
Let’s take a look at what intent classification is in conversational ai and how you can build a GPT-3 intent classification model for conversational ai and chatbot pipelines.
Discover the capabilities of zero-shot object detection, which enables anyone to use a model out-of-the-box without any training and generate production-grade results.
What is facial expression recognition and what SOTA models are being used today in production
Get a simple TensorFlow facial recognition model up & running quickly with this tutorial aimed at using it in your personal spaces on smartphones & IoT devices.
Explore accurate classification algorithms using the latest innovations in deep learning, computer vision, and natural language processing.
Learn what human activity recognition means, how it works, and how it’s implemented in various industries using the latest advances in artificial intelligence.
What is the the SetFit architecture and how does it outperform GPT-3 and other few shot large language models
What is image classification and how we build production level TensorFlow image classification systems for recognizing various products on a retail shelf.
Explore the application of intelligent document processing (IDP) in different industries and dive in-depth on intelligent document pipelines.
How to build an image classification model in PyTorch with a real world use case. How you can perform product recognition with image classification
Let's build a custom CTA generator that you'll actually want to use for your website copy
We’re going to look at how we built a state of the art NLP pipeline for blended summarization and NER to process master service agreements (MDAs) that vary the outputs based on the input document and what is deemed important information.
Get a comprehensive overview of a purchase order vs. invoice, including when businesses use each, what information goes in them, and more.
Learn what Google Shopping categories are used for and how you can automate fitting products to this taxonomy using ai.
Automatically categorize your Shopify store products to the Shopify Product Taxonomy instantly with ai based PIM software
Dive deep into 3-way invoice matching, including how it works, eight benefits for your business, and the problems with doing it manually.
Smart farming using computer vision and deep learning provides the most promising path forward in the slow-moving industry of agriculture.
How we leveraged large language models to build a legal clause rewriting pipeline that generates stronger language and more clarity in legal clauses
Using ai for document information extraction to automate various parts of the loan process.
Apply AI to your favorite sport with this guide. Learn how automated ball tracking can change the game for coaches and players.
Categorize your ecommerce products to the 2021 google product taxonomy tree instantly with our Ai software
Surveying the current landscape of ecommerce automation and how you can use ai to automate huge chunks of your product management.
Warehouse automation plays a crucial role across your supply chain. Learn about how machine learning and ai software can be integrated into your warehouse automation stack.
4 different NLP methods of summarizing longer input text into different methods such as extractive, abstractive, and blended summarization
iscover an invoice OCR tool that will revolutionize the way you handle invoices. There’s no human intervention needed & a dramatically lower per-invoice cost.
Instead of invoice matching taking upwards of a week, it could take mere seconds with the proper automation solution. Learn more here.
Manual and template-based invoicing are riddled with low accuracy and required human intervention. Learn how to systematically eliminate these issues with the right invoice data capture software.
A complete walkthrough guide on how to use visual search in ecommerce stores to create more sales and real examples of companies already using it.
Automating the extraction of data from invoices can reduce the stress of your accountants by finding inaccuracies, digitizing paper invoices, and more.
How you can use machine learning based data matching to compare data features in a scalable architecture for deduping, record merging, and operational efficiency
Learn how lifetime value or LTV prediction can improve your marketing strategies. Then, discover the best statistical & machine learning models for your predictions.
A deep understanding of how we use gpt-3 and other NLP processes to build flexible chatbot architectures that can handle negotiation, multiple conversation turns, and multiple sales tactics to increase conversions.
The popular HR company O.C. Tanner, which has been in business since 1927 and has over 1500 employees, was looking to research and design two GPT-3 software products to be used as internal tools with their clients. GPT-3 based products can be difficult to outline and design given the sheer lack of publicly available information around optimizing and improving these systems to a production level.
We’ll compare Tableau vs QlikView in terms of popularity, integrations, ease of use, performance, security, customization, and more.
With a context-aware recommender system, you can plan ways to recreate some of the contextual conditions that persuade them to buy more from you.
We’re going to walk through building a production level twitter sentiment analysis classifier using GPT-3 with the popular tweet dataset Sentiment140.
Find out how machine learning in medical imaging is transforming the healthcare world and making it more efficient with three use cases.
Discover ways that machine learning in health care informatics has become indispensable. Review the results of two case studies and consider two key challenges.
Accelerate your growth by pivoting key areas of your business to AI. Your business outcomes will be achieved quicker & you’ll see benefits you didn’t plan for.
We built a GPT-3 based software solution to automate raw data processing and data classification. Our model handles keyword extraction, named entity recognition, text classification | Case Study
We built a custom GPT-3 pipeline for key topic extraction for an asset management company that can be used across the financial domain | Case Study
How you can use GPT-3 to create higher order product categorization and product tagging from your ecommerce listings, and how you can create a powerful product taxonomy system with ai.
5 ways you can use product matching software in ecommerce to create real value that raises your sales metrics and improves your workflow operations.
Data mining and machine learning in cybersecurity enable businesses to ensure an acceptable level of data security 24/7 in highly dynamic IT environments. Learn how data security is getting increasingly automated.
Product recognition software has tremendous potential to improve your profits and slash your costs in your retail business. Find out just how useful it is.
Big data has evolved from hype to a crucial part of scaling your organization in every modern industry. Learn more about how big data is transforming organizations and providing business impacts.
Learn how natural language processing can benefit everybody involved in education from individual students and teachers to entire universities and mass testing agencies.
Here’s how automated data capture systems can benefit your business in some key ways and some real-life examples of what it looks like in practice.
Use these power ai and machine learning tools to create business intelligence in your marketing that pushes your business understanding and analytics past your competition.
We built a custom ML pipeline to automate information extraction and fine tuned it for the legal document domain.
In this practical guide, you'll get to know the principles, architectures, and technologies used for building a data lake implementation.
Find out how machine learning in biology is accelerating research and innovation in the areas of cancer treatment, medical devices, and more.
An enterprise data warehouse (EDW) is a repository of big data for an enterprise. It’s almost exclusive to business and houses a very specific type of data.
Dlib is a versatile and well-diffused facial recognition library, with perhaps an ideal balance of resource usage, accuracy and latency, suited for real-time face recognition in mobile app development. It's becoming a common and possibly even essential library in the facial recognition landscape, and, even in the face of more recent contenders, is a strong candidate for your computer vision and facial recognition or detection framework.
Learn how to utilize machine learning to get a higher customer retention rate with this step-by-step guide to a churn prediction model.
Machine learning algorithms are helping the oil and gas industry cut costs and improve efficiency. We'll show you how.
We’ll show you the difference between machine learning vs. data mining so you know how to implement them in your organization.
Here’s why you should use deep learning algorithms in your business, along with some real-world examples to help you see the potential.
Beam search is an algorithm used in many NLP and speech recognition models as a final decision making layer to choose the best output given target variables like maximum probability or next output character.
Best Place For was looking for an image recognition based software solution that could be used to detect and identify different food dishes, drinks, and menu items in images sourced from blogs and Instagram. The images would be pulled from restaurant locations on Instagram and different menu items would be identified in the images. This software solution has to be able to handle high and low quality images and still perform at the highest production level, while accounting for runtime as well as accuracy.
Deep learning recommendation system architectures make use of multiple simpler approaches in order to remediate the shortcomings of any single approach to extracting, transforming and vectorizing a large corpus of data into a useful recommendation for an end user.
Let's take a look at the architecture used to build neural collaborative filtering algorithms for recommendation systems
GPT-3 is one of the most versatile and transformative components that you can include in your framework, application or service. However, sensational headlines have obscured its wide range of capabilities since its launch. Let’s take a look at the ways that companies and researchers are achieving real-world results with GPT-3, and examine the untapped potential of this 'celebrity AI'.
How to get started with machine learning based dynamic pricing algorithms for price optimization and revenue management
Let's take a look at how you can use spaCy, a state of the art natural language processing tool, to build custom software tools for your business that increase ROI and give you data insights your competitors wish they had.
The landscape for AI in ecommerce has changed a lot recently. Some of the most popular products and approaches have been compromised or undermined in a very short time by a new global impetus for privacy reform, and by the way that the COVID-19 pandemic has transformed the nature of retail.
Extremely High ROI Computer Vision Applications Examples Across Different Industries
Building Data Capture Services To Collect High ROI Business Data With Machine Learning and AI
Software packages and Inventory Data tools that you definitely need for all automated warehouse solutions
Inventory automation with computer vision - how to use computer vision in online retail to automate backend inventory processes