Skip to content

Synthetic Instagram Post Generation for Social Media Research

License

Notifications You must be signed in to change notification settings

thalesbertaglia/instasynth

Repository files navigation

InstaSynth

Code for the paper InstaSynth: Opportunities and Challenges in Generating Synthetic Instagram Data with chatGPT for Sponsored Content Detection, accept for publication at ICWSM 2024.

You can read the pre-print version of the paper on arXiv.

Setting up the Repository

  1. Clone the Repository:

    git clone https://github.com/thalesbertaglia/instasynth.git
    cd instasynth
  2. Install Dependencies using Poetry:

    poetry install

    This command will read the pyproject.toml file from the current project, resolve the dependencies and install them.

  3. Activate the Poetry Environment:

    poetry shell

    This will spawn a shell within the virtual environment.

  4. Add your OpenAI API key to the .env file

    OPENAI_API_KEY="YOUR_OPENAI_API_KEY"

If you're using Jupyter:

  1. Start Jupyter Notebook:

    poetry run jupyter notebook

    This will launch the Jupyter Notebook, and you can navigate to the desired .ipynb file to use it.

If you're using another notebook tool, you can usually start it within the activated Poetry shell.

About

Synthetic Instagram Post Generation for Social Media Research

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published