This repository contains the source code and implementation details for a neural network-based dialogue management system integrated with the Pepper humanoid robot. The system was developed as part of my bachelor's thesis at the Faculty of Electrical Engineering and Informatics, Technical University of Košice (TUKE).
Models for Human-Machine Dialogue Management Based on Neural Networks
Author: Yevhenii Bilozor
Supervisor: doc. Ing. Stanislav Ondáš, PhD.
This work explores the development of a human-machine dialogue system using modern transformer-based language models, particularly Microsoft's GODEL. The model is fine-tuned on domain-specific data related to FEI TUKE and integrated with the Pepper robot for real-world interaction. The project combines theoretical foundations in NLP and dialogue systems with practical implementation, resulting in a voice-based assistant capable of answering questions about the faculty.
- 🤖 Integration with Pepper robot using NAOqi SDK
- 🧠 Fine-tuned GODEL model for FEI-specific QA
- 🔊 Voice input (speech-to-text) and output (text-to-speech)
- 📚 Knowledge database (JSON format) with contextual QA pairs
- 🔄 Hybrid response system: retrieval-based + generative model
- 📈 Evaluation using BLEU and ROUGE metrics
- Python 3.x
- HuggingFace Transformers
- GODEL (by Microsoft Research)
- SpeechRecognition
- NAOqi SDK (Pepper robot)
- Weights & Biases (for training monitoring)
- TheFuzz (fuzzy matching)
generate.py– Core logic for question answeringask.py– Speech-to-text input handlingoutloud.py– Text-to-speech integration with Peppertrain.py– Fine-tuning scriptREADME.md
- Custom-built dataset of ~30 QA pairs about the faculty
- Format:
(context, question, answer) - Fine-tuned over 10 epochs using HuggingFace + Accelerate
- Evaluation: BLEU score up to 0.3927 on test set
- User speaks into Pepper's microphone
ask.pytranscribes speech to textgenerate.pyselects or generates a suitable responseoutloud.pyconverts the response into speech- Pepper replies with synthesized voice
git clone https://github.com/YOUR_USERNAME/pepper-dialogue-system.git
cd pepper-dialogue-system