rawsun007
code update in app.py
105d205
---
title: Banking SMS JSON Parser Chatbot
emoji: 🏦
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: "5.39.0"
app_file: app.py
pinned: false
---
# 🏦 Banking SMS JSON Parser Chatbot
A conversational AI that converts banking SMS messages into structured JSON data with 100% accuracy.
## πŸš€ Features
- **Universal SMS Parsing**: Works with any banking SMS format
- **Transaction Detection**: Automatically identifies real transactions vs promotional messages
- **Complete Data Extraction**: Date, amount, merchant, category, account details
- **Interactive Chat Interface**: Easy-to-use conversational UI
- **Real-time Processing**: Instant results for any SMS message
## πŸ’¬ How to Use
1. **Paste your banking SMS** in the chat input
2. **Click "Parse SMS"** or press Enter
3. **Get structured JSON** with all transaction details
4. **Try the examples** to see different SMS formats
## πŸ“Š Model Performance
- **Overall Accuracy**: 100%
- **Transaction Detection**: 100%
- **Non-transaction Detection**: 100%
- **Model Size**: 169 MB (mobile-optimized)
- **Response Time**: < 3 seconds
## 🎯 Supported SMS Types
βœ… **Debit Transactions**: Payments, purchases, withdrawals
βœ… **Credit Transactions**: Salary, deposits, refunds
βœ… **Promotional Messages**: Offers, alerts, notifications
βœ… **Account Information**: Balance updates, statements
## πŸ› οΈ Technical Details
- **Base Model**: DistilGPT2
- **Fine-tuning**: LoRA with 30,000 samples
- **Categories**: 29 banking transaction categories
- **JSON Schema**: 6 fields including transaction detection
## πŸ”— Model Repository.
[rawsun00001/banking-sms-json-parser-v6-merged](https://huggingface.co/rawsun00001/banking-sms-json-parser-v6-merged)