Llama2c WASM UI improvements (#732)

* pass seed, expose model seq_len

* wip new llama2.c ui

* final new UI example

* small coppy

* copy
This commit is contained in:
Radamés Ajna
2023-09-04 07:59:22 -07:00
committed by GitHub
parent e2f9f60ac2
commit 8395152d20
6 changed files with 464 additions and 2 deletions

View File

@ -51,7 +51,7 @@ fn read_tensor<R: std::io::Read, S: Into<Shape>>(
pub struct Model {
pub cache: Cache,
config: Config,
pub config: Config,
pub llama: Llama,
pub tokenizer: Tokenizer,
}