Open to opportunities · Netherlands

Ali
Aghababaei

NLP & Generative AI Engineer

I build and evaluate GenAI systems: agentic AI with LangGraph, RAG pipelines with measurable quality scores, explainable NLP grounded in real human data, and transformer models deployed end-to-end.

scroll
01 / About

From Slurs dataset
to generative AI

My NLP journey started with my thesis, working alongside Prof. Tomaso Erseghe at the University of Padova. We were training BERT and RoBERTa on the Slurs dataset, real accounts of verbal harassment labeled by social psychologists, and the question that grabbed me was: which words are actually driving the model's decisions?

That question pulled me deep into explainability tools, Integrated Gradients, Captum, SpaCy, and the broader Hugging Face ecosystem. My progress on the thesis caught my supervisor's attention, and he invited me to join his wider research team, a collaboration spanning the University of Padova and SWPS University in Warsaw, bringing together NLP engineers and social psychologists. That work led to a published arXiv paper with me as first co-author.

Since then I have been building production-ready GenAI systems: a LangGraph research agent that searches arXiv live and self-evaluates with RAGAS (Faithfulness 0.921 across 20 queries), fine-tuned transformers deployed as live APIs, and RAG pipelines grounded in measurable quality metrics rather than vibes. I moved to Rotterdam in 2026 and I am looking for NLP and GenAI engineering roles in the Netherlands where the work is serious and the systems actually ship.

MSc, ICT for Internet and Multimedia University of Padova, Italy · Sep 2022 – Jul 2025 Grade: 110/110 Thesis: Explainability of sociopsychological markers via Integrated Gradients
Erasmus Exchange Program Warsaw University of Technology, Poland · Oct 2023 – Feb 2024 Grade: 4.75/5.0
BSc, Electrical Engineering Ferdowsi University of Mashhad, Iran · Sep 2014 – Sep 2019
02 / Projects

Selected work

Fine-tuning · Deployment 2026

NLP Sentiment Analysis Pipeline

End-to-end sentiment classification built from scratch: data loading, text cleaning, tokenization, and fine-tuning DistilBERT on 50K IMDB reviews, hitting 88% accuracy & F1. Model hosted on Hugging Face Hub, served via FastAPI (JSON API + HTML UI), Dockerized, and live on Render with auto-redeploy on push. Includes a full pytest suite covering data, preprocessing, and API responses.

Sentiment Analysis Demo
Generation · Fine-tuning 2026

Text Summarization Pipeline

Fine-tuned FLAN-T5-small on the Samsum conversational dataset using LoRA on Kaggle GPU, merging adapters before export for a lean, portable model. Inference uses engineered prompt prefixing to prevent speaker mix-ups, beam search decoding, and logs compression ratio per request. Evaluated on 100 Samsum test samples — ROUGE-1: 45.09 vs baseline 43.03, confirming fine-tuning improvement. Served via FastAPI, Dockerized, and live as a Gradio demo on Hugging Face Spaces.

Summarization Demo
Multimodal · Vision-Language 2026

Image Captioning Application

Gradio app built around Salesforce/blip-image-captioning-base with two modes: upload a single image for an instant caption, or paste a webpage URL to scrape, filter, and batch-caption all images, exporting results as a downloadable captions.txt. Uses beam search with anti-repetition tuning to avoid degenerate outputs. Deployable on Hugging Face Spaces or Docker.

Image Captioning Demo
03 / Skills

Technical toolkit

NLP & LLMs
LangGraphAgentic AIRAGLangChain ChromaDBVector DatabasesRAGASLLM Evaluation LLMs / Generative AILLM APIsPrompt Engineering PythonPyTorchHugging Face Transformers BERTRoBERTaT5 / FLAN-T5 Fine-tuningLoRA / PEFTSpaCy Text ClassificationSummarizationSequence-to-Sequence
ML Engineering & MLOps
Scikit-learnNumPyPandas Data PreprocessingROUGEModel EvaluationError Analysis MLflowExperiment TrackingA/B TestingLLM-as-Judge REST APIsFastAPIModel Serving Inference PipelinesDockerGradio Hugging Face Hub / SpacesPytestGit GitHub ActionsCI/CDDeployment Automation SQL
Explainability & Analysis
Explainable AI (XAI)Integrated GradientsSHAP CaptumBeautifulSoupMatplotlibSeaborn
04 / Experience

Where I've worked

Jun 2024 — Dec 2024

Research Assistant

University of Padova, Italy

Investigated sociopsychological markers in text alongside my thesis supervisor, properties like agency that go beyond standard sentiment. Fine-tuned BERT, RoBERTa, and BERTAgent; compared attribution methods and selected Integrated Gradients for its precision. Validated findings through a social psychology lens on small labeled datasets. Contributed to a published arXiv paper.

Read the paper
Nov 2019 — Mar 2022

Technical Expert

Mazand Phase Industrial Electricity Co., Iran

Designed and drafted low and medium voltage electrical panels using AutoCAD and ePLAN, developed test methodologies for power systems, supervised project execution from design through commissioning, and delivered technical training to industrial clients.

Summer 2018

Electrical Engineering Intern

Sorak Taban Electricity Distribution Co., Iran

Assisted in infrastructure planning and technical documentation during undergraduate studies.

05 / Publications

Research

2025
arXiv preprint

Application of Integrated Gradients Explainability to Sociopsychological Semantic Markers

Addresses the gap between sentence-level classification of sociopsychological markers and understanding which specific words drive those decisions. Applies Integrated Gradients for word-level attribution, with an unconventional training procedure that encourages overfitting to sharpen class distinctiveness, validated through social psychology.

Read on arXiv
2025
Foods Journal · MDPI

Artificial Intelligence in Agro-Food Systems: From Farm to Fork

Interdisciplinary review of AI applications across the agro-food value chain, from production and processing to distribution and consumption. Contributed as part of research activities during the master's program at Padova.

Read in Foods Journal
06 / Recommendations

What colleagues say

"
Ali proved to be a bright researcher, capable of reading the literature and identifying relevant tools, capable of implementing them and properly measuring their effectiveness. He is a very committed and trustworthy person, independent and determined. I would strongly suggest hiring him.
Prof. Tomaso Erseghe Associate Professor, University of Padova Thesis Supervisor Full letter
"
Ali has a strong technical background and has consistently demonstrated his ability to apply theoretical knowledge to practical challenges effectively. He managed to adapt well to a new academic environment within a short period, which shows great resilience and strength.
Prof. Marco Giordani Associate Professor, University of Padova Director, SSIE PhD Summer School Full letter
"
Ali consistently demonstrated exceptional academic prowess, earning the highest marks in both the written exam and the project. He displayed a keen intellect, a strong work ethic, and an ability to grasp complex concepts quickly.
Prof. Mieczyslaw Muraszkiewicz Professor, Warsaw University of Technology Institute of Computer Science Full letter

Currently open to NLP and GenAI roles in the Netherlands.

Get in touch