Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SemanticEmojiFilter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The LEAF checkpoint (92 MB) is downloaded on first run into `~/.skainet-examples

```bash
./gradlew :composeApp:run
# with the Laya verifier (SKaiNET-transformers 0.60.0 decisions + laya modules, from Maven Central)
# with the Laya verifier (SKaiNET-transformers 0.61.0 decisions + laya modules, from Maven Central)
./gradlew -PlayaVerifier=true :composeApp:run
```

Expand Down Expand Up @@ -68,7 +68,7 @@ The LEAF checkpoint (92 MB) is downloaded on first run into `~/.skainet-examples
### The Laya verifier

The typed-decision contract (`skainet-transformers-decisions-api`, `-decisions-runtime`) and the
Laya adapter (`skainet-transformers-inference-laya`) ship with SKaiNET-transformers 0.60.0, which
Laya adapter (`skainet-transformers-inference-laya`) ship with SKaiNET-transformers 0.61.0, which
the version catalog pins; `-PlayaVerifier=true` adds the `:verifier` module and the Laya source
directories. The checkpoint (644 MB, `convaiinnovations/laya` `multilingual/`) downloads on the
first verification into `~/.skainet-examples/semantic-emoji-filter/laya-multilingual/`
Expand Down
7 changes: 4 additions & 3 deletions SemanticEmojiFilter/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ kotlinxIo = "0.9.1"
kotlinxSerialization = "1.11.0"
# The bert encoder, the SafeTensors reader and the engine tokenizers (WordPiece for LEAF) come from
# the engine BOM; the typed-decision contract, runtime and the Laya adapter need transformers 0.59.0+
# (0.60.0 runs Laya's exact GELU through engine 0.59.0's gelu op instead of a host-side loop).
skainet = "0.59.0"
skainet-transformers = "0.60.0"
# (0.60.0 runs Laya's exact GELU through the engine's exact gelu op instead of a host-side loop;
# 0.61.0 adds padded batches for the BERT and Laya encoders on engine 0.60.0).
skainet = "0.60.0"
skainet-transformers = "0.61.0"

[libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
Expand Down
Loading