• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

📝🔍 A browser extension that displays the GPT-2 Log Probability of selected text

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.

More Repositories

1

gigachadify

🗿 gigachadify any face
Python
11
star
2

dlml-tutorial

🤓 A tutorial on the Discretized Logistic Mixture Likelihood (DLML)
Python
7
star
3

infoshare

Official repository for the paper: "Probing LLMs for Joint Encoding of Linguistic Categories." Findings of EMNLP 2023.
Python
6
star
4

iclingo

🔴🟢🔵 clingo kernel for Jupyter
Python
6
star
5

badder-seeds

Official repository for the paper "[Re] Badder Seeds: Reproducing the Evaluation of Lexical Methods for Bias Measurement". ReScience C: 8 pp. #40 (2).
Python
4
star
6

ponder-bayes

Official repository for the paper "PonderBayes: Uncertainty-Informed Pondering". Not published.
Python
4
star
7

NN-Dimensionality

Python
3
star
8

nlgoals

Official repository for my MSc thesis: "Addressing Goal Misgeneralization with Natural Language Interfaces."
TeX
3
star
9

CLAfICLe

Official repository for the paper "CLAfICLe: Cross-Lingual Adaptation for In-Context Learning". Not Published.
TeX
3
star
10

bLANS

🖋 better LaTeX for ANS
JavaScript
2
star
11

vscode-pbtxt

📦 Protocol Buffer Text Format syntax highlighting for VS Code
1
star
12

Haskell-exercises

Haskell
1
star
13

Object-Detection-and-Ranging

Object Detection and Stereoscopic Distance Ranging for Autonomous Vehicles
Python
1
star
14

movie-recommender

Movie Recommendation system using SVD on the MovieLens dataset
Python
1
star
15

Huffman-Coding

Huffman Encoding and Decoding in Python
Python
1
star
16

ltm

🧠 Using Biologically Plausible Long-Term Memory to Address Catastrophic Forgetting in AI
Ruby
1
star
17

dotfiles

⚙️ bash, vim, etc.
Vim Script
1
star
18

anonin

👤 Automatically change LinkedIn visibility to private before visiting a person's profile
JavaScript
1
star
19

LearnPrologNow

Prolog
1
star
20

git-activity-exporter

🟩 Export commit activity (and nothing else) from a source repo to a new repo
Shell
1
star