A small project using distilbert/distilgpt2
as an autocomplete.
To install and use this autocomplete tool, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/your-username/autocomplete_tool.git
-
Navigate to the project directory:
cd autocomplete_tool
-
Install the required dependencies using pip:
pip install -r requirements.txt
-
Run in the terminal:
uvicorn main:app --port 8000 --reload
That's it! You can now use the autocomplete tool to generate suggestions based on the distilbert/distilgpt2
model.