Phase 4 β€” Variants

#2
by LouisBastarache - opened
Open Food Facts in Canada org

@saraNour
You write that Flavor is an example of variant-level differences.
Could you give specific product examples of this ?
I want to understand better...

Open Food Facts in Canada org

I added a curated QA dataset with concrete examples for the variant-level cases:
Jelly Powder: Blueberry, Cherry, Lemon, Lime, Raspberry, and Strawberry β€” all 85 g
Crumb Cake: Apple, Blueberry, and Raspberry β€” all 465 g
Pie Filling: Apple, Blueberry, and Cherry β€” all 540 ml
Peanut Butter: Smooth vs. Crunchy, with 500 g, 1 kg, and 2 kg sizes
Salsa Chunky: Mild vs. Medium

Important clarification based on the current pipeline:
Package size is encoded as a variant in Phase 4. Products with different sizes can share the same group_id and have different variant_ids.
Flavour and formulation are currently part of the identity in Phase 3, so they create separate group_ids.

So, when I mentioned flavour as a variant-level difference, I meant it from the product-family perspective. In the current implementation, flavour is not stored as a variant_id.

Dataset:
https://huggingface.co/datasets/saraNour/compliments-reference-db-qa/tree/main

Sign up or log in to comment