Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nickwalton committed Sep 4, 2020
1 parent dbb5b2e commit f2a323f
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 f2a323f

Please sign in to comment.