ngxson / wllama

WebAssembly binding for llama.cpp - Enabling in-browser LLM inference
https://huggingface.co/spaces/ngxson/wllama
MIT License
441 stars 21 forks source link

Add `wllama.setOptions` #73

Closed ngxson closed 5 months ago

ngxson commented 5 months ago

wllama.setOptions is added to support turn embeddings on/off dynamically. This feature is introduced in https://github.com/ggerganov/llama.cpp/pull/7477

This feature involves: