# ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection architecture

> Architecture diagram of the GitHub repository ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection
- Repository: https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection

## Overview

This repository is a collection of stance-detection experiments across VAST, SemEval, COVID-19, EZ-Stance, and P-Stance datasets—not a single deployed service. The principal workflow is to load labeled train/validation/test data, train a stance classifier, and evaluate predictions; scripts implement separate model variants rather than a shared application pipeline. The excerpts show several dataset-loading entry points and recurrent-model components, while the README documents BERT and BART variants. Many listed scripts were not sampled, so their internal connections are not inferred.

Main entry points: [`EZ STANCE`](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/EZ%20STANCE) (EZ-Stance data), [`EZ STANCE/exp-2 (1).py`](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/exp-2%20(1).py) (EZ experiment), [`EZ STANCE/model-2.py`](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-2.py) (GRU attention), [`P stance/model-2.py`](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-2.py) (GRU attention)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_corpora["Stance corpora"]
  node_vast_data["VAST data"]
  node_ez_data["EZ-Stance data"]
  node_p_data["P-Stance data"]
  node_semeval_data["SemEval data"]
  node_covid_data["COVID data"]
end

subgraph group_recurrent["Recurrent models"]
  node_ez_experiment["EZ experiment<br/>[exp-2 &#40;1&#41;.py]"]
  node_ez_topic_gru["Topic-aware Mini-GRU<br/>[model-1.2.py]"]
  node_ez_gru["GRU attention<br/>[model-2.py]"]
  node_p_topic_gru["Topic-aware Mini-GRU<br/>[model-1.2.py]"]
  node_p_gru["GRU attention<br/>[model-2.py]"]
  node_vast_topic_gru["Topic-aware Mini-GRU<br/>[model-1.2.py]"]
  node_vast_gru["GRU attention<br/>[model-2.py]"]
  node_semeval_topic_gru["Topic-aware Mini-GRU<br/>[model-1.2.py]"]
  node_covid_topic_gru["Topic-aware Mini-GRU<br/>[model-1.2.py]"]
end

subgraph group_transformers["Transformer models"]
  node_covid_bert["BERT fine-tuning<br/>[model-3.py]"]
  node_vast_bart["BART fine-tuning<br/>[model-5.py]"]
  node_ez_bert["BERT variant<br/>[model-3.py]"]
  node_ez_bart["BART variant<br/>[model-5.py]"]
  node_p_bert["BERT variant<br/>[model-3.py]"]
  node_p_bart["BART variant<br/>[model-5.py]"]
  node_semeval_bert["BERT variant<br/>[model-3.py]"]
  node_semeval_bart["BART variant<br/>[model-5.py]"]
  node_vast_bert["BERT variant<br/>[model-3.py]"]
  node_vast_bart_variant["BART variant<br/>[model-5.py]"]
end

subgraph group_evaluation["Experiment outputs"]
  node_results["Experiment metrics"]
end

node_ez_experiment -->|"loads data"| node_ez_data
node_ez_gru -->|"loads data"| node_ez_data
node_p_gru -->|"loads data"| node_p_data
node_vast_gru -->|"loads data"| node_vast_data
node_covid_bert -->|"loads splits"| node_covid_data

