Instructions to use openfoodfacts/category_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use openfoodfacts/category_classifier with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("openfoodfacts/category_classifier") - Notebooks
- Google Colab
- Kaggle
Category Classifier
This model predicts the categories associated with the products present on Open Food Facts, using Open Food Facts category taxonomy.
More than one category can be predicted for a product (multi-label classification).
This category classification model was trained on the v4 Data For Good 2022 category dataset using code in this version of the off-category-classification repository. Training was tracked on Wandb.
This model was migrated from this robotoff-models release.
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support