This is an automated PR created with https://huggingface.co/spaces/safetensors/convert
This new file is equivalent to `pytorch_model.bin` but safe in the sense that
no arbitrary code can be put into it.
These files also happen to load much faster than their pytorch counterpart:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb
The widgets on your model page will run using this model even if this is not merged
making sure the file actually works.
If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions
Feel free to ignore this PR.
# Model Card for DistilBERT Product Classifier
## Model Overview
**Model Name**: DistilBERT Product Classifier
**Model Type**: Text Classification
**Base Model**: `distilbert-base-uncased`
**Dataset**: Kaggle Product Classification Dataset ([link to dataset](https://www.kaggle.com/datasets/lakritidis/product-classification-and-categorization?select=pricerunner_aggregate.csv))
**Purpose**: This model was fine-tuned for product classification based on raw product titles. It categorizes items into appropriate product categories, helping in scenarios such as data scraping from multiple e-commerce sites where categories may vary widely.
### Why This Model?
The primary goal for this model is to streamline data classification in price comparison and e-commerce applications. By taking product titles from different websites, it allows for accurate category predictions, which can be challenging given the variations across sites.
This model is ideal for use in:
- **E-commerce sites**: …
#Model Card for DistilBertForSequenceClassification_ProductClassifier
##Model Description
Purpose: This model is a product classifier, specifically designed to categorize raw product titles into predefined categories. It's optimized for use with price comparison websites where product categorization can vary greatly across different sources. By accurately categorizing titles from scraped data, the model aims to improve data consistency for these websites.
Model Architecture: Built upon the DistilBERT architecture, this model offers a lightweight and efficient alternative to the original BERT model while maintaining a high level of performance. It utilizes 6 attention heads and a hidden dimension size of 768, making it suitable for deployment on edge devices or resource-constrained systems.
##Training Data:
The model was fine-tuned using a dataset sourced from Kaggle's Product Classification and Categorization challenge. The data underwent preprocessing steps including:
###Cleanin…