Laura Wagner commited on
Commit Β·
471de98
1
Parent(s): 5cd8c97
elaborated readme
Browse files
README.md
CHANGED
|
@@ -1,8 +1,36 @@
|
|
| 1 |
-
# Code
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
# Project Setup
|
| 7 |
|
| 8 |
## Requirements
|
|
@@ -35,18 +63,7 @@ This project requires Python 3.8 or higher. Ensure you have it installed before
|
|
| 35 |
python -m ipykernel install --user --name=venv --display-name "Python (venv)"
|
| 36 |
```
|
| 37 |
|
| 38 |
-
5. **Run the Project**
|
| 39 |
-
- If using Jupyter Notebook:
|
| 40 |
-
```sh
|
| 41 |
-
jupyter lab
|
| 42 |
-
```
|
| 43 |
-
- If running a script:
|
| 44 |
-
```sh
|
| 45 |
-
python your_script.py
|
| 46 |
-
```
|
| 47 |
-
|
| 48 |
## Notes
|
| 49 |
- Ensure you have necessary system dependencies installed (e.g., `opencv` may require additional system libraries).
|
| 50 |
- If you encounter any issues, ensure you're using the correct Python environment (`venv` activated).
|
| 51 |
-
```
|
| 52 |
|
|
|
|
| 1 |
+
# Code for the Paper titled "Perpetual Misogyny: How Gendered Tropes Shape Text-To-Image AI Personalization"
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
+
### Repository Structure
|
| 7 |
+
|
| 8 |
+
```
|
| 9 |
+
CIVITAI_VISUALIZATIONS/
|
| 10 |
+
βββ .virtual_documents/
|
| 11 |
+
βββ data/ # Final datasets
|
| 12 |
+
β βββ subset1/
|
| 13 |
+
β βββ subset2/
|
| 14 |
+
β βββ ...
|
| 15 |
+
βββ misc/ # Miscellaneous scripts and utilities
|
| 16 |
+
βββ plots/ # Generated plots and visualizations
|
| 17 |
+
βββ scripts/ # Jupyter notebooks for analysis
|
| 18 |
+
β βββ 0_Scraping_image_metadata.ipynb # Scraping scripts interacting with the CivitAI API, dataset consolidation
|
| 19 |
+
β βββ Section_2_image_grid.ipynb # Code to generate an image grid as shown in Section 2
|
| 20 |
+
β βββ Section_6-1_Histogram_contributions.ipynb # Histograms showing image and model contributions over the span of two years
|
| 21 |
+
β βββ Section_6-2_Demographics.ipynb # Visualization of estimations of the demographic distribution of subjects depicted in CivitAI imagery
|
| 22 |
+
β βββ Section_6-3_Models.ipynb # Models download for systematic inference + ranking and promotional tags visualizations
|
| 23 |
+
β βββ Section_6-6_Users_Images.ipynb # Cumulative plot of users' image contributions
|
| 24 |
+
β βββ Section_6-7_Users_Models.ipynb # Sankey diagram of users' model contributions
|
| 25 |
+
β βββ Updated_Section_6-1_Models_ratios.ipynb # Models' NSFW ratio estimation
|
| 26 |
+
β βββ Updated_Section_6-4_Top_Models_Adapters.ipynb # Ranking plot of popular adapters by download count
|
| 27 |
+
β βββ Updated_Section_6-5_LoRA_metadata.ipynb # LoRA download and textual training tags extraction, categorizing and ranking
|
| 28 |
+
βββ .gitignore
|
| 29 |
+
βββ .gitmodules
|
| 30 |
+
βββ README.md
|
| 31 |
+
βββ requirements.txt
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
# Project Setup
|
| 35 |
|
| 36 |
## Requirements
|
|
|
|
| 63 |
python -m ipykernel install --user --name=venv --display-name "Python (venv)"
|
| 64 |
```
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
## Notes
|
| 67 |
- Ensure you have necessary system dependencies installed (e.g., `opencv` may require additional system libraries).
|
| 68 |
- If you encounter any issues, ensure you're using the correct Python environment (`venv` activated).
|
|
|
|
| 69 |
|