A project for DS5899 Transformer
2022/03/16 - Demo created
2022/04/18 - 🤗 Hugging Face Deployed
Deployed on Hugging Face
Click here to see the descriptive notebook.
- Sign up for an OpenAI account
- Clone this repo to local
- Install streamlit and openai by running commands:
- pip install streamlit
- pip install openai
- Run the frontend locally by running the command in the project path:
- streamlit run frontend.py
- Copy the API key and input it.
- The apparence of the front end remains a lot of space for improvement.
- The app didn't customize the training of the model. A better published example is InstructGPT.
- Bug testings are insufficient. Input errors are not caught and handled manually.