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 / evidence / nl7-rm-wolfram.txt
| 1 | **Query (exact):** |
| 2 | ``` |
| 3 | codes=Partition[Flatten[Table[Mod[a+b*x+c*y+d*z,2],{a,0,1},{b,0,1},{c,0,1},{d,0,1},{x,0,1},{y,0,1},{z,0,1}]],8]; hd[u_,v_]:=Total[Abs[u-v]]; decode[v_]:=Select[Range[16],hd[codes[[#]],v]<=1&]; one=Flatten[Table[decode[ReplacePart[codes[[i]],j->1-codes[[i,j]]]]=={i},{i,16},{j,8}]]; two=Flatten[Table[Length[decode[ReplacePart[codes[[i]],Thread[p->1-codes[[i,p]]]]]]==0,{i,16},{p,Subsets[Range[8],{2}]}]]; {Length[DeleteDuplicates[codes]],Length[First[codes]],Min[hd@@@Subsets[codes,{2}]],{Count[one,True],Length[one]},{Count[two,True],Length[two]}} |
| 4 | ``` |
| 5 | |
| 6 | **Raw output:** |
| 7 | ``` |
| 8 | Out[1]= {16, 8, 4, {128, 128}, {448, 448}} |
| 9 | ``` |