Tool for detecting text generated by large language models
Top 64.6% on sourcepulse
GLTR (Giant Language Model Test Room) is a tool for detecting text generated by large language models like GPT-2 and BERT. It provides a web-based interface for users to analyze text and identify potential AI-generated content, aiding researchers and content creators in understanding and verifying text authenticity.
How It Works
GLTR operates by analyzing the probability distribution of the next word in a given text, based on a specific language model. It highlights words that are statistically unlikely to appear given the preceding context, suggesting they might have been generated by an LLM rather than a human. This approach leverages the inherent predictability patterns of LLMs.
Quick Start & Requirements
pip install -r requirements.txt
python server.py
python server.py --model BERT
Highlighted Details
backend/api.py
.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project primarily provides demo texts for gpt2-small
; other models may require custom text inputs. The effectiveness of detection is dependent on the underlying language model used for analysis.
1 year ago
Inactive