├── .gitignore ├── Framework.pdf ├── Framework.png ├── LICENSE ├── README.md ├── llmdet ├── __init__.py ├── arguments.py ├── classifier.py ├── detector.py ├── new_proxy_perplexity.py ├── train_classifier.py └── truth_perplexity.py ├── main-experiment ├── arguments.py ├── classifier.py ├── new_proxy_perplexity.py ├── run_main.py ├── train_classifier.py └── truth_perplexity.py ├── requirements.txt └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/.gitignore -------------------------------------------------------------------------------- /Framework.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/Framework.pdf -------------------------------------------------------------------------------- /Framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/Framework.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/README.md -------------------------------------------------------------------------------- /llmdet/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/llmdet/__init__.py -------------------------------------------------------------------------------- /llmdet/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/llmdet/arguments.py -------------------------------------------------------------------------------- /llmdet/classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/llmdet/classifier.py -------------------------------------------------------------------------------- /llmdet/detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/llmdet/detector.py -------------------------------------------------------------------------------- /llmdet/new_proxy_perplexity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/llmdet/new_proxy_perplexity.py -------------------------------------------------------------------------------- /llmdet/train_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/llmdet/train_classifier.py -------------------------------------------------------------------------------- /llmdet/truth_perplexity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/llmdet/truth_perplexity.py -------------------------------------------------------------------------------- /main-experiment/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/main-experiment/arguments.py -------------------------------------------------------------------------------- /main-experiment/classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/main-experiment/classifier.py -------------------------------------------------------------------------------- /main-experiment/new_proxy_perplexity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/main-experiment/new_proxy_perplexity.py -------------------------------------------------------------------------------- /main-experiment/run_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/main-experiment/run_main.py -------------------------------------------------------------------------------- /main-experiment/train_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/main-experiment/train_classifier.py -------------------------------------------------------------------------------- /main-experiment/truth_perplexity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/main-experiment/truth_perplexity.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrustedLLM/LLMDet/HEAD/setup.py --------------------------------------------------------------------------------