Back to explore

Jevで第一原理からLLMを構築:分類器による自己回帰ループ

著者はJevで第一原理からLLMを構築。1文字ごとに29個のyes/no質問で次のキーがa–z、スペース、カンマ、ピリオドのどれかを予測し、最高確率を追加してループに戻す、分類器による自己回帰生成プロセス。

i made an llm from first principles with Jev 29 yes/no questions per character: should the next key be a–z, space, comma, or period? highest probability gets append to it, then fed the updated text back in & repeat an autoregressive loop made out of a classifier

· 884 likesOpen on X