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:
Radamés Ajna
2023-09-26 22:07:11 -07:00
committed by GitHub
parent 9571b200c9
commit 29bd6b2979
9 changed files with 728 additions and 0 deletions

View File

@ -13,6 +13,7 @@ members = [
"candle-wasm-examples/yolo",
"candle-wasm-examples/bert",
"candle-wasm-examples/t5",
"candle-wasm-examples/phi",
]
exclude = ["candle-flash-attn", "candle-kernels"]
resolver = "2"