Skip to content

WoutervdVijver/KPMG_NLP_project

Repository files navigation

🚀Intelligent Automation of Tax Data Collection & Categorisation

Description

KPMG Belgium, a leading professional services firm specialising in finance and accounting, wants to improve their tax knowledge management system that allows their employees to save, access, and load tax-relevant data pertinent to their tasks and activities. To this end, they have contracted us to build a Machine Learning (ML) solution that would automate the repetitive (and partially manual) tasks of gathering and sorting tax-relevant legal documents published regularly on the Belgian Official Gazettte.

We shall present our prototype to the intended end-users, i.e. KPMG Belgium's Corporate Tax Department, who stand to benefit from having the monotonous and tedious task of tax data gathering and classification automised efficiently, cost-effectively, and on demand.

The App

This is a digital tool that effectively identitifies and classifies Belgian legal tax documents in the Dutch language. At this stage of the product cycle development, it is a proof of concept that we can show to our clients who are open to leveraging AI and ML technologies when it comes to the provision of professional financial and accounting services.

Installation

In the repository you can find the requirements.txt file. Make sure that these are installed.

Usage

  • To analyze a text, go to the demo.ipynb file. In this file you can enter your text and run through the notebook. It will output .csv file. (See visualisations)

  • The file topics_with_final_set_of_words.ipynb is where the actual model is created. The model is already trained and can be found in the models' folder.

  • The notebooks scraping.ipynb and cleaning_texts.ipynb are notebooks made for scraping our initial dataset and cleaning this dataset. The full preprocessing is combined in the preprocessing.py file.

  • The file custom_ner.ipynb is an early attempt to create an annotator for legal texts but does not, as of now, contribute to the actual preprocessing.

Data Sources

Visuals

               Our LDA model optimised by the Mallet algorithm showing an example of topic-keyword distribution 

pipeline 2022-04-21 at 15 49 28

                                Image of the interface of our deep learning solution

pipeline 2022-04-21 at 15 49 28

Contributors: 'The Tag Collectors'

Anika Arevalo (Scrum Master)

Anzeem Arief

Mouad Belayachi

Wouter van de Vijver (Project Manager)

Timeline

12 days

01/06/2022 - 16/06/2022

Personal situation

Our team was able to successfully train and test two Mallet LDA models in Dutch of two sizes (small and large). As our minimum viable product (MVP), we present to our clients the prototype developed using the small-sized NLP model that can be immediately deployed as a mobile application. Nonetheless, we also provide a trained large-sized NLP model to anticipate the downstream NLP tasks which KPMG's Advanced Analytics & AI, and Intelligent Automation & New Tech departments could leverage.

Last but not the least, we are also presenting a prototype of a NER pipeline that can be integrated into this MVP. If given another opportunity and more time, we would like to optimise this proof of concept further by including this customised (and customisable) pipeline in the design.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published