Spaces:
Build error
Build error
Update results
Browse filesFiles changed (3)
- evaluate.py+2-2
- requirements.txt+2-1
- results.json+1605
9 unmodified lines101112131415166 unmodified lines232425262728299 unmodified linesdevice = "cuda"test_indices_length = 1000models = ["distributed/optimized-gpt2-250m", "distributed/optimized-gpt2-250m-v0.1.3", "distributed/optimized-gpt2-250m-v0.1.1", "distributed/gpt2-94m"]if os.path.exists("results.json"):with open('results.json', 'r') as file:6 unmodified linesif (model_name not in results.keys()):results[model_name] = {}tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)refs = list_repo_refs(model_name, repo_type="model")global_epoch = max([int(tag.name) for tag in refs.tags]) if refs.tags else None9 unmodified lines101112131415166 unmodified lines232425262728299 unmodified linesdevice = "cuda"test_indices_length = 1000models = ["distributed/optimized-gpt2-500m", "distributed/optimized-gpt2-250m", "distributed/optimized-gpt2-250m-v0.1.3", "distributed/optimized-gpt2-250m-v0.1.1", "distributed/gpt2-94m"]if os.path.exists("results.json"):with open('results.json', 'r') as file:6 unmodified linesif (model_name not in results.keys()):results[model_name] = {}tokenizer = AutoTokenizer.from_pretrained("distributed/optimized-gpt2-250m", trust_remote_code=True)refs = list_repo_refs(model_name, repo_type="model")global_epoch = max([int(tag.name) for tag in refs.tags]) if refs.tags else None
12-e git+https://github.com/KMFODA/DistributedTraining@85fa80558a26bb8612bbd60d21cb38fee777afaf#egg=distributed_trainingtransformers==4.39.3123-e git+https://github.com/KMFODA/DistributedTraining@85fa80558a26bb8612bbd60d21cb38fee777afaf#egg=distributed_trainingtransformers==4.39.3gradio
1234{"distributed/optimized-gpt2-250m": {"main-net": {"0": [1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609{"distributed/optimized-gpt2-500m": {"main-net": {"0": [11.02587887554821],"1": [11.012336076252044],"2": [10.942250209724259],"3": [10.789852518838812],"4": [10.591135017333492],"5": [10.381960663302191],"6": [10.204604120760395],"7": [9.99313148655757],"8": [9.808594073348802],"9": [9.699155184017714],"10": [9.538408678294134],"11": [9.459038364137331],"12": [9.341624254305687],"13": [9.269227776676416],"14": [9.215532861006887],"15": [9.188852574090538],"16": [9.146546052052425],"17": [9.138851456937537],"18": [9.126462873584495],"19": [9.056797283705665],"20": [9.032494962677475],"21": [8.928327749987117],"22": [9.23310801814404],"23": [9.843688889926659],"24": [9.047534827495245],"25": [8.903008035686021],"26": [9.110728626408854],"27": [9.049401350799037],"28": [9.06801783798525],"29": [8.961993099038118],"30": [8.797927968422727],"31": [8.726444166783857],"32": [8.678951541344802]},"baseline": {"0": [10.95511245727539],"2": [10.903534889221191],"3": [10.851415634155273],"4": [10.784759521484375],"5": [10.705351829528809],"6": [10.611644744873047],"7": [10.5181245803833],"8": [10.423306465148926],"9": [10.328965187072754],"10": [10.240520477294922],"11": [10.151151657104492],"12": [10.068592071533203],"13": [9.988373756408691],"14": [9.913373947143555],"15": [9.849650382995605],"16": [9.793644905090332],"17": [9.736211776733398],"18": [9.68893814086914],"19": [9.644975662231445],"20": [9.604911804199219],"21": [9.572737693786621],"22": [9.539426803588867],"23": [9.509159088134766],"24": [9.48029899597168],"25": [9.454708099365234],"26": [9.426265716552734],"27": [9.393267631530762],"28": [9.358389854431152],"29": [9.318961143493652],"31": [9.240694999694824],"32": [9.210143089294434],"33": [9.161873817443848],"34": [9.12850570678711],"35": [9.085844993591309],"36": [9.042040824890137],"37": [9.001519203186035],"38": [8.958778381347656],"39": [8.906691551208496],"40": [8.862005233764648],"41": [8.820011138916016],"42": [8.769862174987793],"44": [8.681952476501465],"45": [8.628429412841797],"46": [8.596380233764648],"47": [8.55947494506836],"48": [8.503355979919434],"49": [8.464351654052734],"50": [8.425146102905273],"51": [8.37761116027832],"52": [8.338064193725586],"53": [8.301886558532715],"54": [8.253142356872559],"55": [8.213857650756836],"56": [8.18204402923584],"58": [8.099894523620605],"60": [8.000508308410645],"61": [7.969767093658447],"62": [7.933720111846924],"65": [7.8169379234313965],"66": [7.7661590576171875],"67": [7.738090515136719],"68": [7.696783542633057],"69": [7.641815662384033],"70": [7.630120754241943],"71": [7.587459564208984],"72": [7.552192211151123],"73": [7.5274481773376465],"74": [7.4899420738220215],"75": [7.452051639556885],"76": [7.4407453536987305],"77": [7.408007621765137],"78": [7.371201038360596],"79": [7.351102828979492],"80": [7.310842990875244],"81": [7.288948059082031],"82": [7.2828898429870605],"83": [7.232029914855957],"85": [7.209151268005371],"87": [7.154072284698486],"88": [7.144335746765137],"89": [7.098391532897949],"90": [7.086823463439941],"91": [7.069278717041016],"92": [7.041197776794434],"93": [7.043648719787598],"94": [7.037468910217285],"95": [7.026734352111816],"96": [7.000428199768066],"98": [6.972815990447998],"99": [6.958772659301758],"100": [6.942638397216797],"101": [6.912716388702393],"103": [6.885679721832275],"104": [6.876980781555176],"105": [6.856561183929443],"107": [6.828001499176025],"108": [6.813321113586426],"109": [6.792052745819092],"110": [6.770946502685547],"111": [6.770632266998291],"112": [6.753300189971924],"113": [6.743083953857422],"114": [6.735600471496582],"115": [6.710375785827637],"116": [6.699243545532227],"117": [6.680922031402588],"118": [6.690885543823242],"119": [6.664650917053223],"120": [6.671673774719238],"121": [6.654481887817383],"122": [6.649986267089844],"123": [6.636155605316162],"124": [6.620141983032227],"125": [6.612869739532471],"126": [6.606642723083496],"129": [6.587365627288818],"131": [6.550192832946777],"132": [6.5400800704956055],"133": [6.541842460632324],"134": [6.523106098175049],"135": [6.503216743469238],"136": [6.492585182189941],"138": [6.482771396636963],"139": [6.470407962799072],"140": [6.474955081939697],"141": [6.469099998474121],"142": [6.4600443840026855],"144": [6.433396339416504],"145": [6.4286065101623535],"146": [6.440338134765625],"147": [6.422786235809326],"148": [6.409480094909668],"149": [6.402649402618408],"150": [6.407670974731445],"151": [6.396670341491699],"152": [6.380721092224121],"154": [6.356389045715332],"155": [6.365396499633789],"156": [6.3473310470581055],"157": [6.332749366760254],"158": [6.315455436706543],"159": [6.305903911590576],"160": [6.30325984954834],"161": [6.312277317047119],"162": [6.293718338012695],"163": [6.29055643081665],"164": [6.287791728973389],"165": [6.2886505126953125],"166": [6.280340671539307],"167": [6.260507106781006],"169": [6.257781028747559],"171": [6.240293502807617],"172": [6.23004150390625],"174": [6.224309921264648],"175": [6.218266487121582],"176": [6.21510124206543],"178": [6.194764614105225],"179": [6.199686050415039],"180": [6.188028812408447],"181": [6.162545680999756],"182": [6.152849197387695],"183": [6.147336959838867],"184": [6.141636848449707],"185": [6.139773368835449],"186": [6.1278791427612305],"187": [6.133630752563477],"188": [6.127473831176758],"189": [6.109642505645752],"190": [6.10366153717041],"191": [6.081837177276611],"192": [6.089879512786865],"193": [6.077977657318115],"194": [6.0798234939575195],"195": [6.077410697937012],"196": [6.068553924560547],"197": [6.063356876373291],"199": [6.057088375091553],"200": [6.050692081451416],"201": [6.032055854797363],"202": [6.040605545043945],"203": [6.04606294631958],"204": [6.033795356750488],"205": [6.019334316253662],"206": [6.009232521057129],"207": [6.017391204833984],"208": [6.006136417388916],"209": [5.995009422302246],"210": [5.995218276977539],"211": [5.988270282745361],"212": [5.977220058441162],"213": [5.966462135314941],"214": [5.961383819580078],"215": [5.9638590812683105],"216": [5.956181049346924],"217": [5.95109748840332],"218": [5.926913261413574],"219": [5.933916091918945],"220": [5.930830001831055],"221": [5.931302547454834],"222": [5.9127397537231445],"223": [5.907376766204834],"225": [5.910128593444824],"226": [5.907344818115234],"227": [5.886994361877441],"228": [5.885712623596191],"229": [5.882732391357422],"230": [5.884702205657959],"231": [5.8586554527282715],"232": [5.860570430755615],"233": [5.8592915534973145],"235": [5.853981971740723],"237": [5.836703777313232],"238": [5.830770969390869],"239": [5.8226165771484375],"240": [5.824166774749756],"241": [5.814944744110107],"242": [5.805344581604004],"243": [5.818417072296143],"244": [5.806392669677734],"245": [5.788371562957764],"246": [5.786664009094238],"247": [5.797480583190918],"248": [5.783918380737305],"249": [5.789022922515869],"250": [5.773997783660889],"251": [5.763557434082031],"252": [5.7692742347717285],"253": [5.75090217590332],"254": [5.740006446838379],"255": [5.724453449249268],"256": [5.720920562744141],"257": [5.73279333114624],"258": [5.729687213897705],"259": [5.7120490074157715],"260": [5.714480876922607],"261": [5.696575164794922],"262": [5.698047637939453],"265": [5.6771955490112305],"266": [5.667380332946777],"267": [5.671542167663574],"268": [5.668306827545166],"269": [5.6464457511901855],"270": [5.64121150970459],"271": [5.644558906555176],"273": [5.6484503746032715],"274": [5.6280317306518555],"275": [5.62814998626709],"276": [5.619859218597412],"277": [5.630714416503906],"278": [5.615391254425049],"279": [5.617112159729004],"281": [5.614068031311035],"282": [5.601541996002197],"283": [5.580329895019531],"284": [5.59044885635376],"286": [5.579657554626465],"287": [5.57890510559082],"288": [5.560153961181641],"289": [5.553445816040039],"290": [5.554251670837402],"291": [5.555505275726318],"292": [5.54575252532959],"293": [5.546602249145508],"294": [5.53740119934082],"295": [5.533825874328613],"296": [5.521933078765869],"297": [5.5187578201293945],"298": [5.502842903137207],"299": [5.518270969390869],"300": [5.511235237121582],"301": [5.525973320007324],"302": [5.51053524017334],"303": [5.495884418487549],"304": [5.51646089553833],"305": [5.510878562927246],"306": [5.489213466644287],"307": [5.518331050872803],"308": [5.494318008422852],"309": [5.477028846740723],"310": [5.4960198402404785],"311": [5.474133014678955],"312": [5.462413787841797],"313": [5.479360580444336],"315": [5.466599464416504],"316": [5.469489097595215],"317": [5.439362049102783],"318": [5.458652496337891],"319": [5.435719013214111],"320": [5.415310859680176],"321": [5.428353786468506],"322": [5.423825740814209],"323": [5.4025774002075195],"324": [5.4182281494140625],"325": [5.417865753173828],"326": [5.392971992492676],"327": [5.405820369720459],"328": [5.3887529373168945],"329": [5.363739967346191],"331": [5.380855083465576],"332": [5.363964080810547],"333": [5.389106750488281],"334": [5.364814758300781],"335": [5.350942134857178],"336": [5.369415760040283],"337": [5.346657752990723],"338": [5.350274085998535],"339": [5.348207473754883],"341": [5.331037998199463],"343": [5.329416275024414],"344": [5.3085455894470215],"345": [5.32960844039917],"346": [5.308642864227295],"347": [5.305500507354736],"348": [5.307600975036621],"349": [5.2924089431762695],"350": [5.274683952331543],"351": [5.283298015594482],"353": [5.275749206542969],"354": [5.286045074462891],"355": [5.267706871032715],"356": [5.260513782501221],"357": [5.2767839431762695],"359": [5.251471519470215],"360": [5.26442289352417],"361": [5.246307373046875],"363": [5.2540435791015625],"364": [5.2316975593566895],"365": [5.229036808013916],"366": [5.228911399841309],"367": [5.215038776397705],"368": [5.209632396697998],"369": [5.231753349304199],"370": [5.198577404022217],"371": [5.20541524887085],"372": [5.218658447265625],"373": [5.183835029602051],"374": [5.1883649826049805],"375": [5.19450569152832],"376": [5.174581050872803],"378": [5.185816764831543],"379": [5.172260284423828],"381": [5.175004005432129],"382": [5.149728775024414],"383": [5.154256820678711],"384": [5.159426212310791],"385": [5.133786678314209],"386": [5.163707733154297],"387": [5.137426853179932],"388": [5.133244514465332],"389": [5.133027076721191],"390": [5.118992805480957],"391": [5.10985803604126],"392": [5.125600337982178],"393": [5.116215705871582],"394": [5.131166458129883],"395": [5.149313926696777],"396": [5.135613441467285],"397": [5.145551681518555],"398": [5.140324592590332],"399": [5.138005256652832],"401": [5.123149394989014],"402": [5.106956958770752],"403": [5.122385501861572],"404": [5.121047019958496],"405": [5.121511936187744],"406": [5.116922378540039],"407": [5.099788665771484],"408": [5.088689804077148],"409": [5.092028617858887],"410": [5.092405319213867],"411": [5.0852813720703125],"412": [5.081229209899902],"413": [5.071894645690918],"414": [5.084445953369141],"415": [5.073363304138184],"416": [5.067659378051758],"417": [5.063205718994141],"419": [5.064387321472168],"420": [5.066856384277344],"421": [5.065526962280273],"422": [5.055660247802734],"423": [5.058163166046143],"424": [5.062191486358643],"425": [5.046815395355225],"428": [5.036874771118164],"429": [5.036855697631836],"430": [5.046374320983887],"431": [5.042652130126953],"432": [5.024091720581055],"434": [5.019966125488281],"435": [5.007455825805664],"436": [5.0079145431518555],"437": [5.002538681030273],"438": [4.993525505065918],"439": [4.990423202514648],"440": [5.000260829925537],"441": [4.989344596862793],"442": [4.99100923538208],"443": [4.988770008087158],"445": [4.984315872192383],"446": [4.979765892028809],"447": [4.968349456787109],"449": [4.981423377990723],"450": [4.969783306121826],"452": [4.952669143676758],"453": [4.952358245849609],"454": [4.945185661315918],"455": [4.937941551208496],"456": [4.941512107849121],"459": [4.9204840660095215],"461": [4.9134039878845215],"462": [4.912925720214844],"463": [4.922518730163574],"464": [4.932413101196289],"465": [4.912574291229248],"466": [4.899024486541748],"467": [4.911117076873779],"468": [4.915473937988281],"469": [4.901583194732666],"470": [4.9034271240234375],"471": [4.890704154968262],"472": [4.894222259521484],"473": [4.892629146575928],"474": [4.871220111846924],"475": [4.869009971618652],"476": [4.8729329109191895],"478": [4.874856948852539],"479": [4.863500595092773],"480": [4.859533309936523],"481": [4.857326984405518],"482": [4.837072372436523],"483": [4.8351850509643555],"484": [4.837536334991455],"485": [4.84002685546875],"486": [4.834524154663086],"487": [4.8294677734375],"488": [4.830111980438232],"489": [4.821319580078125],"490": [4.809113502502441],"491": [4.8010783195495605],"492": [4.79583215713501],"493": [4.800057888031006],"494": [4.798526287078857],"495": [4.804708957672119],"496": [4.80340576171875],"497": [4.8040056228637695],"499": [4.7900896072387695],"500": [4.795309066772461],"501": [4.778487205505371],"502": [4.790122032165527],"503": [4.781085014343262],"504": [4.7819695472717285],"505": [4.769318103790283],"506": [4.775773048400879],"507": [4.765681266784668],"508": [4.7639479637146],"509": [4.754333972930908],"510": [4.764067649841309],"511": [4.751704692840576],"512": [4.746877193450928],"513": [4.74250602722168],"514": [4.745611190795898],"515": [4.738706588745117],"516": [4.7285308837890625],"517": [4.73089599609375],"518": [4.723514556884766],"519": [4.7326250076293945],"520": [4.712192535400391],"521": [4.719448566436768],"522": [4.711329936981201],"524": [4.710899829864502],"526": [4.709956169128418],"528": [4.695399761199951],"529": [4.689852714538574],"530": [4.6963276863098145],"531": [4.693183898925781],"532": [4.681169033050537],"533": [4.680347919464111],"534": [4.674761772155762],"535": [4.67693567276001],"536": [4.6697611808776855],"538": [4.6624298095703125],"539": [4.665920257568359],"540": [4.664849758148193],"541": [4.655454158782959],"542": [4.658844947814941],"544": [4.644007682800293],"545": [4.638642311096191],"546": [4.647057056427002],"547": [4.650745391845703],"548": [4.638507843017578],"550": [4.635471820831299],"551": [4.636885643005371],"552": [4.623069763183594],"553": [4.620236396789551],"554": [4.61091423034668],"555": [4.603527069091797],"556": [4.603853702545166],"557": [4.599881172180176],"558": [4.604748725891113]}},"distributed/optimized-gpt2-250m": {"main-net": {"0": [
evaluate.py+2-2
requirements.txt+2-1
results.json+1605