Code for the paper InstaSynth: Opportunities and Challenges in Generating Synthetic Instagram Data with chatGPT for Sponsored Content Detection, published at ICWSM 2024.
You can read the paper here here.
@inproceedings{bertaglia2024instasynth,
title={InstaSynth: Opportunities and Challenges in Generating Synthetic Instagram Data with ChatGPT for Sponsored Content Detection},
author={Bertaglia, Thales and Heisig, Lily and Kaushal, Rishabh and Iamnitchi, Adriana},
booktitle={Proceedings of the International AAAI Conference on Web and Social Media},
volume={18},
pages={139--151},
year={2024}
}
-
Clone the Repository:
git clone https://github.com/thalesbertaglia/instasynth.git cd instasynth
-
Install Dependencies using Poetry:
poetry install
This command will read the
pyproject.toml
file from the current project, resolve the dependencies and install them. -
Activate the Poetry Environment:
poetry shell
This will spawn a shell within the virtual environment.
-
Add your OpenAI API key to the .env file
OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
If you're using Jupyter:
-
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.