# akhilesh348/multilingual-memes-classification-harmful-non-harmful- architecture

> Architecture diagram of the GitHub repository akhilesh348/multilingual-memes-classification-harmful-non-harmful-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-
- Repository: https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-

## Overview

This repository is a research demo for multimodal meme classification, combining image and text representations in a classifier. The Python demo excerpt shows a dataset/feature-preparation layer, a multimodal model, and a training routine that invokes the model. Separate notebooks indicate image, text, and ConceptNet encoder capabilities. The README is empty, and those notebooks were not sampled, so their internals and how they connect to the demo are unknown; the graph does not assume those connections.

Main entry points: [`EMNLP_MOMENTA_All_DemoCode.py`](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/EMNLP_MOMENTA_All_DemoCode.py) (Model training)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_encoders["Feature encoders"]
  node_conceptnet["ConceptNet encoder"]
  node_global_image["Global image encoder"]
  node_local_image["Local image encoder"]
  node_text_encoder["Text encoder<br/>[Text_Encoder.ipynb]"]
end

subgraph group_classification["Meme classification"]
  node_dataset["Meme feature dataset"]
  node_classifier["Multimodal classifier"]
  node_training["Model training"]
end

node_user(("Research user"))

node_training -->|"invokes"| node_classifier

click node_conceptnet "https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/ConceptNet_Encoder.ipynb"
click node_global_image "https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/Global_Image_Feature_Encoder.ipynb"
click node_local_image "https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/Local_Image_Feature_Encoder.ipynb"
click node_text_encoder "https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/Text_Encoder.ipynb"
click node_dataset "https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/EMNLP_MOMENTA_All_DemoCode.py"
click node_classifier "https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/EMNLP_MOMENTA_All_DemoCode.py"
click node_training "https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/EMNLP_MOMENTA_All_DemoCode.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_conceptnet,node_global_image,node_local_image,node_text_encoder,node_user toneBlue
class node_dataset,node_classifier,node_training toneAmber
```

## Components

### Feature encoders

- [ConceptNet encoder](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/ConceptNet_Encoder.ipynb): `ConceptNet_Encoder.ipynb`
- [Global image encoder](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/Global_Image_Feature_Encoder.ipynb): `Global_Image_Feature_Encoder.ipynb`
- [Local image encoder](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/Local_Image_Feature_Encoder.ipynb): `Local_Image_Feature_Encoder.ipynb`
- [Text encoder](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/Text_Encoder.ipynb): `Text_Encoder.ipynb`

### Meme classification

- [Meme feature dataset](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/EMNLP_MOMENTA_All_DemoCode.py): `EMNLP_MOMENTA_All_DemoCode.py`
- [Multimodal classifier](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/EMNLP_MOMENTA_All_DemoCode.py): `EMNLP_MOMENTA_All_DemoCode.py`
- [Model training](https://github.com/akhilesh348/multilingual-memes-classification-harmful-non-harmful-/blob/main/EMNLP_MOMENTA_All_DemoCode.py): `EMNLP_MOMENTA_All_DemoCode.py`

### Other components

- **Research user**

## Connections

- Model training → Multimodal classifier: invokes (evidence: `EMNLP_MOMENTA_All_DemoCode.py`)
