Dikshith4500 commited on
Commit
2f149d5
·
verified ·
1 Parent(s): 08b5c14

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -3
README.md CHANGED
@@ -13,8 +13,40 @@ datasets:
13
  # SpendingCategoryBERT
14
 
15
  Fine-tuned BERT for classifying raw bank transaction strings into 8 spending categories.
16
- Built as part of Foresight.
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  ## Performance
19
- - Accuracy: 100%
20
- - F1: 1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  # SpendingCategoryBERT
14
 
15
  Fine-tuned BERT for classifying raw bank transaction strings into 8 spending categories.
16
+ Built as part of [Foresight](https://github.com/DikshithPulakanti/foresight) — a proactive AI financial OS with 12 LangGraph agents and 6 custom MCP servers.
17
+
18
+ ## Categories
19
+
20
+ | Label | Category | Example |
21
+ |-------|----------|---------|
22
+ | 0 | grocery | WHOLEFDS MKT #1523 |
23
+ | 1 | restaurant | STARBUCKS #12345 |
24
+ | 2 | transport | UBER *TRIP |
25
+ | 3 | shopping | AMZN MKTP US*2K4J9 |
26
+ | 4 | entertainment | NETFLIX.COM |
27
+ | 5 | utilities | ATT*BILL PAYMENT |
28
+ | 6 | healthcare | CVS PHARMACY #1234 |
29
+ | 7 | general | VENMO PAYMENT |
30
 
31
  ## Performance
32
+
33
+ | Metric | Score |
34
+ |--------|-------|
35
+ | Accuracy | 100% |
36
+ | F1 (weighted) | 1.0 |
37
+ | Precision | 1.0 |
38
+ | Recall | 1.0 |
39
+
40
+ ## Usage
41
+
42
+ from transformers import pipeline
43
+ classifier = pipeline("text-classification", model="Dikshith4500/SpendingCategoryBERT")
44
+ classifier("WHOLEFDS MKT #1523")
45
+
46
+ ## Training
47
+ - Base model: bert-base-uncased
48
+ - Dataset: Dikshith4500/bank-transaction-categories-50k
49
+ - Examples: 6,973 labeled bank transaction strings
50
+ - Epochs: 3
51
+ - Learning rate: 2e-5
52
+ - Hardware: T4 GPU