emiloetting commited on
Commit
cd899da
·
verified ·
1 Parent(s): 4f49205

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -0
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: text-classification
3
+ language:
4
+ - de
5
+ - en
6
+ tags:
7
+ - food-classification
8
+ - openfoodfacts
9
+ - product-categorization
10
+ - class-mapping
11
+ ---
12
+
13
+ # FoodCLS
14
+
15
+ **FoodCLS** is to map product category tags from [OpenFoodFacts](https://world.openfoodfacts.org/) to a set of predefined, user-friendly food categories.
16
+
17
+ The model uses the `categories_tags` attribute from the OpenFoodFacts product database to classify products into **12 broader food categories**.
18
+
19
+ This allows for simplified product categorization, easier data aggregation, and more intuitive overviews of food products.
20
+
21
+ ### Dataset
22
+
23
+ The model is based on the [OpenFoodFacts Product Database](https://huggingface.co/datasets/openfoodfacts/product-database), using the state from **November 9, 2026**.
24
+
25
+ ## Target Classes
26
+
27
+ The model predicts one of 12 predefined categories. Each category is assigned a numeric class ID.
28
+
29
+ | Class ID | German Category | English Equivalent |
30
+ |:---:|---|---|
31
+ | 0 | Obst & Gemüse | Fruits & Vegetables |
32
+ | 1 | Fleisch, Fisch & Alternativen | Meat, Fish & Alternatives |
33
+ | 2 | Milchprodukte & Eier | Dairy Products & Eggs |
34
+ | 3 | Brot & Backwaren | Bread & Bakery Products |
35
+ | 4 | Nudeln, Reis & Getreide | Pasta, Rice & Grains |
36
+ | 5 | Fertigprodukte | Ready-Made Meals & Convenience Foods |
37
+ | 6 | Backzutaten | Baking Ingredients |
38
+ | 7 | Getränke | Beverages |
39
+ | 8 | Snacks & Süßigkeiten | Snacks & Sweets |
40
+ | 9 | Öle, Gewürze & Saucen | Oils, Spices & Sauces |
41
+ | 10 | Brotaufstriche | Spreads |
42
+ | 11 | Sonstiges | Other |
43
+
44
+ ## About
45
+ This model was made for use in a student project, aiming at providing an intuitive overview over food products.