# cilusqyoi/nepali-english-parallel-machine-translation-model architecture

> Architecture diagram of the GitHub repository cilusqyoi/nepali-english-parallel-machine-translation-model, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cilusqyoi/nepali-english-parallel-machine-translation-model
- Repository: https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model

## Overview

This repository documents a notebook-based Nepali–English translation workflow: prepare data, LoRA-fine-tune Qwen2.5 with SFTTrainer, and evaluate using FLORES+ and parallel datasets. The README names the tools and evaluation resources, while the notebook filenames identify the workflow stages; notebook contents were not available, so their precise data handoffs are unverified.

Main entry points: [`notebooks/model_training.ipynb`](https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/model_training.ipynb) (Model training), [`notebooks/data_preparations.ipynb`](https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/data_preparations.ipynb) (Data preparation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_preparation["Data preparation"]
  node_data_prep["Data preparation"]
end

subgraph group_training["Training and evaluation"]
  node_model_training["Model training"]
  node_translation_model["Fine-tuned model"]
end

node_user(("Engineer"))
node_qwen["Qwen2.5"]
node_sft["SFTTrainer"]
node_datasets[("Parallel datasets")]
node_flores[("FLORES+")]

node_user -->|"prepares data"| node_data_prep
node_data_prep -.->|"provides data"| node_model_training
node_model_training -->|"fine-tunes"| node_qwen
node_model_training -->|"uses"| node_sft
node_model_training -->|"uses for training"| node_datasets
node_model_training -->|"produces"| node_translation_model
node_model_training -->|"evaluates with"| node_flores

click node_data_prep "https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/data_preparations.ipynb"
click node_model_training "https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/model_training.ipynb"
click node_translation_model "https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/model_training.ipynb"

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_data_prep toneBlue
class node_model_training,node_translation_model,node_datasets,node_flores toneAmber
class node_user,node_qwen,node_sft toneIndigo
```

## Components

### Data preparation

- [Data preparation](https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/data_preparations.ipynb): `notebooks/data_preparations.ipynb`

### Training and evaluation

- [Model training](https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/model_training.ipynb): `notebooks/model_training.ipynb`
- [Fine-tuned model](https://github.com/cilusqyoi/nepali-english-parallel-machine-translation-model/blob/main/notebooks/model_training.ipynb): `notebooks/model_training.ipynb`

### Other components

- **Engineer**
- **Qwen2.5**
- **SFTTrainer**
- **Parallel datasets**
- **FLORES+**

## Connections

- Engineer → Data preparation: prepares data (evidence: `README.md`)
- Data preparation → Model training: provides data
- Model training → Qwen2.5: fine-tunes (evidence: `README.md`)
- Model training → SFTTrainer: uses (evidence: `README.md`)
- Model training → Parallel datasets: uses for training (evidence: `README.md`)
- Model training → Fine-tuned model: produces (evidence: `README.md`)
- Model training → FLORES+: evaluates with (evidence: `README.md`)
