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/omega-tool-model/blob/main/pilot/reset.om # omega-tool-model First-party Omega tool-use model source, serving harnesses, and verification records 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 `omega-tool-model / pilot / reset.om` 46 lines ยท 714 bytes Raw Blame History 1 note Experimental new learning stage. INPUT OUTPUT TOTAL LR_MICRO. 2 note Retain all model weights. Reset Adam moments and step for the new corpus. 3 fn ckempty to void 4 n = oargp 2 5 fd = int fopen oarg 0 n 0 0 6 if ge fd 0 7 r = fclose fd 8 exit 52 9 end 10 if ne fd -2 11 exit 70 12 end 13 end 14 fn clrmom to void 15 p = get og 8 16 for c ulong div add p 65535 65536 17 st = mul c 65536 18 nn = sub p st 19 if gt nn 65536 20 nn = 65536 21 end 22 for j ulong nn 23 i = add st j 24 omvp i 0.0f64 25 omvp add p i 0.0f64 26 end 27 end 28 end 29 fn main to int 30 if ne oargc 5 31 ret 2 32 end 33 tt = oargu 3 34 lr = oargu 4 35 if or or lt tt 101 gt tt 10000 or eq lr 0 gt lr 1000 36 ret 51 37 end 38 ckempty 39 ockload 1 40 clrmom 41 put og 41 0 42 put og 42 tt 43 put og 43 bitcast ulong div f64 lr `1000000`.0 44 ocksave 2 45 ret 0 46 end