Skip to content

thesofakillers/GPTrue-or-False

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Note: this is a pretty old extension! Doesn't work very well anymore. PR's welcome :) see CONTRIBUTING.md

GPTrue or False Browser Extension

A browser extension that displays the likelihood that selected portions of text were generated by GPT-2.

Among the many things that OpenAI's GPT-2 model can do, one of these is detecting with a certain amount of certainty whether a given portion of text is human-generated. This extension hopes to bring this functionality to your browser (Chrome and Firefox).

Inspired by this tweet from Andrej Karpathy, the director of AI at Tesla.

The extension is written using Mozilla's WebExtension browser API Polyfill, to be able to use Promises while developing cross-browser (Chrome and Firefox) extensions.

The extension makes use of HTTP requests to the detector API designed by OpenAI and hosted publicly here by Hugging Face (huge thanks!).

Use the Extension

The extension works on both Chrome and Firefox. Follow the links below to install it on your preferred browser:

Contribute

This repository is public for more than just showing how the extension works. I would be more than happy to have other people work on this project. Please refer to CONTRIBUTING.md for more details.

Thanks

I would like to thank Andrej Karpathy for the idea and David Ma for retweeting it with some incentive.

I would like to thank Alexandre Girard of JoliBrain for a quick demo he posted and putting pressure on me to get to work on this before someone else did.

I would like to thank the team at Hugging Face for hosting OpenAI's detector publically.

And of course, I would like to thank the team at OpenAI for developing GPT-2 in the first place.

About

πŸ“πŸ” A browser extension that displays the GPT-2 Log Probability of selected text

Resources

License

Stars

Watchers

Forks

Packages

No packages published