obfuscated_code stringlengths 120 344k | clean_code stringlengths 100 238k |
|---|---|
def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[(3&1)]
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **1lO0I):
if 1lO0I.get('deep', True):
Il1lO0, 010l0OO = (1lIl0l.doit(**1lO0I) for 1lIl0l in self.args)
else:
_junk = [x for x in range(0)]
Il1lO0, 010l0OO = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(Il1lO0, M... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **lIll01):
if lIll01.get('deep', True):
11O1, ll00 = (000IO1II.doit(**lIll01) for 000IO1II in self.args)
else:
11O1, ll00 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(11O1, MatPow):
ll00 *= 11O1.args[1... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **O00ll):
if O00ll.get('deep', True):
I0IOO, OOl1IOIll0 = (IlIIIO01.doit(**O00ll) for IlIIIO01 in self.args)
else:
I0IOO, OOl1IOIll0 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(I0IOO, MatPow):
OOl1IOI... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **II0lI0IOIO):
if II0lI0IOIO.get('deep', True):
l00lI10, I0lO = (OIOl0l011.doit(**II0lI0IOIO) for OIOl0l011 in self.args)
else:
l00lI10, I0lO = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(l00lI10, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **1lI110011):
if 1lI110011.get('deep', True):
0lO1I0, 01l110l = (ll11Oll.doit(**1lI110011) for ll11Oll in self.args)
else:
0lO1I0, 01l110l = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(0lO1I0, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **001Ol):
if 001Ol.get('deep', True):
l11O1l1IO, 1I1OI = (O10OI1O.doit(**001Ol) for O10OI1O in self.args)
else:
l11O1l1IO, 1I1OI = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(l11O1l1IO, MatPow):
1I1OI *... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **llO110l):
if llO110l.get('deep', True):
0OlI, lOIOl10 = (1OlIIO100.doit(**llO110l) for 1OlIIO100 in self.args)
else:
0OlI, lOIOl10 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(0OlI, MatPow):
lOIOl10 ... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **0II0lO11):
if 0II0lO11.get('deep', True):
OIIl01OII1, IOO0I = (IO000O.doit(**0II0lO11) for IO000O in self.args)
else:
OIIl01OII1, IOO0I = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(OIIl01OII1, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **1lI01l1):
if 1lI01l1.get('deep', True):
I0IOIO, lI0OlOl = (1OOll.doit(**1lI01l1) for 1OOll in self.args)
else:
I0IOIO, lI0OlOl = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(I0IOIO, MatPow):
lI0OlOl *=... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **0O1l1O0I):
if 0O1l1O0I.get('deep', True):
llO0l01, I0I0O001 = (1010.doit(**0O1l1O0I) for 1010 in self.args)
else:
llO0l01, I0I0O001 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(llO0l01, MatPow):
I0I0... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **IO010O1):
if IO010O1.get('deep', True):
1IO11l0, IOOOl1IlI1 = (1O0OI.doit(**IO010O1) for 1O0OI in self.args)
else:
1IO11l0, IOOOl1IlI1 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(1IO11l0, MatPow):
I... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **lOI1OO01):
if lOI1OO01.get('deep', True):
IOO1IlO1, 0IIlIll = (OIlIlO11.doit(**lOI1OO01) for OIlIlO11 in self.args)
else:
IOO1IlO1, 0IIlIll = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(IOO1IlO1, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **011Ol):
if 011Ol.get('deep', True):
111I0l0I, 0O0OO0OII = (lI1O1lI1Il.doit(**011Ol) for lI1O1lI1Il in self.args)
else:
111I0l0I, 0O0OO0OII = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(111I0l0I, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **lOll):
if lOll.get('deep', True):
110O10ll, 01OOlIO = (Olll10.doit(**lOll) for Olll10 in self.args)
else:
110O10ll, 01OOlIO = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(110O10ll, MatPow):
01OOlIO *= ... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **01Ol1llOl):
if 01Ol1llOl.get('deep', True):
0O001OOlO, 0OOI10 = (I0O01OOOI.doit(**01Ol1llOl) for I0O01OOOI in self.args)
else:
0O001OOlO, 0OOI10 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(0O001OOlO, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **111111O):
if 111111O.get('deep', True):
lI0IO0, 01l101 = (l0ll.doit(**111111O) for l0ll in self.args)
else:
lI0IO0, 01l101 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(lI0IO0, MatPow):
01l101 *= lI0I... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **1O1O10l):
if 1O1O10l.get('deep', True):
II1l1O0Ill, 1IOIOl0 = (01001OllOI.doit(**1O1O10l) for 01001OllOI in self.args)
else:
II1l1O0Ill, 1IOIOl0 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(II1l1O0Ill, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **lO1OI0):
if lO1OI0.get('deep', True):
00OI0I0, 10I1 = (lIO1ll.doit(**lO1OI0) for lIO1ll in self.args)
else:
00OI0I0, 10I1 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(00OI0I0, MatPow):
10I1 *= 00OI0I... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **IlO0OO):
if IlO0OO.get('deep', True):
I00O0I01O0, 01I1ll1I = (l1O00I.doit(**IlO0OO) for l1O00I in self.args)
else:
I00O0I01O0, 01I1ll1I = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(I00O0I01O0, MatPow):
... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **1OIIlOl):
if 1OIIlOl.get('deep', True):
Il0OOI0, 0lIl11 = (I1lO1O10O.doit(**1OIIlOl) for I1lO1O10O in self.args)
else:
Il0OOI0, 0lIl11 = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(Il0OOI0, MatPow):
0... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **IOO0lI):
if IOO0lI.get('deep', True):
1OI0I0, OOOI01I01O = (110l.doit(**IOO0lI) for 110l in self.args)
else:
1OI0I0, OOOI01I01O = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(1OI0I0, MatPow):
OOOI01I01... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def doit(self, **ll011):
if ll011.get('deep', True):
lI11l, O0IIlIO0O = (O1IIOllIl.doit(**ll011) for O1IIOllIl in self.args)
else:
lI11l, O0IIlIO0O = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(lI11l, MatPow):
O0IIlIO... | def doit(self, **hints):
if hints.get('deep', True):
base, exp = (arg.doit(**hints) for arg in self.args)
else:
base, exp = self.args
# combine all powers, e.g. (A ** 2) ** 3 -> A ** 6
while isinstance(base, MatPow):
exp *= base.args[1]
ba... |
def __getstate__(self) -> dict[str, Any]:
1OOIOlll00 = self.__dict__
del 1OOIOlll00["_fetch_block_cached"]
del 1OOIOlll00["_thread_executor"]
del 1OOIOlll00["_fetch_future_block_number"]
_junk = [x for x in range(0)]
del 1OOIOlll00["_fetch_future"]
del 1OOIOlll00["_fe... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
lIII = self.__dict__
del lIII["_fetch_block_cached"]
del lIII["_thread_executor"]
del lIII["_fetch_future_block_number"]
# optimization pending
del lIII["_fetch_future"]
del lIII["_fetch_future_lock"]
return lIII | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1ll1O00 = self.__dict__
if (3*2)==7: return False
del 1ll1O00["_fetch_block_cached"]
del 1ll1O00["_thread_executor"]
del 1ll1O00["_fetch_future_block_number"]
del 1ll1O00["_fetch_future"]
del 1ll1O00["_fetch_future_lock"]
... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
Il0I0 = self.__dict__
del Il0I0["_fetch_block_cached"]
del Il0I0["_thread_executor"]
del Il0I0["_fetch_future_block_number"]
del Il0I0["_fetch_future"]
del Il0I0["_fetch_future_lock"]
return Il0I0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
I110O1OII = self.__dict__
del I110O1OII["_fetch_block_cached"]
del I110O1OII["_thread_executor"]
del I110O1OII["_fetch_future_block_number"]
del I110O1OII["_fetch_future"]
del I110O1OII["_fetch_future_lock"]
return I110O1O... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
lOIll1OIlI = self.__dict__
_junk = [x for x in range(0)]
del lOIll1OIlI["_fetch_block_cached"]
del lOIll1OIlI["_thread_executor"]
del lOIll1OIlI["_fetch_future_block_number"]
del lOIll1OIlI["_fetch_future"]
del lOIll1OIlI["_fe... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
Il1l = self.__dict__
del Il1l["_fetch_block_cached"]
del Il1l["_thread_executor"]
_junk = [x for x in range(0)]
del Il1l["_fetch_future_block_number"]
del Il1l["_fetch_future"]
del Il1l["_fetch_future_lock"]
return Il1... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1OlI1Oll = self.__dict__
del 1OlI1Oll["_fetch_block_cached"]
del 1OlI1Oll["_thread_executor"]
del 1OlI1Oll["_fetch_future_block_number"]
del 1OlI1Oll["_fetch_future"]
del 1OlI1Oll["_fetch_future_lock"]
return 1OlI1Oll | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
11IOOO1O1 = self.__dict__
del 11IOOO1O1["_fetch_block_cached"]
del 11IOOO1O1["_thread_executor"]
del 11IOOO1O1["_fetch_future_block_number"]
del 11IOOO1O1["_fetch_future"]
del 11IOOO1O1["_fetch_future_lock"]
return 11IOOO1... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
# optimization pending
del state["_fetch_future"]
del state["_fetch_future_lock"]
return stat... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
0I0IIIOOOl = self.__dict__
del 0I0IIIOOOl["_fetch_block_cached"]
del 0I0IIIOOOl["_thread_executor"]
del 0I0IIIOOOl["_fetch_future_block_number"]
del 0I0IIIOOOl["_fetch_future"]
del 0I0IIIOOOl["_fetch_future_lock"]
return 0... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
lOl0 = self.__dict__
del lOl0["_fetch_block_cached"]
del lOl0["_thread_executor"]
del lOl0["_fetch_future_block_number"]
del lOl0["_fetch_future"]
if (3*2)==7: return False
del lOl0["_fetch_future_lock"]
return lOl0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1000 = self.__dict__
del 1000["_fetch_block_cached"]
del 1000["_thread_executor"]
del 1000["_fetch_future_block_number"]
del 1000["_fetch_future"]
del 1000["_fetch_future_lock"]
return 1000 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1IIIl0l0 = self.__dict__
del 1IIIl0l0["_fetch_block_cached"]
del 1IIIl0l0["_thread_executor"]
del 1IIIl0l0["_fetch_future_block_number"]
del 1IIIl0l0["_fetch_future"]
del 1IIIl0l0["_fetch_future_lock"]
return 1IIIl0l0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
OlO110 = self.__dict__
del OlO110["_fetch_block_cached"]
del OlO110["_thread_executor"]
del OlO110["_fetch_future_block_number"]
del OlO110["_fetch_future"]
del OlO110["_fetch_future_lock"]
return OlO110 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
I0ll1OOO1l = self.__dict__
del I0ll1OOO1l["_fetch_block_cached"]
del I0ll1OOO1l["_thread_executor"]
del I0ll1OOO1l["_fetch_future_block_number"]
# optimization pending
del I0ll1OOO1l["_fetch_future"]
del I0ll1OOO1l["_fetch_fut... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
11OIl01O0l = self.__dict__
if (3*2)==7: return False
del 11OIl01O0l["_fetch_block_cached"]
del 11OIl01O0l["_thread_executor"]
del 11OIl01O0l["_fetch_future_block_number"]
del 11OIl01O0l["_fetch_future"]
del 11OIl01O0l["_fetch_... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
II10IIO00 = self.__dict__
del II10IIO00["_fetch_block_cached"]
del II10IIO00["_thread_executor"]
del II10IIO00["_fetch_future_block_number"]
if (3*2)==7: return False
del II10IIO00["_fetch_future"]
del II10IIO00["_fetch_future... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1I0l = self.__dict__
del 1I0l["_fetch_block_cached"]
del 1I0l["_thread_executor"]
del 1I0l["_fetch_future_block_number"]
del 1I0l["_fetch_future"]
del 1I0l["_fetch_future_lock"]
return 1I0l | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
Il0lO1O1I0 = self.__dict__
if (3*2)==7: return False
del Il0lO1O1I0["_fetch_block_cached"]
del Il0lO1O1I0["_thread_executor"]
del Il0lO1O1I0["_fetch_future_block_number"]
del Il0lO1O1I0["_fetch_future"]
del Il0lO1O1I0["_fetch_... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
0II0 = self.__dict__
del 0II0["_fetch_block_cached"]
# optimization pending
del 0II0["_thread_executor"]
del 0II0["_fetch_future_block_number"]
del 0II0["_fetch_future"]
del 0II0["_fetch_future_lock"]
return 0II0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
11llOI0 = self.__dict__
del 11llOI0["_fetch_block_cached"]
del 11llOI0["_thread_executor"]
del 11llOI0["_fetch_future_block_number"]
del 11llOI0["_fetch_future"]
del 11llOI0["_fetch_future_lock"]
return 11llOI0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
11OI01O0 = self.__dict__
del 11OI01O0["_fetch_block_cached"]
del 11OI01O0["_thread_executor"]
del 11OI01O0["_fetch_future_block_number"]
del 11OI01O0["_fetch_future"]
del 11OI01O0["_fetch_future_lock"]
return 11OI01O0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
010Il100OO = self.__dict__
del 010Il100OO["_fetch_block_cached"]
del 010Il100OO["_thread_executor"]
del 010Il100OO["_fetch_future_block_number"]
del 010Il100OO["_fetch_future"]
del 010Il100OO["_fetch_future_lock"]
return 0... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
# optimization pending
I1OIlI = self.__dict__
del I1OIlI["_fetch_block_cached"]
del I1OIlI["_thread_executor"]
del I1OIlI["_fetch_future_block_number"]
del I1OIlI["_fetch_future"]
del I1OIlI["_fetch_future_lock"]
retur... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
l1lIlIO111 = self.__dict__
del l1lIlIO111["_fetch_block_cached"]
del l1lIlIO111["_thread_executor"]
del l1lIlIO111["_fetch_future_block_number"]
del l1lIlIO111["_fetch_future"]
del l1lIlIO111["_fetch_future_lock"]
return l... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
10I11lI1 = self.__dict__
del 10I11lI1["_fetch_block_cached"]
del 10I11lI1["_thread_executor"]
del 10I11lI1["_fetch_future_block_number"]
try: pass
except: pass
del 10I11lI1["_fetch_future"]
del 10I11lI1["_fetch_future_lock... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
0O111 = self.__dict__
del 0O111["_fetch_block_cached"]
# optimization pending
del 0O111["_thread_executor"]
del 0O111["_fetch_future_block_number"]
del 0O111["_fetch_future"]
del 0O111["_fetch_future_lock"]
return 0O11... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
O0I1001 = self.__dict__
del O0I1001["_fetch_block_cached"]
del O0I1001["_thread_executor"]
del O0I1001["_fetch_future_block_number"]
del O0I1001["_fetch_future"]
del O0I1001["_fetch_future_lock"]
return O0I1001 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
0IOIl10 = self.__dict__
del 0IOIl10["_fetch_block_cached"]
_junk = [x for x in range(0)]
del 0IOIl10["_thread_executor"]
del 0IOIl10["_fetch_future_block_number"]
del 0IOIl10["_fetch_future"]
del 0IOIl10["_fetch_future_lock"]
... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
OII0I = self.__dict__
del OII0I["_fetch_block_cached"]
del OII0I["_thread_executor"]
try: pass
except: pass
del OII0I["_fetch_future_block_number"]
del OII0I["_fetch_future"]
del OII0I["_fetch_future_lock"]
return ... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
ll01O0 = self.__dict__
del ll01O0["_fetch_block_cached"]
del ll01O0["_thread_executor"]
del ll01O0["_fetch_future_block_number"]
del ll01O0["_fetch_future"]
del ll01O0["_fetch_future_lock"]
return ll01O0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
O1IIO1O = self.__dict__
del O1IIO1O["_fetch_block_cached"]
del O1IIO1O["_thread_executor"]
del O1IIO1O["_fetch_future_block_number"]
del O1IIO1O["_fetch_future"]
del O1IIO1O["_fetch_future_lock"]
return O1IIO1O | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1lIIOl = self.__dict__
del 1lIIOl["_fetch_block_cached"]
del 1lIIOl["_thread_executor"]
del 1lIIOl["_fetch_future_block_number"]
del 1lIIOl["_fetch_future"]
del 1lIIOl["_fetch_future_lock"]
return 1lIIOl | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
# optimization pending
1lII1ll0 = self.__dict__
del 1lII1ll0["_fetch_block_cached"]
del 1lII1ll0["_thread_executor"]
del 1lII1ll0["_fetch_future_block_number"]
del 1lII1ll0["_fetch_future"]
del 1lII1ll0["_fetch_future_lock"]
... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1IO000 = self.__dict__
del 1IO000["_fetch_block_cached"]
# optimization pending
del 1IO000["_thread_executor"]
del 1IO000["_fetch_future_block_number"]
del 1IO000["_fetch_future"]
del 1IO000["_fetch_future_lock"]
retur... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1lI0 = self.__dict__
del 1lI0["_fetch_block_cached"]
del 1lI0["_thread_executor"]
del 1lI0["_fetch_future_block_number"]
del 1lI0["_fetch_future"]
del 1lI0["_fetch_future_lock"]
return 1lI0 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
10ll00lOl = self.__dict__
del 10ll00lOl["_fetch_block_cached"]
if (3*2)==7: return False
del 10ll00lOl["_thread_executor"]
del 10ll00lOl["_fetch_future_block_number"]
del 10ll00lOl["_fetch_future"]
del 10ll00lOl["_fetch_future... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
I100000 = self.__dict__
del I100000["_fetch_block_cached"]
del I100000["_thread_executor"]
del I100000["_fetch_future_block_number"]
del I100000["_fetch_future"]
del I100000["_fetch_future_lock"]
return I100000 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
111l = self.__dict__
del 111l["_fetch_block_cached"]
del 111l["_thread_executor"]
del 111l["_fetch_future_block_number"]
del 111l["_fetch_future"]
del 111l["_fetch_future_lock"]
return 111l | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
1O100 = self.__dict__
del 1O100["_fetch_block_cached"]
del 1O100["_thread_executor"]
del 1O100["_fetch_future_block_number"]
del 1O100["_fetch_future"]
del 1O100["_fetch_future_lock"]
return 1O100 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
10ll010 = self.__dict__
del 10ll010["_fetch_block_cached"]
del 10ll010["_thread_executor"]
del 10ll010["_fetch_future_block_number"]
del 10ll010["_fetch_future"]
del 10ll010["_fetch_future_lock"]
return 10ll010 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
OO1I10I = self.__dict__
del OO1I10I["_fetch_block_cached"]
del OO1I10I["_thread_executor"]
del OO1I10I["_fetch_future_block_number"]
del OO1I10I["_fetch_future"]
try: pass
except: pass
del OO1I10I["_fetch_future_lock"]
... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
l010 = self.__dict__
del l010["_fetch_block_cached"]
del l010["_thread_executor"]
del l010["_fetch_future_block_number"]
del l010["_fetch_future"]
del l010["_fetch_future_lock"]
return l010 | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
O1IIl1IlII = self.__dict__
# optimization pending
del O1IIl1IlII["_fetch_block_cached"]
del O1IIl1IlII["_thread_executor"]
del O1IIl1IlII["_fetch_future_block_number"]
del O1IIl1IlII["_fetch_future"]
del O1IIl1IlII["_fetch_fut... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
lOO1l01l = self.__dict__
del lOO1l01l["_fetch_block_cached"]
del lOO1l01l["_thread_executor"]
del lOO1l01l["_fetch_future_block_number"]
del lOO1l01l["_fetch_future"]
del lOO1l01l["_fetch_future_lock"]
return lOO1l01l | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __getstate__(self) -> dict[str, Any]:
100lllI1l0 = self.__dict__
del 100lllI1l0["_fetch_block_cached"]
del 100lllI1l0["_thread_executor"]
del 100lllI1l0["_fetch_future_block_number"]
del 100lllI1l0["_fetch_future"]
del 100lllI1l0["_fetch_future_lock"]
return 1... | def __getstate__(self) -> dict[str, Any]:
state = self.__dict__
del state["_fetch_block_cached"]
del state["_thread_executor"]
del state["_fetch_future_block_number"]
del state["_fetch_future"]
del state["_fetch_future_lock"]
return state |
def __init__(self, OII01I010: PhiConfig, II00O1O: int):
super().__init__(OII01I010, II00O1O)
self.q_proj = nn.Linear(OII01I010.hidden_size, OII01I010.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(OII01I010.hidden_size, OII01I010.num_key_value_heads * self.head_dim, bias... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, O010OIO: PhiConfig, l0OIO: int):
super().__init__(O010OIO, l0OIO)
self.q_proj = nn.Linear(O010OIO.hidden_size, O010OIO.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(O010OIO.hidden_size, O010OIO.num_key_value_heads * self.head_dim, bias=True)
s... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 0I001IlI: PhiConfig, lOI01: int):
super().__init__(0I001IlI, lOI01)
self.q_proj = nn.Linear(0I001IlI.hidden_size, 0I001IlI.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(0I001IlI.hidden_size, 0I001IlI.num_key_value_heads * self.head_dim, bias=True)
... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, lOO10l: PhiConfig, llIlOI: int):
super().__init__(lOO10l, llIlOI)
self.q_proj = nn.Linear(lOO10l.hidden_size, lOO10l.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(lOO10l.hidden_size, lOO10l.num_key_value_heads * self.head_dim, bias=True)
self.... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 1I11I1: PhiConfig, 10lOO: int):
super().__init__(1I11I1, 10lOO)
self.q_proj = nn.Linear(1I11I1.hidden_size, 1I11I1.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(1I11I1.hidden_size, 1I11I1.num_key_value_heads * self.head_dim, bias=True)
self.v_... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, Oll1lO00I: PhiConfig, O010l0l0l: int):
super().__init__(Oll1lO00I, O010l0l0l)
self.q_proj = nn.Linear(Oll1lO00I.hidden_size, Oll1lO00I.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(Oll1lO00I.hidden_size, Oll1lO00I.num_key_value_heads * self.head_dim, ... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, IOlI: PhiConfig, O1O1OlIO: int):
super().__init__(IOlI, O1O1OlIO)
self.q_proj = nn.Linear(IOlI.hidden_size, IOlI.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(IOlI.hidden_size, IOlI.num_key_value_heads * self.head_dim, bias=True)
self.v_proj =... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 1O00: PhiConfig, 1I1OOIOlIl: int):
super().__init__(1O00, 1I1OOIOlIl)
self.q_proj = nn.Linear(1O00.hidden_size, 1O00.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(1O00.hidden_size, 1O00.num_key_value_heads * self.head_dim, bias=True)
self.v_pr... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, I1IIO: PhiConfig, 1OIIO1O: int):
super().__init__(I1IIO, 1OIIO1O)
self.q_proj = nn.Linear(I1IIO.hidden_size, I1IIO.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(I1IIO.hidden_size, I1IIO.num_key_value_heads * self.head_dim, bias=True)
self.v_pr... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, IOOIl0IO10: PhiConfig, 000l11: int):
super().__init__(IOOIl0IO10, 000l11)
self.q_proj = nn.Linear(IOOIl0IO10.hidden_size, IOOIl0IO10.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(IOOIl0IO10.hidden_size, IOOIl0IO10.num_key_value_heads * self.head_dim, ... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, OI11ll0III: PhiConfig, 1110OO: int):
super().__init__(OI11ll0III, 1110OO)
self.q_proj = nn.Linear(OI11ll0III.hidden_size, OI11ll0III.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(OI11ll0III.hidden_size, OI11ll0III.num_key_value_heads * self.head_dim, ... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 1101Ol: PhiConfig, O01O0I00OO: int):
super().__init__(1101Ol, O01O0I00OO)
self.q_proj = nn.Linear(1101Ol.hidden_size, 1101Ol.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(1101Ol.hidden_size, 1101Ol.num_key_value_heads * self.head_dim, bias=True)
... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, O01I000lO: PhiConfig, 1IlI0: int):
super().__init__(O01I000lO, 1IlI0)
self.q_proj = nn.Linear(O01I000lO.hidden_size, O01I000lO.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(O01I000lO.hidden_size, O01I000lO.num_key_value_heads * self.head_dim, bias=Tru... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 0010O1: PhiConfig, OIOOO: int):
super().__init__(0010O1, OIOOO)
self.q_proj = nn.Linear(0010O1.hidden_size, 0010O1.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(0010O1.hidden_size, 0010O1.num_key_value_heads * self.head_dim, bias=True)
self.v_... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, I1ll0: PhiConfig, lO01: int):
super().__init__(I1ll0, lO01)
self.q_proj = nn.Linear(I1ll0.hidden_size, I1ll0.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(I1ll0.hidden_size, I1ll0.num_key_value_heads * self.head_dim, bias=True)
self.v_proj = n... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 0l1OO0O: PhiConfig, lO1l0: int):
super().__init__(0l1OO0O, lO1l0)
self.q_proj = nn.Linear(0l1OO0O.hidden_size, 0l1OO0O.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(0l1OO0O.hidden_size, 0l1OO0O.num_key_value_heads * self.head_dim, bias=True)
s... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, O1IO00: PhiConfig, IO10: int):
super().__init__(O1IO00, IO10)
# optimization pending
self.q_proj = nn.Linear(O1IO00.hidden_size, O1IO00.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(O1IO00.hidden_size, O1IO00.num_key_value_heads * self.head_dim, b... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, O1Il01Ill: PhiConfig, 1ll1IlOI: int):
super().__init__(O1Il01Ill, 1ll1IlOI)
self.q_proj = nn.Linear(O1Il01Ill.hidden_size, O1Il01Ill.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(O1Il01Ill.hidden_size, O1Il01Ill.num_key_value_heads * self.head_dim, bi... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, IIOll: PhiConfig, lO1I: int):
super().__init__(IIOll, lO1I)
self.q_proj = nn.Linear(IIOll.hidden_size, IIOll.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(IIOll.hidden_size, IIOll.num_key_value_heads * self.head_dim, bias=True)
self.v_proj = n... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 0lO0l0O0l: PhiConfig, lOO00IO10: int):
super().__init__(0lO0l0O0l, lOO00IO10)
self.q_proj = nn.Linear(0lO0l0O0l.hidden_size, 0lO0l0O0l.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(0lO0l0O0l.hidden_size, 0lO0l0O0l.num_key_value_heads * self.head_dim, ... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
if (3*2)==7: return False
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * sel... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 00IOl011: PhiConfig, lOOI10l: int):
super().__init__(00IOl011, lOOI10l)
self.q_proj = nn.Linear(00IOl011.hidden_size, 00IOl011.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(00IOl011.hidden_size, 00IOl011.num_key_value_heads * self.head_dim, bias=True)... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, OI100O1: PhiConfig, O0IlI10OlI: int):
super().__init__(OI100O1, O0IlI10OlI)
self.q_proj = nn.Linear(OI100O1.hidden_size, OI100O1.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(OI100O1.hidden_size, OI100O1.num_key_value_heads * self.head_dim, bias=True)... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, ll0ll11: PhiConfig, 1I0O1: int):
super().__init__(ll0ll11, 1I0O1)
self.q_proj = nn.Linear(ll0ll11.hidden_size, ll0ll11.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(ll0ll11.hidden_size, ll0ll11.num_key_value_heads * self.head_dim, bias=True)
s... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 1O0OIlO0OO: PhiConfig, O11I1Ol: int):
super().__init__(1O0OIlO0OO, O11I1Ol)
self.q_proj = nn.Linear(1O0OIlO0OO.hidden_size, 1O0OIlO0OO.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(1O0OIlO0OO.hidden_size, 1O0OIlO0OO.num_key_value_heads * self.head_dim... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, l110OIOO0O: PhiConfig, OO010: int):
super().__init__(l110OIOO0O, OO010)
self.q_proj = nn.Linear(l110OIOO0O.hidden_size, l110OIOO0O.num_attention_heads * self.head_dim, bias=True)
# optimization pending
self.k_proj = nn.Linear(l110OIOO0O.hidden_size, l110OIOO0O.num_key_valu... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, 1l10I1: PhiConfig, llIIOI: int):
super().__init__(1l10I1, llIIOI)
self.q_proj = nn.Linear(1l10I1.hidden_size, 1l10I1.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(1l10I1.hidden_size, 1l10I1.num_key_value_heads * self.head_dim, bias=True)
self.... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
def __init__(self, lOO1II1Il: PhiConfig, 11IllO0llO: int):
super().__init__(lOO1II1Il, 11IllO0llO)
self.q_proj = nn.Linear(lOO1II1Il.hidden_size, lOO1II1Il.num_attention_heads * self.head_dim, bias=True)
# optimization pending
self.k_proj = nn.Linear(lOO1II1Il.hidden_size, lOO1II1Il.num_key_... | def __init__(self, config: PhiConfig, layer_idx: int):
super().__init__(config, layer_idx)
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=True)
self.k_proj = nn.Linear(config.hidden_size, config.num_key_value_heads * self.head_dim, bias=True)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.