I don't normallydovideoslikethisbecauseit's basicallyeitherimpossibleareverydifficulttostructurethingsinsuch a waythatpeoplecanfollowalong.
Butinthesetimes, I thinkpeopleareprettystarvedforcontent.
So I thought, youknow, I coulddo a videoonatleastsomeofthestuffthat I dothatyouguysreallyneversee.
SoProject, likewhat I'vebeenworkingonherewiththischap, iskindofsobigandsojustcomplexthatprobablytherewillneverbe a seriousfromstarttofinishofdoingwhat I'm doinghere.
Soinstead, I thoughtitwouldbeinterestingtotryoutkindoflike a moreorIndystyletypevideoaswellasatleasttowardsthemiddleofmaybetheend.
What I candois I canleave.
What I'm gonnatrytoworkonhereisscoringChapOutput, and I think I'm gonnadosomeveryrudimentaryscoringandthenlaterkindoftalkaboutnextsteps.
Butthenalso, um, what I candoiskindofhaveanoutputofthesechapboughtoutputsandthenseeifanybodycancomeupwithsomebetterideasforscoring, ofcourse, creditallgiventoanybodywhodoesitiftheydoso.
Butifyouarejustdyingforsomecontentas a reminder, thedraftforthebookisisonline.
Rightnowthere's thousandsofpeoplewithaccess.
Ifyoupreorderthebookorevenjustthe e book, yougetaccess, usuallysamedayaccesstothatdraft, andsoyoucanreadit.
Youcanhighlightaskquestionsinlineandsoon.
Soanyway, inthatdraftisbasicallyeverythingfromatthemomentfrom, youknow, coding a neurontoactuallyfullforwardpastbackpropagation, actuallytrainingthemodelon, thencomingoutvery, verysoonistestingregularizationlike l one l tworegularizationanddropout.
Sothatisabouttobepushed, probablywithin a weekorsotothedraft.
We'regonnabemodifyingliveensembleinferencelaterWecanalsogenerate a hugelistoftheseresponsesusingensembleinferencejusthereineitheralleitherthatwayorvialiveensembleinferenceorsomething.
What I'm thinking I candois I cangeneratesomeexampleoutputsandthensharethoseunlikeadjustorsomethinglikethat.
Soattheverybeginning, whatwecouldsayislike, wecouldmake a reallyrudimentaryscorersowecouldjustsay, um I'm gonnacall H storebecauselaterwemighthave a D score.
So a scorewillbeequalto, umlet's sayanswerlength.
Soshouldbe I'm gonnaputthisinanswerlength.
Um, answerlength.
I'm tryingtothinkifthere's anythingelseplus, um, acceptableend, Val, I guesslengthitcouldeitherbeplusormaybeliketimestwoorsomething.
I don't know, I'm just I'm justmakingthisuprightnow.
Butwhen I wakeup, I'm goingtosleepatnightversus I don't wakeup.
Sothedurasmeanthose?
I wouldsay I think I thinkwhatwewanttodothismayormaynotwork, butoneofthethings I'd becuriousaboutisanaccountso I countequalszeroandeitherweakensubtractitattheveryend.
Orwecouldaddlike I counttowhatwe'redividinghere.
Justdependsonhowmuchwewanttopunishforthe I count.
Sothenextthingthatwe'regonnadiois, I guesshere I don't know.
Um, infact, um, cutThispaste I countequalsanswered.
I countthenumberoftimes a capital I occurs, andthenwe'lltakeaccount, and I'm gonnaputitdown.
Repetitionsreaditwerereallyparalyzedfor I can't, sowe'llsavethat.
Uh, comebackoverhere.
Youcan't wakeup.
Mmm.
Oneeyeisokay.
Maybewe'llnews.
I count.
Let's do I countminusone.
I cananswermuchexample.
Onlykillitjustbecauseithadoneeyeminusoneshoot.
I can't thinkbecause I don't wanttobeinit.
I don't wanttobe a zero.
I guessitwouldbezero, nomatterwhat.
Ifthere's no, I reallylikeone.
I I wanttobeacceptable, likeoneorzeroeyes, likeoneorzeroeyesisokay, butmoreisnot.
Andsowhat I can't decideissozero.
I can't.
Can I justsayifmybrainisnothappyanymore?
If I countislessthanzero, right, Becauseifitzero, itbecomes a one, thenwe'regoingtosay I can't equalszero.
And I guesswellpaidthat.
That's thekindoflinethat I reallywishwasacceptableformetojustleaveononeline, though, UhOkay.
Sorun.
I don't wakeupinthemorning.
I'vebeenawakefor a fewdays.
I'vebeensleepingfor a fewdays.
Okay, soallthreeofthosewererain.
12.
Sothat's notbad.
Um, therehavebeenatall.
Soifwedid, um, let's saygetgetit, Max, getkeepgetkeyfor a MaxValleyValuePythondictionary.
Theotherthing I wanttodopossiblygetCan I ownerbecauseithasitsdaysordered.
I don't evenknow.
Um, can I dothisGrant?
I don't know.
It's embarrassingthat I don't know, butlet's justtrythat.
I betitwon't workin 27 becausethereisnoorder.
But I wonderifitworkshere.
No, I can't.
Hash.
Okay.
I can't sliceit.
Um, whatifyouWhatifweconvertitto a list?
I stillwanttoknow, Like, can I?
Because I knowwecoulddothatMaxthing.
Okay, I knowwecoulddotheMaxthing, butsometimes I wanttoget, like, justthetopendresponses.
Like, I don't wantjustthetopresponse.
Like I'd liketoworkwithwhatarethebestoneswethinkwehavesofarandthenkindofgofromtherebecausedoingthingslike, Isthis a funnyresponse, oristhiscoherentMeanswe'regonnahavetousesomethinglikeSpaceyor N L T.
K.
Doingthatonalloftheresponseswilltake a while, butifwecankindoffilterout a lotofresponsesfirst, thatwon't takehislong, samethingif I enduptryingtousesomesortofdeeplearningalgorithmtoanalyze a sentenceanddetermineisthis, youknow, funnyorsarcastic, oristhislike a goodresponseornot, thelesswehavetogothroughthebetter.
So I wouldn't mindbeingabletotake, like, a topend.
So?
So I wonderif I couldjustsayprintquefor K insorted H scorers.
Negativefive.
Can I dothat?
Wedon't Letmedoit.
Okay.
Um, I thinkthisisright.
I don't wakeupinthemorning.
I'vebeenawakefor a fewdays.
I'vebeensleepingfor a fewdays.
I don't wakeupatnight.
Andanotheranswer.
Howdoyousleepinit?
That's a funnyone.
Like, I don't know.
Yeah.
Okay, sothat's onewaythatwecouldget a handfulandthenotherwise, wecangetjustlikethetoponeusingHopefullythiswillseewhathappens.
Max, Statskey.
Whereisouraddict?
Okay, sothat's howwecan d'ohmaybeget a sliceofthebestagain.
Thisrequirespython 3.6 plusorsortof.
Soifyoudon't, Ifyou'reontightontoyoucan, likefromcollectionsimportsortaddict, I wantordereddickedrather.