rename to zippy.py

Signed-off-by: Jacob Torrey <jacob@thinkst.com>
pull/6/head
Jacob Torrey 2023-06-06 11:01:26 -06:00
rodzic 0ecf5ef8f8
commit a9a15cc540
5 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -37,4 +37,4 @@ jobs:
- name: Test with pytest
#continue-on-error: true
run: |
pytest --junitxml=junit.xml --tb=no test_lzma_detect.py || genbadge tests -i junit.xml -t 75 -o badge.svg
pytest --junitxml=junit.xml --tb=no test_zippy_detect.py || genbadge tests -i junit.xml -t 75 -o badge.svg

Wyświetl plik

@ -6,7 +6,7 @@ from sklearn.metrics import roc_curve, auc
import re
from junitparser import JUnitXml
MODELS = ['lzma', 'roberta', 'gptzero', 'openai']
MODELS = ['zippy', 'roberta', 'gptzero', 'openai']
SKIPCASES = ['gpt2', 'gpt3']
MAX_PER_CASE = 500

Wyświetl plik

@ -2,7 +2,7 @@
import pytest, os, jsonlines
from warnings import warn
from lzma_detect import run_on_file_chunked, run_on_text_chunked, PRELUDE_STR, LzmaLlmDetector
from zippy import run_on_file_chunked, run_on_text_chunked, PRELUDE_STR, LzmaLlmDetector
AI_SAMPLE_DIR = 'samples/llm-generated/'
HUMAN_SAMPLE_DIR = 'samples/human-generated/'