daipham31's picture
Add r7/r8/r8.1 query-rewrite dataset (normalized): configs default, r7, chat, chat_dialogues
1267300 verified
|
Raw History Blame Contribute Delete
5.21 kB

Labelling conventions (all sets)

  • q = optional canonical descriptor (warm, lightweight, waterproof, comfortable, breathable, soft, durable, stretchy)
    • canonical product (gen_data.PRODUCTS keys), in English. Synonyms: comfy->comfortable, cozy/toasty->warm, light->lightweight, rainproof/water-resistant->waterproof, chaud(e)->warm, léger/légère->lightweight. No product named -> q is the descriptor alone, or the closest product if it is clearly implied.
  • gender: man/guy/husband/boyfriend/dad/homme/mari/copain/papa -> Men; woman/lady/wife/girlfriend/mom/femme/copine/maman -> Women; son/boy/fils/garçon -> Boys; daughter/girl/fille -> Girls; unisex/mixte -> Unisex.
  • activity / climate only when the query names the sport/use or the weather/season explicitly (catalog labels only).
  • size: XS..XL letters, small/medium/large/extra; waist numbers 28..38 only with "size/waist/taille".
  • price: under/max/tops/jusqu'à/moins de X -> -X; over/at least/à partir de X -> X-; between/entre/de..à -> a-b; around/about/environ/dans les X -> round(0.8X)-round(1.2X); cheap phrasings -> cheap. "a hundred"/"cent" = 100.
  • not: the word after without/no/sans (hood, zip, logo).
  • A sport word that is part of a product name ("yoga mat", "gym bag", "sports bra", "short de sport") is not an activity; "gym shorts"/"for the gym" is.
  • The FR holdout rows are translations of the EN rows (30 pairs), written before any round-2 data or training.

Round 3 additions (written before the r3 holdout)

  • Gender from people words (general rule, EN/FR): husband, boyfriend, dad/father, brother, grandpa, uncle, him/he, guy, man / mari, copain, papa/père, frère, grand-père, oncle, lui -> Men; wife, girlfriend, mum/mom/mother, sister, grandma, aunt, her/she, lady, woman / femme, copine, maman/mère, sœur, grand-mère, tante, elle -> Women; son, nephew, grandson, boy / fils, neveu, petit-fils, garçon -> Boys; daughter, niece, granddaughter, girl / fille, nièce, petite-fille -> Girls. An explicit noun wins over a pronoun ("my daughter ... she's an XS" -> Girls).
  • Activities: only catalog labels. Sports that are not catalog labels (skiing, tennis, golf, pilates, football, swimming) and non-sport contexts (home workouts, commute, office, gift, birthday, " trip") give NO activity. "gym", "working out at the gym", "la salle" -> Gym. Travel only when travel is the purpose (for travel/trips/weekend away, pour voyager).
  • Colours: grey/gray/gris -> Gray; navy/navy blue/bleu marine -> Blue; dark/light/pale + colour -> that colour.
  • Descriptors in q (English): toasty/cozy/snug/chaud/douillet -> warm; rainproof/water-resistant/waterproof/imperméable/étanche/déperlant -> waterproof; light/featherweight/léger/ultra-léger -> lightweight; comfy/comfortable/confortable -> comfortable.
  • Size phrases: "she's a small", "I wear L", "he takes a medium", "je fais du M", "taille M" -> size. "I'm"/"I am" alone is never a size.
  • Cheap phrasings include "won't cost a fortune", "cheapest", "budget", "ne coûte pas une fortune", "le moins cher".
  • holdout_r3: EN "nothing fancy" reworded to "nothing expensive" before training (cheap convention); FR rows are translations of EN rows.

Round 4 additions (written before holdout_r4, after holdout_r3 was seen and moved to dev)

  • "shirt" / "button-up shirt" / "chemise" is its own product: q = shirt (a "t-shirt"/"tee"/"tee-shirt" stays t-shirt).
  • Gender adjectives in short noun stacks: man/men/mens/men's/male/homme -> Men; woman/women/womens/women's/ladies/female/femme -> Women; boy/boys/garçon -> Boys; girl/girls/fille -> Girls ("red man shirt", "man red shirt", "mens shirt red", "chemise rouge homme").
  • Waist sizes: "waist 30", "W32", "tour de taille 34", "en 36" (bottoms) -> size, never a price.
  • Review/quality talk ("with good reviews", "well rated", "bien noté") gives no filter and no price.
  • " is always cold / frileux" without a weather word gives no climate.
  • holdout_r3 (now dev): FR "sac de voyage qui ne coûte pas une fortune" relabelled to no activity (product name, not a purpose), consistent with the round-2 rule.
  • r6: holdout_r2 (dev) FR "sac de voyage à moins de cent euros" relabelled to no activity (product name, no stated purpose), same rule as the r3 fix.

Round 7 additions (written before holdout_r7)

  • Warmth / comfort / quality adjectives (warm, cosy, comfy, bien chaud(e), confortable, good quality, de qualité, solide, sturdy) are never a price.
  • Activity compounds keep the product keyword and move the use to activity: "legging de yoga" -> q leggings + Yoga; "pantalon de rando" -> pants + Hiking; "sac à dos école" / "school backpack" -> backpack + School. Non-catalog sports in compounds are dropped from q and give no activity: "short de bain" / "swim shorts" -> q shorts; "ski jacket" / "veste de ski" -> q jacket.
  • "hot yoga" -> activity Yoga + climate Hot.
  • Walks ("winter walks", "balades", "promenades") are not an activity (no Travel, no Hiking); the season word still gives the climate.