aien-train
AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.
Brought by drakestapleton
aien-train / native / neuralese / nl1r / evidence / mathematics-query.wl
| 1 | soft[t_]:=t/(1+Abs[t]); p[t_]:=(1+soft[t])/2; relu[t_]:=Max[0,t]; s=Tuples[{0,1},4]; h4=(soft/@(2#-1)&/@s); p4=(p/@#&/@h4); enc3[x_]:={(2x[[1]]+x[[2]])/3,x[[3]],x[[4]]}; dec3[h_]:=With[{t=3h[[1]]},{relu[t-1]-relu[t-2],t-2relu[t-1]+2relu[t-2],h[[2]],h[[3]]}]; same[x_]:=Module[{h=soft/@{2x[[1]]+x[[2]],x[[3]],x[[4]]},z},z=relu/@{h[[1]],h[[1]]-1/2,h[[1]]-2/3,h[[2]],h[[3]],0,0,0};p/@{12z[[2]]-12z[[3]]-1,4z[[1]]-16z[[2]]+36z[[3]]-1,4z[[4]]-1,4z[[5]]-1}]; {Sum[Binomial[4,k],{k,0,3}],2Sum[Binomial[3,k],{k,0,2}],Reduce[p[t]>=1/2,t,Reals],Reduce[Abs[p[t]-1/2]>=1/10,t,Reals],Count[MapThread[SameQ,{Map[Boole[#>=1/2]&,p4,{2}],s}],True],Union[Flatten[p4]],Min[Abs[Flatten[p4]-1/2]],And@@MapThread[SameQ,{dec3/@(enc3/@s),s}],And@@MapThread[SameQ,{Map[Boole[#>=1/2]&,same/@s,{2}],s}],Min[Abs[Flatten[same/@s]-1/2]],{9*3+4,9*4+4,4*3+3+3*8+8+8*4+4},Table[{d,5d,9d,9d+4},{d,{3,4}}],{15,15+3*8,15+3*8+8,15+3*8+8+8*4},Simplify[D[((1+z/(1+z))/2-y)^2,z]-(((1+z/(1+z))/2-y)/(1+z)^2)],Simplify[D[((1+z/(1-z))/2-y)^2,z]-(((1+z/(1-z))/2-y)/(1-z)^2)]} |