PythiloLesson 3 of 6 · progress kept in this browser

Practice in Lab: Project: Transfer sentiment across domains →

Download complete project source →

Project: Transfer sentiment across domains

An IID split does not measure domain transfer. Keep every IMDb review group out of training and validation. Normalize duplicate identities across all three sources before assigning a split; a repeated sentence that occurs in IMDb belongs only to the held-out domain. Select the checkpoint using Amazon/Yelp validation rows. Report IMDb results as a domain-shift measurement without tuning against those labels.

Your task

Train on Amazon and Yelp, select on their validation partition, then report untouched IMDb performance. Implement run_project(output, quick=False). Follow the reference report/artifact schema; the checks run quick=True with actual pretrained weights and real data. The full dataset is the default.

This lesson uses pythilo_finetune and torch, which Python in this browser does not include. Read it here, and run and check it in the Pythilo app on iPhone or iPad.