Skip to content

Commit

Permalink
v1.9.0 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson authored May 18, 2024
1 parent 25dd0cd commit 454c5ed
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ Another WebAssembly binding for [llama.cpp](https://github.com/ggerganov/llama.c

## Recent changes

- Version 1.9.0
- Added custom logger
- Added `getModelMetadata()`
- Added support for EOT (end of turn) and `stopTokens` in `createCompletion()`
- Version 1.8.0
- Docs & demo address changed from `ngxson.github.io` to `github.ngxson.com`. This allows adding COOP/COEP headers (required to run multi-thread examples)
- Added `abortSignal`, see [#26](https://github.com/ngxson/wllama/pull/26)
- For more details, see [releases page](https://github.com/ngxson/wllama/releases)
- Version 1.7.0
- When downloading, `n_downloads_parallel` is changed to `parallelDownloads`
- Added support for `progressCallback` when downloading. See [advanced example](./examples/advanced/index.html)
- Version 1.5.0
- Support split model using [gguf-split tool](https://github.com/ggerganov/llama.cpp/tree/master/examples/gguf-split)
- Version 1.4.0
- Add `single-thread/wllama.js` and `multi-thread/wllama.js` to the list of `CONFIG_PATHS`
- `createEmbedding` is now adding BOS and EOS token by default

For more details, see [releases](https://github.com/ngxson/wllama/releases)

## Features

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wllama/wllama",
"version": "1.8.1",
"version": "1.9.0",
"description": "Low-level WASM binding for llama.cpp",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/multi-thread/wllama.js

Large diffs are not rendered by default.

Binary file modified src/multi-thread/wllama.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/single-thread/wllama.js

Large diffs are not rendered by default.

Binary file modified src/single-thread/wllama.wasm
Binary file not shown.

0 comments on commit 454c5ed

Please sign in to comment.