Generative AI workshop delivered at PyDataBCN 2023
Help ResponsibleLending company to automate money loans to the right people, which are those aligning with ESG goals.
In order to do that we'll create a Gen-AI classification system to generate loan/no loan decisions according to two features:
- email sentiment
- ESG motivation of the sender
The system will also generate an automated email response for the sender extracting information such as:
- sender
- requested loan quantity
- loan motivation
Seven loan request from different candidates are provided:
- Lex Luthor
- Thanos
- The Joker
- Agatha Christie
- Aquaman
- Coco Chanel
- Salvador Dali
This repo contains a notebook with code to:
- Interact with models from HugginFace Inference API
- Interact with a custom, fine-tuned ESG model from HuggingFace, ESG-BERT
- Use prompts for Falcon-7b-instruct and flan-t5-xxl models models
- Custom prompts to generate emails and their automated responses.