Views
No views yet
ACCOUNT_NUMBER · ACCOUNT_HOLDER · DATE · TRANSACTION_TYPE · AMOUNTINVOICE_NUMBER · VENDOR · ITEM_NAME · QUANTITY · UNIT_PRICE · TOTAL_AMOUNT1from transformers import pipeline
2
3# Bank documents
4bank_model = pipeline("token-classification", model="ArticWasHere/data-entry-bank")
5result = bank_model("Account Number: 4821039476 Amount: $4,250.00 Date: 03/15/2024")
6print(result)
7
8# Warehouse documents
9warehouse_model = pipeline("token-classification", model="ArticWasHere/data-entry-warehouse")
10result = warehouse_model("Invoice INV-20481 Vendor: Apex Supply Co Quantity: 12 units")
11print(result)Account Number: 4821039476
Account Holder: Sarah Johnson
Date: 03/15/2024
Transaction Type: deposit
Amount: $4,250.001{
2 "ACCOUNT_NUMBER": "4821039476",
3 "ACCOUNT_HOLDER": "Sarah Johnson",
4 "DATE": "03/15/2024",
5 "TRANSACTION_TYPE": "deposit",
6 "AMOUNT": "$4,250.00"
7}| Property | Value |
|---|---|
| Base Model | distilbert-base-uncased |
| Task | Token Classification (NER) |
| Training Samples | 10 labeled documents |
| Epochs | 5 |
| Languages | English |