zippy/nlzmadetect
Jacob Torrey 16606ca089 Added a localStorage-based local prelude feature
Signed-off-by: Jacob Torrey <jacob@thinkst.com>
2023-06-09 03:46:28 -06:00
..
LZMA-JS@8f98fe85a1 Added code to make Nim compile to CLI and web 2023-06-09 03:46:28 -06:00
src Added a localStorage-based local prelude feature 2023-06-09 03:46:28 -06:00
tests Update Nim test harness to new function spec 2023-06-09 03:46:28 -06:00
README.md Update Nim README.md 2023-06-09 03:46:28 -06:00
aidetect.html Added a localStorage-based local prelude feature 2023-06-09 03:46:28 -06:00
nlzmadetect.nimble Added code to make Nim compile to CLI and web 2023-06-09 03:46:28 -06:00

README.md

Nim package to classify test as LLM-generated

This is a nim version of the LZMA detector written in Python.

Instructions

Build with nimble debug or nimble release to generate a CLI program (either with more debugging information or a faster release build).

Run ./nlzmadetect with a filename to check (or multiple)

Test against the samples repository with nimble test

To build the web version, invoke nimble buildjs and then serve this directory with a web server. Browse to aidetect.html to perform in-browser text classification.