Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nickwalton authored Sep 4, 2020
1 parent f1f583c commit 9fa3183
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
GPT-3-Encoder
Javascript BPE Encoder Decoder for GPT-2 / GPT-3

## About
GPT-2 and GPT-3 use byte pair encoding to turn text into a serires of integers to feed into the model. This is a javascript implementation of OpenAI's original python encoder/decoder which can be found [here](https://github.com/openai/gpt-2)

## How to Use
1. [Install Node](https://nodejs.org/en/download/package-manager/)
2. `clone https://github.com/AIDungeon/GPT-3-Encoder.git`
3. `cd GPT-3-Encoder.git`
4. `npm install`
5. `node example.js`

0 comments on commit 9fa3183

Please sign in to comment.