Skip to content

CankayaUniversity/ceng-407-408-2024-2025-SenseAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ceng-407-408-2024-2025-SenseAI

SenseAI - Multimodal Emotion Analysis Chatbot

SenseAI is a multimodal AI system that analyzes human emotions using facial expressions, voice tone, text inputs, and biometric data (e.g., heart rate). It generates psychologically supportive responses through a fine-tuned LLaMA model trained on therapy-style dialogues.


Installation

1. Clone the repository or extract the zip file:

unzip senseai_v1.0.0.zip
cd senseai_project

2. Create a virtual environment (optional but recommended):

python -m venv venv
source venv\Scripts\activate

3. Install dependencies:

pip install -r requirements.txt

How to Train & Test

python tinyllama_test.py

Make sure llama_data_prompt_aug_more.jsonl is in the same directory and the model outputs will be saved or loaded from llama_model/.


Trained Model

The trained LLaMA model is too large to include directly and has therefore been uploaded to Google Drive. Link: https://drive.google.com/drive/folders/1yET5gNH5dOd1vxnLcLaUx9Ai9r9Xvh2O?usp=sharing


Dataset Info

The dataset llama_data_prompt_aug_more.jsonl includes emotionally labeled text samples in the format:

{
  "input": "Emotion: anger.I’m so mad at the world right now.",
"output": "It’s understandable to feel angry when everything feels wrong. What do you think is contributing to this anger about the world?"
}

Pretrained models that you should install:

Face model(Deepface): https://github.com/Pradeep139lali/deepface-master/tree/master

Voice model: https://github.com/marcogdepinto/emotion-classification-from-audio-files/tree/master


Server (API Layer)

Go to the backend/ directory and follow its instructions:

cd backend
pip install -r requirements.txt
node server.js

Flutter App

Navigate to the flutter/ directory and run:

flutter run

Team Members Department Student Number
Ece Heval Ünal CENG 202111014
Mustafa Tozman SENG 202128014
Özge Alkan SENG 202128406
Sadrettin Anıl Karaçay CENG 202011046
Zeliha Aybüke Baştürk SENG 202028034

Advisors

  • Atila Bostan
  • İsmail Bora Çelikkale

Project Website

About

SenseAI

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6