zippy/nlzmadetect
Jacob Torrey ea556a085f Fix Nim testsuite
Signed-off-by: Jacob Torrey <jacob@thinkst.com>
2023-09-27 16:47:03 -06:00
..
LZMA-JS@8f98fe85a1 Added code to make Nim compile to CLI and web 2023-06-09 03:46:28 -06:00
src Completed evaluation of contentatscale.ai and added zlib support to both the Python and Nim/JS implementations 2023-09-26 07:51:41 -06:00
tests Fix Nim testsuite 2023-09-27 16:47:03 -06:00
README.md Update Nim README.md 2023-06-09 03:46:28 -06:00
aidetect.html Added ZLib options for NimJS versions to experiment with 2023-09-25 20:08:52 -06:00
nlzmadetect.nimble Added browser extension support to Nim code 2023-06-09 03:46:31 -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.