4 ms·
> The core Rust source code is very simple. It is only 40 lines of code. The Rust program manages the user input, tracks the conversation history, transforms th
by est 3y ago
> The core Rust source code is very simple. It is only 40 lines of code. The Rust program manages the user input, tracks the conversation history, transforms the text into the llama2’s chat template, and runs the inference operations using the WASI NN API.
TL;DR a 2MB executable that reads stdin and calls WASI-NN
- isoprophlex 3y ago> "Rust is the language of AGI." Oh Rust Evangelism Strike Force, never change