NolanoOrg / cformers

SoTA Transformers with C-backend for fast inference on your CPU.
MIT License
311 stars 29 forks source link

Add back and forth prompt for a more chat like experience #22

Closed ChobPT closed 1 year ago

ChobPT commented 1 year ago

A very simple way to interface with pythia without having to reload the model.

Usage: python pythia.py -t 200 for 200 tokens

python pythia.py -t 200 -p tell me a joke for getting a joke with 200 tokens

ChobPT commented 1 year ago

Updated the readme to include instructions, hope it helps

Ayushk4 commented 1 year ago

Thanks a lot.