CoolFace
Datasetpublic

leixiang25/24679-hw1-text-garments

24-679 HW1 (Fall 2026): Garment Descriptions leixiang25/24679-hw1-text-garments 100 original garment descriptions written by Lei Xiang for 24-679 Homework 1 at Carnegie Mellon University, plus explicitly marked synthetic training variants. The classification task predicts the garment type (0 top, 1 bottom, 2 outerwear, 3 dress, 4 footwear) from a product-listing style description of about 200 characters. Source and task Every description is the author's own… See the full description on the dataset page: https://huggingface.co/datasets/leixiang25/24679-hw1-text-garments.

sourceHugging Faceupdated 10d agoView on Hugging Face
0likes84downloads
Dataset Card

24-679 HW1 (Fall 2026): Garment Descriptions

leixiang25/24679-hw1-text-garments

100 original garment descriptions written by Lei Xiang for 24-679 Homework 1 at Carnegie Mellon University, plus explicitly marked synthetic training variants. The classification task predicts the garment type (0 top, 1 bottom, 2 outerwear, 3 dress, 4 footwear) from a product-listing style description of about 200 characters.

Source and task

Every description is the author's own writing, produced while looking at retail product photos and without reading the retailer's copy. No brand names, product names, or prices appear. The author trained in fashion design, so descriptions use working garment vocabulary (silhouette, fabric, construction details, closure). Labels were assigned at writing time from the garment being described.

Fields

FieldMeaning and modeling role
textThe description; model input.
labelGarment type, 0 to 4; the target.
label_nameReadable target; exclude from inputs.
charactersLength of text; context only.
message_idAuthor's row code; context only.
source_id, parent_idUnique example key and original source key; provenance only.
augmentation, is_augmentedMethod identifier and synthetic flag; provenance only.

Splits

Stratified random split of original descriptions before augmentation: holdout 30%, half to test. Seed 24679 for the first split, 24680 for the holdout split. Validation and test contain only original text.

SplitOriginal rowsSynthetic rowsTotal rows
train7012891359
validation15015
test15015

Class counts include synthetic rows in training only.

SplitLabelRows
train0 (top)274
train1 (bottom)270
train2 (outerwear)274
train3 (dress)262
train4 (footwear)279
validation0 (top)3
validation1 (bottom)3
validation2 (outerwear)3
validation3 (dress)3
validation4 (footwear)3
test0 (top)3
test1 (bottom)3
test2 (outerwear)3
test3 (dress)3
test4 (footwear)3

Augmentation and preprocessing

This run requests 5 draws per method and training original, each with a distinct seed; unchanged copies and repeated texts from the same parent are removed. Every draw starts from the original text; methods are never stacked.

  • —Internal character swaps: swap two adjacent interior letters in 30% of eligible words (4+ letters), rounded up, at most 3 words; first and last letters preserved.
  • —Internal character deletions: delete one interior letter in the same number of words.
  • —Within-sentence word swap: exchange two distinct words inside one sentence; punctuation and spacing stay in place.
  • —WordNet synonym replacement: replace one noun, verb, adjective, or adverb with a lemma from its first WordNet sense. Garment nouns (jacket, trousers, dress, boot, and so on) are protected and never replaced because they carry the label; function words are protected as well.
Training methodStored rows
internal_character_deletions350
internal_character_swaps350
none70
within_sentence_word_swap348
wordnet_synonym_replacement241

Intended use and limitations

Teaching dataset for text augmentation auditing and small-sample classification. Descriptions follow a deliberately consistent listing structure, so a classifier can rely on the garment noun alone; the task is easy by design. Character noise can make some words hard to read, and word swaps can break grammar; both are inherited-label assumptions to inspect, not claims that the variant is natural text. Synthetic rows do not add independent garments. Report per-class F1 with the validation and test splits.

Privacy and licensing

Original fictional product descriptions by the author; no personal data, brands, or copied retailer text. No license is assigned by this card.

Load

python
from datasets import load_dataset
ds = load_dataset("leixiang25/24679-hw1-text-garments")