A pipeline and package to implement and evaluate LLM chat bot tutors in education.
Project description
๐ง EduChatEval
A structured pipeline and Python package for evaluating interactive LLM tutor systems in educational settings.
๐ Overview
This repository supports my masterโs thesis, exploring how large language models can simulate and support human-like educational dialogues.
The package is designed to:
- Simulate studentโtutor dialogues with role-based prompts
- Integrate local + open-source models (e.g., LM Studio, Hugging Face)
- Log interactions (JSON/CSV) for analysis
- Provide a framework for classification, evaluation, and fine-tuning
Hereโs a rough overview of the system architecture:
โ๏ธ Installation
pip install educhateval
๐ค Integration
- ๐ฆ LM Studio (local LLM inference)
- ๐๏ธ Outlines
- ๐ค Transformers
- ๐งช Optuna for experimental tuning
๐ Documentation
| Documentation | Description |
|---|---|
| ๐ User Guide | Instructions on how to run simulations and analyze dialogue logs |
| ๐ก Prompt Templates | Overview of system prompts, role behaviors, and instructional strategies |
| ๐ง API References | Full reference for the educhateval API: classes, methods, and usage |
| ๐ค About | Learn more about the thesis project, context, and contributors |
๐ค Usage
well first of all because it is a package and not a script to run from the terminal, we see no parser = argparse... so it is build to be a python package where each function are callable - fingers crossed it will be :D
from chat_wrap_edu_pack install generate
๐ซถ๐ผ Acknowdledgement
๐ฌ Contact
Made by Laura Wulff Paaby
Feel free to reach out via:
- ๐ LinkedIn
- ๐ง laurapaaby18@gmail.com
- ๐ GitHub
Complete overview:
โโโ data/
โ โโโ generated_dialogue_data/ # Generated dialogue samples
โ โโโ generated_tuning_data/ # Generated framework data for fine-tuning
โ โโโ logged_dialogue_data/ # Logged real dialogue data
โ โโโ Final_output/ # Final classified data
โ
โโโ Models/ # Folder for trained models and checkpoints (ignored)
โ
โโโ src/educhateval/ # Main source code for all components
โ โโโ chat_ui.py # CLI interface for wrapping interactions
โ โโโ descriptive_results/ # Scripts and tools for result analysis
โ โโโ dialogue_classification/ # Tools and models for dialogue classification
โ โโโ dialogue_generation/
โ โ โโโ agents/ # Agent definitions and role behaviors
โ โ โโโ models/ # Model classes and loading mechanisms
โ โ โโโ txt_llm_inputs/ # System prompts and structured inputs for LLMs
โ โ โโโ chat_instructions.py # System prompt templates and role definitions
โ โ โโโ chat_model_interface.py # Interface layer for model communication
โ โ โโโ chat.py # Main script for orchestrating chat logic
โ โ โโโ simulate_dialogue.py # Script to simulate full dialogues between agents
โ โโโ framework_generation/
โ โ โโโ outline_prompts/ # Prompt templates for outlines
โ โ โโโ outline_synth_LMSRIPT.py # Synthetic outline generation pipeline
โ โ โโโ train_tinylabel_classifier.py # Training classifier on manually made true data
โ
โโโ .python-version # Python version file for (Poetry)
โโโ poetry.lock # Locked dependency versions (Poetry)
โโโ pyproject.toml # Main project config and dependencies
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file educhateval-0.1.3.tar.gz.
File metadata
- Download URL: educhateval-0.1.3.tar.gz
- Upload date:
- Size: 35.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82e884569906caadb8d0890b02a6c229e8d17c4f4cbed0872a591c676f06fd7d
|
|
| MD5 |
84d9c91249f988a20ff01afa498e523e
|
|
| BLAKE2b-256 |
b8ff17d6ff1ded1a430088a7c1c648a3507b04ead61693e37b4e704f2592a494
|
File details
Details for the file educhateval-0.1.3-py3-none-any.whl.
File metadata
- Download URL: educhateval-0.1.3-py3-none-any.whl
- Upload date:
- Size: 47.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95669a0c357c0ae0754d21447aee42b323de3dea0889902bc5b28649707c46b9
|
|
| MD5 |
56e909fe70dffa96d0d33b8e9c6b7dbd
|
|
| BLAKE2b-256 |
c235b642fe2c9d0b58a5334bfb33f7e964c95d403dcf2165a88b1b6f19341916
|