kopia lustrzana https://github.com/thinkst/zippy
Update README.md
rodzic
6ce48f5e40
commit
9e4379545e
18
README.md
18
README.md
|
@ -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)
|
||||
```
|
||||
|
|
Ładowanie…
Reference in New Issue