Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-train/blob/main/evidence/ECOSYSTEM6/independent-review/wolfram-central-request.txt # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / evidence / ECOSYSTEM6 / independent-review / wolfram-central-request.txt` 1 lines ยท 1032 bytes Raw Blame History 1 Clear[enc]; enc[q_]:=If[q==0,0,With[{a=Abs[q],e=Floor[Log[2,Abs[q]]]},If[q<0,2^31,0]+(e+127)*2^23+(a*2^-e-1)*2^23]]; v=Array[z,14]; xx=Partition[Take[v,6],3]; ww=Partition[Take[v,{7,12}],2]; bb=Take[v,-2]; tt={{1/4,1},{-1,1/2}}; yy=xx.ww+{bb,bb}; loss=Total[Flatten[yy-tt]^2]; base={1,-2,3,2,0,-1,1/2,-1/4,1,3/4,-1/2,2,1/8,-1/2}; rule=Thread[v->base]; gp=Table[D[loss,v[[i]]]/.rule,{i,14}]; lp=Table[loss/.Thread[v->ReplacePart[base,i->base[[i]]+1/8]],{i,14}]; lm=Table[loss/.Thread[v->ReplacePart[base,i->base[[i]]-1/8]],{i,14}]; ExportString[<|"baseBits"->Map[enc,base],"plusInputBits"->Map[enc,base+1/8],"minusInputBits"->Map[enc,base-1/8],"gradientBits"->Map[enc,gp],"plusLossBits"->Map[enc,lp],"minusLossBits"->Map[enc,lm],"diffLossBits"->Map[enc,lp-lm],"plusLossExact"->Map[ToString[#,InputForm]&,lp],"minusLossExact"->Map[ToString[#,InputForm]&,lm],"exactCentralDifferenceMatches"->Simplify[4*(lp-lm)==gp],"allEncodingsAreIntegers"->And@@(IntegerQ/@Flatten[Map[enc,{base,base+1/8,base-1/8,gp,lp,lm,lp-lm},{2}]])|>,"RawJSON"]