Text Generation Inference example in Windows (docker, WSL is needed)
First, clone the git repository and navigate to the root folder. Then, follow these steps:
- Download Docker.
- Launch Docker Desktop.
- Open a command prompt with administrator privileges and run the dockerStart.bat file.
- This batch file sets up the environment by installing the required models and dependencies.
- Allow firewall access (for server execution).
- Wait until you see the message "Starting Webserver" indicating that the server is running.
- Execute "python main.py".
- Once you have reviewed the results, press Ctrl+C to exit.
To me, this is 10 times faster than usual code.