Skip to content

qnguyen3/dataGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataGen - Generate data from LLMs with ease

Steps

  1. Clone this repo
  2. install conda
  3. Run the following command
cd dataGen
conda create -n 'dataGen' python=3.8
pip3 install -r requirements.txt
  1. Create a .env file with the following
OPENAI_API_KEY=replace_your_api_key
  1. python3 run.py

run.py arguments

--task general # [general, code]
--num-example 100 #number of examples to generate, must be multiply of 10

After running, the data will be stored in generated_data.txt. If the file is already existed, the data will be concatenated

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages