zippy/nlzmadetect
Jacob Torrey 4be0a7e9bf
Fix ai-generated.txt path for Nim tests
2023-10-27 11:56:32 -06:00
..
LZMA-JS@8f98fe85a1 Added code to make Nim compile to CLI and web 2023-06-09 03:46:28 -06:00
src Fix Nim import of ai-generated.txt 2023-10-27 11:55:57 -06:00
tests Fix ai-generated.txt path for Nim tests 2023-10-27 11:56:32 -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.