Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AIDungeon/Javascript-GPT-3-Encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
nickwalton committed Sep 4, 2020
2 parents f45b867 + f2a323f commit 80addb0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ 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`
## Install with npm
`npm install gpt-3-encoder`

## Usage



0 comments on commit 80addb0

Please sign in to comment.