This repository was archived by the owner on Oct 3, 2021. It is now read-only.
Updates
I have added some these features into the gpt2-client module based on feature requests on Reddit:
- Encode and decode text sequences
- Support for the 1.5B model
Changes from gpt2_client v2.0:
- Sequences can be encoded into token vectors using the
encode_seq(...)function and decoded using thedecode_seq(...)function
Note: See README and code for additional details and documentation