Making Financial Literacy Accessible with AI
FinEdu.AI is an innovative AI-powered platform designed to democratize financial education and make complex financial concepts accessible to everyone. By leveraging advanced machine learning models and natural language processing, this project transforms how people learn about finance, investments, and economic principles.
- AI-Powered Financial Assistant: Interactive chatbot that explains complex financial terminology in simple terms
- Comprehensive Financial Database: Curated dataset of 80+ financial terms with definitions, significance, usage, and implications
- Personalized Learning: Adaptive learning system that adjusts to user's knowledge level
- Real-time Financial Insights: Get explanations for trending financial concepts and market terminology
- Python 3.8+
- Transformers - Hugging Face transformers for NLP models
- Sentence Transformers - For semantic similarity and embeddings
- PyTorch - Deep learning framework
- Pandas - Data manipulation and analysis
- Kaggle Hub - Dataset management
- Jupyter Notebook - Development environment
- Meta Llama-2-7b-chat-hf - Main language model (8-bit quantized)
- LlamaIndex - For vector storage and retrieval
- Gradio - For the web interface
The project utilizes a comprehensive financial terminology dataset containing:
- 80 financial terms with detailed explanations
- Definitions - Clear, concise explanations of each term
- Significance - Why each concept matters in finance
- Usage - Practical applications in real-world scenarios
- Implications - What increasing/decreasing values mean
Dataset source: Financial Terminologies on Kaggle
pip install torch transformers sentence-transformers pandas kagglehub jupyterRun the Jupyter notebook
jupyter notebook FinEduAI.ipynb- Clone the repository
git clone https://github.com/ayansk11/FinEdu.AI.git
cd FinEdu.AI- Install dependencies
pip install -r requirements.txt- Run the Python File
python FinEduAI.py- Load the financial dataset
import kagglehub
import pandas as pd
# Download dataset
path = kagglehub.dataset_download("ayansk11/financial-terminologies")
df = pd.read_json(path + "/financialdata.jsonl", lines=True)- Initialize the AI model
from transformers import pipeline, AutoTokenizer, AutoModel
# Load pre-trained models for financial NLP
model = AutoModel.from_pretrained('sentence-transformers/all-MiniLM-L6-v2')- Start learning
# Ask questions about financial terms
query = "What is Price-to-Earnings Ratio?"
# Get AI-powered explanations with context and examples- Automatically categorizes financial queries
- Understands context and user intent
- Provides relevant explanations
- Find related financial concepts
- Semantic similarity matching
- Contextual recommendations
- Progressive difficulty levels
- Personalized learning paths
- Real-time feedback and corrections
- Students - Learn financial concepts for academic purposes
- Investors - Understand market terminology and investment strategies
- Professionals - Quick reference for financial jargon and concepts
- General Public - Improve financial literacy and decision-making skills
We welcome contributions from the community! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Adding new financial terms and definitions
- Improving AI model accuracy
- Developing web/mobile interfaces
- Creating educational content
- Translating to other languages
- Web Application - Browser-based interface
- Mobile App - iOS and Android applications
- Voice Assistant - Audio-based financial education
- Market Integration - Real-time market data and analysis
- Multilingual Support - Support for multiple languages
- Advanced Analytics - Personal finance tracking and advice
- Kaggle community for providing the financial terminology dataset
- Hugging Face for transformer models and tools
- Open source contributors and financial education advocates
Ayan Shaikh - @ayansk11
LinkedIn - https://www.linkedin.com/in/ayansk11/
Project Link: https://github.com/ayansk11/FinEdu.AI
⭐ Star this repository if you found it helpful!
"Empowering everyone with AI-driven financial knowledge"


