Evol-Instruct is a novel method using LLMs instead of humans to automatically mass-produce open-domain instructions of various difficulty levels and skills range, to improve the performance of LLMs. You can easily embark on your own evolutionary journey with the Evol Script.
Available Models - Gemini, GPT-3.5-Turbo
- Clone the repository or download as zip and extract it.
git clone https://github.com/BhabhaAI/evol-instruct.git
- Create a virtual environment and activate it
python -m venv .venv
.venv\Scripts\activate
- Install required libraries
pip install -r requirements.txt
Query Parameters
model
- Model name (eithergemini
orchatgpt
)key
- Api Keydataset
- Dataset name in Huggingface Formatinstruction
- Name of the dataset's instruction prompt columninput
(Optional) - Name of the dataset's input prompt column.rows
(Optional) - Number of rows to be generated.split
(Optional) - Dataset split. Defaults totrain
.
Use this endpoint to test query parameters
FastAPI - uvicorn app:app --reload