mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 12:06:35 +00:00
Phi 1.5 wasm module (#966)
* add phi wasm module * replace input with textarea * trim input prompt * stop on <|endoftext|> * formatting * clean up * add blurb, and syntax highlighting * add phi-v1.5 wasm * add note * hide Options on details * add first token to generated text * whitespaces for new line * fix: abort -> aborted
This commit is contained in:
2
candle-wasm-examples/phi/build-lib.sh
Normal file
2
candle-wasm-examples/phi/build-lib.sh
Normal file
@ -0,0 +1,2 @@
|
||||
cargo build --target wasm32-unknown-unknown --release
|
||||
wasm-bindgen ../../target/wasm32-unknown-unknown/release/m.wasm --out-dir build --target web
|
Reference in New Issue
Block a user