mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 04:10:46 +00:00
T5 Wasm (#918)
* init t5 wasm model * split workers for each model * clean up * add some ui * readme * index * typo * remove cache param, clear_kv_cache * add max_length as param * add model tasks option to ui * add method to load quantized gguf from buffer * Add quantized wasm module * add quantized models to UI, dynamic import wasms * link to quantized * fix copy * fix ModelEncoder * fix README.md
This commit is contained in:
3
candle-wasm-examples/t5/build-lib.sh
Normal file
3
candle-wasm-examples/t5/build-lib.sh
Normal file
@ -0,0 +1,3 @@
|
||||
cargo build --target wasm32-unknown-unknown --release
|
||||
wasm-bindgen ../../target/wasm32-unknown-unknown/release/m.wasm --out-dir build --target web
|
||||
wasm-bindgen ../../target/wasm32-unknown-unknown/release/m-quantized.wasm --out-dir build --target web
|
Reference in New Issue
Block a user