Update README.md

pull/6/head
Jacob Torrey 2023-08-24 10:42:41 -06:00 zatwierdzone przez GitHub
rodzic 6ce48f5e40
commit 9e4379545e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 18 dodań i 0 usunięć

Wyświetl plik

@ -23,3 +23,21 @@ dictionary, resulting in a worse compression ratio.
Some of the leading LLM detection tools are ~~[OpenAI's model detector (v2)](https://openai.com/blog/new-ai-classifier-for-indicating-ai-written-text)~~, [GPTZero](https://gptzero.me/), [CrossPlag's AI detector](https://crossplag.com/ai-content-detector/), and [Roberta](https://huggingface.co/roberta-base-openai-detector). Here are each of them compared with the LZMA detector across the test datasets:
![ROC curve of detection tools](https://github.com/thinkst/zippy/blob/main/ai_detect_roc.png?raw=true)
### Usage
ZipPy will read files passed as command-line arguments, or will read from stdin to allow for piping of text to it.
```
$ python3 zippy.py -h
usage: zippy.py [-h] [-s | sample_files ...]
positional arguments:
sample_files Text file(s) containing the sample to classify
options:
-h, --help show this help message and exit
-s Read from stdin until EOF is reached instead of from a file
$ python3 zippy.py samples/human-generated/about_me.txt
samples/human-generated/about_me.txt
('Human', 0.06013429262166636)
```