A simple, powerful, minimal codebase to generate synthetic data using OpenAI or MistralAI
pip install openai mistralai numpy
- Change
PROVIDERunderparams.py mistraloropenai
- Change
GPT_MODEL,OPENAI_API_KEYandOUTPUT_FILE_PATHunderparams.py
- Change
MISTRALAI_MODEL,MISTRALAI_API_KEYandOUTPUT_FILE_PATHunderparams.py
- Run with
python main.py
- Change the topics in
topics.py - Change the system contexts in
system_messages.py - Change the number of workers in
params.py
