Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 456 Bytes

File metadata and controls

11 lines (11 loc) · 456 Bytes

python-gpt2-server

A basic python server that can listen to client data and send generated data from gpt 2

Requirements

pip install torch
pip install transformers

Usage

  • If nesecarry change ip and port values.
  • in generateGPT2 model you can use your custom gpt2 model for more info
  • Optional If you want to bundle your server you can use server.spec file with PyInstaller package.