Commit Graph

4 Commits

Author SHA1 Message Date
Hope Ogbons
a22a5cef2c Add week 6 exercise notebook for banking intent classification
This commit introduces a new Jupyter notebook, 'week6 EXERCISE.ipynb', which outlines the process for fine-tuning a model to classify banking customer queries. The notebook includes steps for data preparation, model training, and evaluation, utilizing the Banking77 dataset and OpenAI's API for fine-tuning. This addition enhances the project's capabilities in handling banking-related queries effectively.
2025-10-31 03:24:09 +01:00
Hope Ogbons
95a3766d85 Add data cleaning utilities for dataset preparation
This commit introduces a new Python module, data_cleaner.py, which provides functions for cleaning and preparing datasets for fine-tuning. The module includes a method to clean datasets based on text length and balance class distributions, as well as a function to analyze label distributions. These utilities enhance the data preprocessing capabilities for the application.
2025-10-31 03:20:08 +01:00
Hope Ogbons
3414454f43 Add classifier testing framework for Banking Intent Model
This commit introduces a new Python module, classifier_tester.py, which provides a testing framework for evaluating the accuracy of classification models on intent classification tasks. The module includes methods for running tests on individual data points, reporting metrics, and visualizing confusion pairs, enhancing the overall testing capabilities for the Banking77 application.
2025-10-31 03:19:59 +01:00
Hope Ogbons
8368944a43 Add banking intents mapping module
This commit introduces a new Python module, banking_intents.py, which maps intent labels (0-76) to their corresponding intent names for the Banking77 application. The module includes functions to retrieve intent names by label and vice versa, along with a utility to display all intents. This addition enhances the application's ability to handle various banking-related queries effectively.
2025-10-31 03:19:49 +01:00