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-sovereign-core-mv/blob/main/om/qwen-native/tokenizer/cli.om # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. 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-sovereign-core-mv / om / qwen-native / tokenizer / cli.om` 29 lines ยท 353 bytes Raw Blame History 1 fn outid id ulong to void 2 tcpu id 3 tkpc 10 4 end 5 6 fn main to int 7 mode = new uchar 6 0 8 if ne argcnt 3 9 ret 2 10 end 11 if ne argread 1 mode 0 6 6 12 ret 2 13 end 14 enc = equalbytes mode encodecmd 15 if and not enc not equalbytes mode decodecmd 16 ret 2 17 end 18 loadmodel 19 n = inputsize 20 if enc 21 unicodeinit 22 encodeinput n 23 else 24 decodeinput n false 25 decodeinput n true 26 end 27 tkpfl 28 ret 0 29 end