"""GPT-2 SAE last-token programs, layer 2 -- features 08000 to 08099 (84 programs). One function per SAE feature. Grouped 100 to a file so the set stays browsable; the programs themselves are unchanged. """ def prog_L02F08000(input_tokens): """28 token families, 29 surface forms (train F1 of the uncapped optimum: 0.886). Fires at 1,841 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: terms related to events or changes that lead to a significant outcome or situation""" # --- end external annotation --- fire = { # oric (159 firings) 'oric', # driveway (146 firings) ' driveway', # midway (120 firings) ' midway', # precip (104 firings) ' precip', # illust (92 firings) ' Illust', # inex (84 firings) ' inex', # hosp (73 firings) ' hosp', # keley (72 firings) 'keley', # eloqu (71 firings) ' eloqu', # brigham (68 firings) ' Brigham', # revit (64 firings) ' revital', # tragical (60 firings) ' tragically', # pre (60 firings) ' PRES', 'PRES', # neces (57 firings) ' necess', # crystall (51 firings) ' crystall', # inev (42 firings) ' inev', # resusc (41 firings) ' resusc', # indef (40 firings) ' indef', # virt (36 firings) 'virt', # culminat (35 firings) ' culminating', # ipedia (31 firings) 'ipedia', # electro (26 firings) ' electroly', # calc (22 firings) ' calc', # pyr (18 firings) ' Pyr', # irez (17 firings) 'irez', # perman (16 firings) ' perman', # hypot (14 firings) ' hypot', # igham (9 firings) 'igham', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'oric-family', 1 def prog_L02F08001(input_tokens): """13 token families, 18 surface forms (train F1 of the uncapped optimum: 0.896). Fires at 7,860 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to access, particularly in legal, healthcare, and information contexts""" # --- end external annotation --- fire = { # acces (5,439 firings) ' access', ' Access', 'access', 'Access', # access (354 firings) ' accessing', ' accessed', ' Accessed', # ess (170 firings) 'ESS', # onte (95 firings) 'onte', # priv (70 firings) ' priv', # glimp (69 firings) ' glimps', # brune (48 firings) ' Brune', # vantage (38 firings) ' vantage', # ing (34 firings) ' ingest', # balt (33 firings) ' Balt', # virt (31 firings) 'virt', # recourse (27 firings) ' recourse', # entranc (24 firings) ' entrances', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'acces-family', 1 def prog_L02F08002(input_tokens): """4 token families, 8 surface forms (train F1 of the uncapped optimum: 0.969). Fires at 14,994 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to the United States""" # --- end external annotation --- fire = { # unit (14,305 firings) ' United', 'United', ' united', ' UNITED', 'united', # unif (111 firings) ' Unified', # ited (109 firings) 'ITED', # aerospace (105 firings) ' Aerospace', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'unit-family', 1 def prog_L02F08003(input_tokens): """39 token families, 39 surface forms (train F1 of the uncapped optimum: 0.886). Fires at 2,421 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: occurrences of specific words related to gluten""" # --- end external annotation --- fire = { # fear (175 firings) ' Fear', # uren (141 firings) 'uren', # uten (128 firings) 'uten', # telecom (118 firings) ' Telecom', # choi (109 firings) ' Choi', # zu (88 firings) 'zu', # essen (88 firings) 'essen', # anger (77 firings) 'angering', # igen (76 firings) 'igen', # unchart (75 firings) ' Uncharted', # adin (70 firings) 'adin', # trust (68 firings) 'Trust', # dill (67 firings) ' Dill', # aver (59 firings) 'avering', # outweigh (56 firings) ' outweigh', # kus (52 firings) 'kus', # wang (51 firings) 'wang', # voice (51 firings) 'Voice', # kul (49 firings) ' Kul', # ritz (46 firings) 'ritz', # bd (40 firings) ' BD', # ugen (35 firings) 'ugen', # aido (34 firings) 'aido', # etsy (31 firings) 'etsy', # subordinat (30 firings) ' subordinates', # minent (29 firings) 'minent', # ingen (27 firings) 'ingen', # cod (24 firings) 'Cod', # ufficient (23 firings) 'ufficient', # entin (23 firings) 'entin', # .– (23 firings) '.–', # dain (23 firings) 'dain', # ushima (21 firings) 'ushima', # saiyan (19 firings) ' Saiyan', # unsure (19 firings) ' Unsure', # pb (19 firings) 'pb', # uin (13 firings) 'uin', # subtle (10 firings) ' Subtle', # ptin (7 firings) 'ptin', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'fear-family', 1 def prog_L02F08004(input_tokens): """29 token families, 33 surface forms (train F1 of the uncapped optimum: 0.889). Fires at 3,045 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: mentions of specific political figures, particularly related to Podesta and Abedin""" # --- end external annotation --- fire = { # pod (270 firings) ' Pod', 'pod', 'Pod', # podesta (222 firings) ' Podesta', # miliband (158 firings) ' Miliband', # esta (133 firings) 'esta', # orb (129 firings) ' Orb', ' orb', ' orbs', # orchestrat (112 firings) ' orchestrated', # sergei (111 firings) ' Sergei', # subject (111 firings) ' Subject', # cheryl (108 firings) ' Cheryl', # tata (106 firings) ' Tata', # abedin (106 firings) ' Abedin', # agate (90 firings) 'agate', # abram (83 firings) ' Abram', # ping (77 firings) ' Ping', # huma (77 firings) ' Huma', # hillary (63 firings) 'hillary', # mccann (63 firings) ' McCann', # rothschild (59 firings) ' Rothschild', # ileak (59 firings) 'ileaks', # owsky (56 firings) 'owsky', # bows (55 firings) ' Bowser', # adra (48 firings) 'adra', # kaya (45 firings) 'kaya', # larvae (44 firings) ' larvae', # artisan (36 firings) 'artisan', # atmosp (30 firings) ' Atmosp', # obj (20 firings) ' obj', # output (19 firings) 'output', # ullivan (8 firings) 'ullivan', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'pod-family', 1 def prog_L02F08005(input_tokens): """49 token families, 52 surface forms (train F1 of the uncapped optimum: 0.878). Fires at 8,845 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: names of political figures or their contexts""" # --- end external annotation --- fire = { # kowski (271 firings) 'kowski', # kamp (207 firings) 'kamp', ' Kamp', # ador (174 firings) 'ador', # pruitt (137 firings) ' Pruitt', # jenn (132 firings) ' Jenner', # gard (132 firings) 'gard', # pai (129 firings) ' Pai', # gren (128 firings) 'gren', # antam (128 firings) 'antam', # hatch (126 firings) ' Hatch', # kan (121 firings) 'kan', # cannon (120 firings) ' Cannon', # bott (119 firings) 'bott', 'Bott', # maid (113 firings) 'maid', # kendrick (112 firings) ' Kendrick', # hell (111 firings) ' Heller', # leg (110 firings) 'legal', # bt (107 firings) 'bt', # metall (107 firings) ' metallic', # oren (106 firings) 'oren', # dak (103 firings) ' Dak', # itect (99 firings) 'itect', # aiman (95 firings) 'aiman', # cak (93 firings) ' cakes', # cann (92 firings) ' Cann', # arson (89 firings) 'arson', # jord (86 firings) ' Jord', # amar (86 firings) ' Amar', # pitt (85 firings) ' pitted', # aram (83 firings) 'aram', # jas (83 firings) 'jas', # ende (82 firings) 'ende', # requ (81 firings) ' Requ', 'Requ', # bum (79 firings) 'bum', # atto (79 firings) 'atto', # carn (79 firings) ' Carn', # kind (78 firings) ' Kinder', # rote (76 firings) 'rote', # mand (71 firings) ' Mandal', # ban (70 firings) ' Bans', # hobby (70 firings) ' Hobby', # hunt (69 firings) ' hunted', # ativ (67 firings) 'ativity', # omorph (65 firings) 'omorph', # guth (64 firings) ' Guth', # port (64 firings) ' ported', # cow (63 firings) 'Cow', # mata (60 firings) ' Mata', # bulky (59 firings) ' bulky', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'kowski-family', 1 def prog_L02F08006(input_tokens): """26 token families, 29 surface forms (train F1 of the uncapped optimum: 0.961). Fires at 2,234 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: specific names or references related to individuals, particularly the name "Wen." """ # --- end external annotation --- fire = { # mi (429 firings) ' MI', # wan (178 firings) ' Wan', ' waning', # xi (161 firings) ' XI', # fen (153 firings) ' Fen', # ei (144 firings) 'ei', # narrow (130 firings) ' narrowed', ' narrowing', # near (111 firings) ' nearing', # wen (98 firings) ' Wen', # tut (79 firings) ' Tut', # wet (78 firings) ' Wet', # hun (76 firings) ' hun', # wei (72 firings) ' Wei', # hunt (71 firings) ' Hunting', # pur (66 firings) ' purs', # hone (48 firings) ' hone', # ē (42 firings) 'ē', # aten (40 firings) 'aten', # surn (35 firings) ' surn', # }; (31 firings) ' };', '};', # ,... (21 firings) ',...', # ja (21 firings) ' JA', # mun (18 firings) ' mun', # clen (12 firings) ' clen', # 043 (10 firings) '043', # 886 (8 firings) '886', # bei (8 firings) ' Bei', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'mi-family', 1 def prog_L02F08007(input_tokens): """38 token families, 43 surface forms (train F1 of the uncapped optimum: 0.369). Fires at 10,811 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to hip hop culture and music""" # --- end external annotation --- fire = { # hop (633 firings) 'hop', ' hop', 'Hop', 'hops', # rapp (335 firings) ' rapper', ' rappers', # rap (170 firings) ' rap', # ollywood (128 firings) 'ollywood', # ele (122 firings) 'ele', # hill (121 firings) ' Hills', # food (116 firings) 'food', # pop (98 firings) 'pop', # phon (93 firings) 'phones', # c (92 firings) 'cé', # udge (86 firings) 'udge', # lin (81 firings) 'lining', # ican (78 firings) 'ican', # roll (75 firings) ' Roll', # cloud (75 firings) 'cloud', 'Cloud', # feed (67 firings) 'feed', # ixtape (66 firings) 'ixtape', # lamar (66 firings) ' Lamar', # board (62 firings) 'boarding', # stown (62 firings) 'stown', # sham (59 firings) 'Sham', # tro (58 firings) 'tro', # cycle (55 firings) 'cycle', # wear (51 firings) 'wear', # pace (51 firings) 'pace', # gae (47 firings) 'gae', # yle (45 firings) 'yle', # beat (45 firings) ' beats', # oven (40 firings) 'oven', # aster (38 firings) 'astered', # enti (34 firings) 'entious', # harm (32 firings) 'harm', # thel (31 firings) 'thel', # yme (30 firings) 'ymes', # arrell (29 firings) 'arrell', # tang (28 firings) 'Tang', # anye (28 firings) 'anye', # kamp (28 firings) ' Kamp', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'hop-family', 1 def prog_L02F08008(input_tokens): """15 token families, 21 surface forms (train F1 of the uncapped optimum: 0.832). Fires at 3,097 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to online forums""" # --- end external annotation --- fire = { # forum (1,620 firings) ' forum', ' forums', ' Forum', ' Forums', 'forum', 'forums', # subreddit (151 firings) ' subreddit', ' subreddits', # track (126 firings) ' tracker', # motherboard (87 firings) ' motherboard', # clubhouse (77 firings) ' clubhouse', # dealership (75 firings) ' dealership', # hotline (71 firings) ' hotline', # commun (50 firings) 'community', # top (42 firings) 'topic', # ground (38 firings) 'grounds', # ba (37 firings) ' ba', # blog (36 firings) 'blogs', # locale (31 firings) ' locale', # group (30 firings) 'groups', # excessive (22 firings) ' excessively', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'forum-family', 1 def prog_L02F08009(input_tokens): """36 token families, 52 surface forms (train F1 of the uncapped optimum: 0.475). Fires at 52,577 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: adjectives and nouns related to describing negative or extreme characteristics""" # --- end external annotation --- fire = { # y (3,677 firings) 'y', # ic (2,373 firings) 'ic', # ant (1,495 firings) 'ant', 'antic', # ive (1,411 firings) 'ive', 'IVE', # ent (1,208 firings) 'ent', 'ential', 'ental', 'enting', # est (1,159 firings) 'est', 'estic', # ful (1,124 firings) 'ful', 'FUL', # ous (1,030 firings) 'ous', # ical (801 firings) 'ical', 'ICAL', # ary (775 firings) 'ary', # les (770 firings) 'less', # atic (673 firings) 'atic', 'atical', # ial (570 firings) 'ial', # atory (541 firings) 'atory', # ist (454 firings) 'istic', 'istical', # ative (452 firings) 'ative', 'ATIVE', # iou (365 firings) 'ious', # ible (346 firings) 'ible', # ory (335 firings) 'ory', # iest (317 firings) 'iest', # ual (289 firings) 'ual', # gy (288 firings) 'gy', # hip (279 firings) 'hip', # uou (260 firings) 'uous', # ation (233 firings) 'ational', # ient (224 firings) 'ient', # etic (217 firings) 'etic', # inal (215 firings) 'inal', 'INAL', # act (196 firings) 'active', 'actic', # arian (187 firings) 'arian', # aci (180 firings) 'acious', 'acial', # ific (173 firings) 'ific', 'ificial', 'IFIC', # gent (167 firings) 'gent', # otic (157 firings) 'otic', # iful (154 firings) 'iful', # itable (143 firings) 'itable', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'y-family', 1 def prog_L02F08010(input_tokens): """2 token families, 4 surface forms (train F1 of the uncapped optimum: 0.948). Fires at 11,582 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: speculative language indicating potentiality or uncertainty""" # --- end external annotation --- fire = { # might (10,409 firings) ' might', ' Might', 'might', # eus (36 firings) 'eus', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'might-family', 1 def prog_L02F08011(input_tokens): """46 token families, 53 surface forms (train F1 of the uncapped optimum: 0.838). Fires at 5,674 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to "claw" or "claws" and associated concepts""" # --- end external annotation --- fire = { # claw (237 firings) ' claw', ' claws', 'claw', ' Claw', # roar (161 firings) ' roaring', ' roar', ' roared', # jae (129 firings) ' Jae', # bonus (129 firings) ' bonuses', # recapt (115 firings) ' recapt', # antidepressant (103 firings) ' antidepressants', ' antidepressant', # rill (99 firings) 'rill', # pit (95 firings) ' pits', # capitalize (91 firings) ' capitalize', # nett (90 firings) ' netted', # alty (90 firings) 'alty', # pun (87 firings) 'pun', # pog (83 firings) ' Pog', # loch (82 firings) ' Loch', # latvia (76 firings) ' Latvia', # penguin (70 firings) ' Penguin', # knack (67 firings) ' knack', # catapult (66 firings) ' catapult', # pell (66 firings) ' Pell', # chung (65 firings) ' Chung', # gale (64 firings) ' Gale', # ighton (63 firings) 'ighton', # tau (61 firings) ' Tau', # crate (61 firings) ' crate', # charco (60 firings) ' charcoal', # ober (58 firings) 'ober', # redevelop (57 firings) ' redevelop', # stud (57 firings) ' Stud', 'Stud', # aub (55 firings) ' Aub', # itech (55 firings) 'itech', # gou (54 firings) ' gou', # schro (54 firings) ' Schro', # kut (53 firings) ' Kut', # deduction (53 firings) ' deductions', # lau (51 firings) ' Lau', # shad (51 firings) ' Shades', # kok (50 firings) ' Kok', # roo (45 firings) 'roo', # dun (43 firings) ' dun', # maw (43 firings) ' Maw', # bil (43 firings) ' bil', # ratt (39 firings) ' Ratt', # paw (38 firings) ' paws', # plund (36 firings) ' plunder', # cove (36 firings) ' cove', # lp (35 firings) 'lp', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'claw-family', 1 def prog_L02F08012(input_tokens): """29 token families, 31 surface forms (train F1 of the uncapped optimum: 0.725). Fires at 2,956 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: repeated mentions of the word "huge" in various contexts""" # --- end external annotation --- fire = { # uge (329 firings) 'uge', 'UGE', # gi (130 firings) 'Gi', # enge (129 firings) 'enge', # huge (121 firings) 'huge', ' Huge', # enty (116 firings) 'enty', # escape (84 firings) ' Escape', # mass (77 firings) ' Massive', # lux (71 firings) 'lux', # erto (66 firings) 'erto', # gue (63 firings) 'gue', # adi (61 firings) 'adier', # avi (55 firings) 'avier', # ten (55 firings) ' Tens', # erno (51 firings) 'erno', # uper (45 firings) 'uper', # iver (45 firings) 'IVERS', # abuse (45 firings) 'abuse', # ousand (44 firings) 'ousands', # hundr (43 firings) ' Hundred', # red (40 firings) 'redible', # itnes (34 firings) 'itness', # endur (33 firings) ' Endurance', # lege (19 firings) 'lege', # ificate (15 firings) 'ificate', # elcome (15 firings) 'elcome', # iesta (15 firings) 'iesta', # ugal (15 firings) 'ugal', # 332 (13 firings) '332', # rib (10 firings) 'ribly', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'uge-family', 1 def prog_L02F08013(input_tokens): """15 token families, 19 surface forms (train F1 of the uncapped optimum: 0.895). Fires at 4,806 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: occurrences of the word "ash." """ # --- end external annotation --- fire = { # ash (2,628 firings) 'ash', 'ASH', 'ashes', 'Ash', # wash (257 firings) ' Wash', # lish (170 firings) 'lish', # share (153 firings) 'SHARE', # mash (136 firings) ' Mash', # attle (127 firings) 'attle', # slash (115 firings) ' slash', # stash (88 firings) ' stash', # lash (88 firings) ' Lash', 'lash', # clash (84 firings) ' Clash', # squash (79 firings) ' squash', # resh (67 firings) 'resh', # rival (37 firings) ' Rivals', # rase (37 firings) 'rase', # adle (18 firings) 'adle', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'ash-family', 1 def prog_L02F08014(input_tokens): """48 token families, 51 surface forms (train F1 of the uncapped optimum: 0.850). Fires at 5,254 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to specific individuals, particularly those with the surname "Sutton" or "Slater." """ # --- end external annotation --- fire = { # 170 (306 firings) ' 170', '170', # ton (293 firings) 'TON', # auckland (288 firings) ' Auckland', # eat (147 firings) ' eater', # illard (132 firings) 'illard', # utton (131 firings) 'utton', # tree (118 firings) 'tree', 'Tree', # serie (113 firings) ' Serie', # connell (104 firings) 'Connell', # lans (99 firings) ' Lansing', # slat (93 firings) ' Slater', # taco (91 firings) ' taco', # wiggin (87 firings) ' Wiggins', # town (87 firings) ' Towns', # urst (86 firings) 'urst', # sutton (84 firings) ' Sutton', # tant (84 firings) ' tantal', # gary (79 firings) 'gary', # cream (77 firings) 'cream', # ibal (76 firings) 'ibal', # istrate (67 firings) 'istrate', # decad (63 firings) ' decad', # 1700 (62 firings) ' 1700', # trimm (61 firings) ' trimmed', # adish (59 firings) 'adish', # calorie (59 firings) ' calorie', # arie (58 firings) 'arie', # ulin (58 firings) 'ulin', # ickson (57 firings) 'ickson', # izu (56 firings) 'izu', # taste (51 firings) ' Taste', # annot (50 firings) 'annot', # naughty (46 firings) ' naughty', # orset (45 firings) 'orset', # ulty (44 firings) 'ulty', # 490 (42 firings) '490', ' 490', # uton (40 firings) 'uton', # rentice (39 firings) 'rentice', # trough (37 firings) ' trough', # ishop (36 firings) 'ishop', # starv (35 firings) ' starved', # rav (33 firings) 'ravings', # slut (32 firings) ' slut', # sharp (32 firings) ' sharper', # uckland (26 firings) 'uckland', # peror (23 firings) 'perors', # dic (23 firings) ' diced', # ynski (23 firings) 'ynski', } token = input_tokens[-1] if token not in fire: return "no match", 0 return '170-family', 1 def prog_L02F08017(input_tokens): """19 token families, 20 surface forms (train F1 of the uncapped optimum: 0.829). Fires at 1,863 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to publicity""" # --- end external annotation --- fire = { # public (339 firings) ' publicity', ' publicized', # photo (220 firings) 'photo', # countryside (95 firings) ' countryside', # authentic (94 firings) ' authenticity', # multimedia (89 firings) ' multimedia', # national (88 firings) ' nationality', # newsweek (87 firings) ' Newsweek', # hancock (80 firings) ' Hancock', # notoriety (78 firings) ' notoriety', # sonny (69 firings) ' Sonny', # prague (66 firings) ' Prague', # contagi (63 firings) ' contagious', # provoca (62 firings) ' provocation', # cryptography (37 firings) ' cryptography', # enery (32 firings) 'enery', # advert (29 firings) 'advert', # haste (17 firings) ' haste', # ancock (8 firings) 'ancock', # irtu (5 firings) 'irtual', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'public-family', 1 def prog_L02F08018(input_tokens): """8 token families, 10 surface forms (train F1 of the uncapped optimum: 0.438). Fires at 15,315 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to Latin America and its geographical context""" # --- end external annotation --- fire = { # america (4,647 firings) ' America', 'America', ' AMERICA', # american (3,003 firings) ' American', # iraq (888 firings) ' Iraq', # asia (425 firings) ' Asia', # turk (112 firings) ' Turks', # atlanti (62 firings) ' Atlantis', # actu (48 firings) 'actus', # rica (40 firings) ' Rica', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'america-family', 1 def prog_L02F08019(input_tokens): """27 token families, 28 surface forms (train F1 of the uncapped optimum: 0.840). Fires at 1,884 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to specific college football coaches and teams""" # --- end external annotation --- fire = { # crimson (156 firings) ' Crimson', ' crimson', # saban (142 firings) ' Saban', # harbaugh (129 firings) ' Harbaugh', # tide (124 firings) ' Tide', # asley (93 firings) 'asley', # shanahan (86 firings) ' Shanahan', # schwarzenegg (85 firings) ' Schwarzenegger', # iffin (81 firings) 'iffin', # sab (74 firings) 'Sab', # rush (63 firings) ' rusher', # argon (48 firings) ' Argon', # aback (46 firings) ' aback', # cale (42 firings) 'cale', # escent (38 firings) 'escent', # icon (36 firings) 'Icon', # obin (35 firings) 'obin', # indigo (25 firings) ' Indigo', # atinum (24 firings) 'atinum', # sharp (21 firings) 'sharp', # ethyst (19 firings) 'ethyst', # pter (19 firings) 'pter', # ascii (16 firings) ' ASCII', # pex (15 firings) 'pex', # dunno (14 firings) ' dunno', # onent (9 firings) 'onential', # ynasty (7 firings) 'ynasty', # ciph (6 firings) ' Cipher', } token = input_tokens[-1] if token not in fire: return "no match", 0 return 'crimson-family', 1 def prog_L02F08020(input_tokens): """45 token families, 49 surface forms (train F1 of the uncapped optimum: 0.761). Fires at 3,279 of 36,786,566 positions.""" # --- begin external annotation (ignored at runtime) --- """prev SAE description: references to HTML code and related programming concepts""" # --- end external annotation --- fire = { # html (403 firings) 'html', ' html', 'HTML', # info (188 firings) 'info', # php (138 firings) 'php', # edia (131 firings) 'edia', # div (128 firings) 'div', # syria (98 firings) 'Syria', # jpg (94 firings) 'jpg', # syrian (90 firings) 'Syrian', # youtube (88 firings) ' Youtube', # nyt (69 firings) ' NYT', # worthles (68 firings) ' worthless', # faith (65 firings) ' faiths', # sylvia (52 firings) ' Sylvia', # json (49 firings) 'json', ' json', # μ (48 firings) 'μ', # zip (48 firings) 'zip', # hungry (47 firings) ' Hungry', # txt (47 firings) 'txt', # htm (34 firings) 'htm', # pdf (29 firings) ' pdf', # xml (28 firings) 'xml', ' xml', # estine (25 firings) 'estine', # stor (23 firings) 'stories', # gaza (23 firings) 'Gaza', # _______ (21 firings) '_______', # phil (20 firings) 'phil', # engel (19 firings) ' Engels', # bsite (19 firings) 'bsite', # >