Sowhat I havehereis a simpleprogram, basicallywhere I justaskedthemodel, Hey, drawme a numberofzerothroughnine.
I'llpickthenumber I'llsay, Pleasedrawme a five, forexample, andthatfivebecomes a sortofprimerforthegenerativemodel.
Thegenderofmodelsthengeneratesmesomethinglike a fivenow.
Theinterestingthingaboutthismodel, though, isthatfirstofall, thisfiveis a totallyuniquenewnovel.
Five.
It's neverit's notinthedataset.
We'veneverseenitbefore.
Andif I askyoutodrawmeyetanotherfive, whatit's gonnadoisdrawmeyetanotheruniquenewnovel.
Wehaven't seenitbefore.
FiveandsoSothereasonwhy I thinkgenerativemodelsairinterestingisonethatthey'restilllike a reallylikeareaofresearchand a lotofpeopleinthefieldsofdeeplearning, Um, kindofwriteoffgenerativemodels.
I'm drawing a four, bytheway, Justsoyouknow, four.
Sothisis a characterlevelgenerativemodel, andwhat's gonnadoisyoujustgiveitanycharactersandthenwhatit's gonnadoisyou'regonnasayOK, withallthesecharacters, I wantyoutoyoutrainonitandthenbeabletogeneratemesomethingsimilartowhatyou'veseen.
Soit's It's like a classifierinthesensethatyoucanproduce.
So, umsohere's Here's thereturnthatwegot, um, andyou'llseethatit's got, youknow, thebehere.
Andthenewlinesaren't actuallymakingnewlines.
Soonethingthatwecoulddothisisencodedforutfeight.
Soonethingwecoulddoisjustnotincodeforutfeight.
Um, orwecouldjustdecode.
So, forexample, wecouldsaylike, laterondowntheroad, I thinkprobablythebestwaytodothisisgonnabeactuallysomethingmorelikedatadataequalsmodel, andyoucan, youknow, dowhateveryouwanttodowiththatdata.
Butthen, ifyouwanted, youcouldjustprintdatadotdecodefromut f it.
Butifyou'reusingfancycharacterslikeifyou'reyou'vegotlike, um, youknowChineseorsomethinglikethatwiththecharactersyou'reprobablygonnawanttokeep, youknow e t f ate.