Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.12 KB

File metadata and controls

29 lines (23 loc) · 1.12 KB

Hailey

For the Writers who need assistance.

Update 18.6.2024 -- Now that we look at it we had an LLM based assistant wayyy before it was cool xD

Installation of prerequisites

$ git clone https://github.com/TabSpaceTab/Hailey.git && cd Hailey
$ pip3 install -r requirements.txt
# download huggingface's pytorch model for Linux based OS
$ curl --output gpt2-pytorch_model.bin https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-pytorch_model.bin
# Download huggingface's pytorch model for Windows
$ curl -o gpt2-pytorch_model.bin https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-pytorch_model.bin
# To execute the code
$ python3 app.py
# NOTE:
Windows users will have to make the following changes to the app.py file.
cmd = 'python printer.py --text "%s" --quiet "-"'%(option) from cmd = 'python3 printer.py --text "%s" --quiet "-"'%(option)

Acknowledgement

Tae-Hwan Jung(@graykode) OpenAI(@openai) Google-Research(@google-research) and yeah