click node_vast_data "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/VAST"
click node_ez_data "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/EZ%20STANCE"
click node_p_data "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/P%20stance"
click node_semeval_data "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/SEMEVAL%20TASK%20A"
click node_covid_data "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/covid19"
click node_ez_experiment "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/exp-2%20(1).py"
click node_ez_topic_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-1.2.py"
click node_ez_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-2.py"
click node_p_topic_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-1.2.py"
click node_p_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-2.py"
click node_vast_topic_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-1.2.py"
click node_vast_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-2.py"
click node_semeval_topic_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/SEMEVAL%20TASK%20A/model-1.2.py"
click node_covid_topic_gru "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/covid19/model-1.2.py"
click node_covid_bert "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/covid19/model-3/model-3.py"
click node_vast_bart "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/BART/model-5.py"
click node_ez_bert "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-3.py"
click node_ez_bart "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-5.py"
click node_p_bert "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-3.py"
click node_p_bart "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-5.py"
click node_semeval_bert "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/SEMEVAL%20TASK%20A/model-3.py"
click node_semeval_bart "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/SEMEVAL%20TASK%20A/model-5.py"
click node_vast_bert "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-3.py"
click node_vast_bart_variant "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-5.py"
click node_results "https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/VAST/Results"

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_vast_data,node_ez_data,node_p_data,node_semeval_data,node_covid_data toneBlue
class node_ez_experiment,node_ez_topic_gru,node_ez_gru,node_p_topic_gru,node_p_gru,node_vast_topic_gru,node_vast_gru,node_semeval_topic_gru,node_covid_topic_gru toneAmber
class node_covid_bert,node_vast_bart,node_ez_bert,node_ez_bart,node_p_bert,node_p_bart,node_semeval_bert,node_semeval_bart,node_vast_bert,node_vast_bart_variant toneMint
class node_results toneRose
```

## Components

### Stance corpora

- [VAST data](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/VAST): `VAST`
- [EZ-Stance data](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/EZ%20STANCE): `EZ STANCE`
- [P-Stance data](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/P%20stance): `P stance`
- [SemEval data](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/SEMEVAL%20TASK%20A): `SEMEVAL TASK A`
- [COVID data](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/covid19): `covid19`

### Recurrent models

- [EZ experiment](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/exp-2%20(1).py): `EZ STANCE/exp-2 (1).py`
- [Topic-aware Mini-GRU](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-1.2.py): `EZ STANCE/model-1.2.py`
- [GRU attention](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-2.py): `EZ STANCE/model-2.py`
- [Topic-aware Mini-GRU](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-1.2.py): `P stance/model-1.2.py`
- [GRU attention](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-2.py): `P stance/model-2.py`
- [Topic-aware Mini-GRU](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-1.2.py): `VAST/model-1.2.py`
- [GRU attention](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-2.py): `VAST/model-2.py`
- [Topic-aware Mini-GRU](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/SEMEVAL%20TASK%20A/model-1.2.py): `SEMEVAL TASK A/model-1.2.py`
- [Topic-aware Mini-GRU](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/covid19/model-1.2.py): `covid19/model-1.2.py`

### Transformer models

- [BERT fine-tuning](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/covid19/model-3/model-3.py): `covid19/model-3/model-3.py`
- [BART fine-tuning](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/BART/model-5.py): `VAST/BART/model-5.py`
- [BERT variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-3.py): `EZ STANCE/model-3.py`
- [BART variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/EZ%20STANCE/model-5.py): `EZ STANCE/model-5.py`
- [BERT variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-3.py): `P stance/model-3.py`
- [BART variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/P%20stance/model-5.py): `P stance/model-5.py`
- [BERT variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/SEMEVAL%20TASK%20A/model-3.py): `SEMEVAL TASK A/model-3.py`
- [BART variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/SEMEVAL%20TASK%20A/model-5.py): `SEMEVAL TASK A/model-5.py`
- [BERT variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-3.py): `VAST/model-3.py`
- [BART variant](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/blob/main/VAST/model-5.py): `VAST/model-5.py`

### Experiment outputs

- [Experiment metrics](https://github.com/ramakrishna865/performance-comparision-and-trade-offs-among-mingru-gru-bert-and-bart-models-for-stance-detection/tree/main/VAST/Results): `VAST/Results`

## Connections

- EZ experiment → EZ-Stance data: loads data (evidence: `EZ STANCE/exp-2 (1).py`)
- GRU attention → EZ-Stance data: loads data (evidence: `EZ STANCE/model-2.py`)
- GRU attention → P-Stance data: loads data (evidence: `P stance/model-2.py`)
- GRU attention → VAST data: loads data (evidence: `VAST/model-2.py`)
- BERT fine-tuning → COVID data: loads splits (evidence: `covid19/model-3/model-3.py`)
