Views
No views yet
| Metric | Value |
|---|---|
| Accuracy | 98.53% |
| Loss | 0.0221 |
| Training Samples | 80,000 |
| Validation Samples | 20,000 |
1from transformers import pipeline
2
3# Load directly
4classifier = pipeline("text-classification",
5 model="finmigodeveloper/distilbert-transaction-classifier-lora")
6
7# Test it
8transactions = [
9 "Starbucks coffee",
10 "Monthly salary deposit",
11 "Uber ride to airport"
12]
13
14for text in transactions:
15 result = classifier(text)[0]
16 print(f"{text}: {result['label']} ({result['score']:.2%})")adapter_model.safetensors: The LoRA adapter weights (2.5 MB)adapter_config.json: LoRA configurationtraining_stats.json: Detailed training statisticstokenizer.json & tokenizer_config.json: Tokenizer files