Category.BILLS_SUBSCRIPTIONS_BILLS Category.BILLS_SUBSCRIPTIONS_INTERNET_PHONE Category.BILLS_SUBSCRIPTIONS_OTHER Category.BILLS_SUBSCRIPTIONS_SUBSCRIPTIONS Category.CREDIT_CARDS_CREDIT_CARDS Category.EATING_OUT_COFFEE_SHOPS Category.EATING_OUT_OTHER Category.EATING_OUT_RESTAURANTS Category.EATING_OUT_TAKEAWAY_RESTAURANTS Category.HEALTH_WELLNESS_AID_EXPENSES Category.HEALTH_WELLNESS_DRUGS Category.HEALTH_WELLNESS_GYMS Category.HEALTH_WELLNESS_MEDICAL_EXPENSES Category.HEALTH_WELLNESS_OTHER Category.HEALTH_WELLNESS_WELLNESS_RELAX Category.HOUSING_FAMILY_APPLIANCES Category.HOUSING_FAMILY_CHILDHOOD Category.HOUSING_FAMILY_FURNITURE Category.HOUSING_FAMILY_GROCERIES Category.HOUSING_FAMILY_INSURANCES Category.HOUSING_FAMILY_MAINTENANCE_RENOVATION Category.HOUSING_FAMILY_OTHER Category.HOUSING_FAMILY_RENTS Category.HOUSING_FAMILY_SERVANTS Category.HOUSING_FAMILY_VETERINARY Category.LEISURE_BOOKS Category.LEISURE_CINEMA Category.LEISURE_CLUB_ASSOCIATIONS Category.LEISURE_GAMBLING Category.LEISURE_MAGAZINES_NEWSPAPERS Category.LEISURE_MOVIES_MUSICS Category.LEISURE_OTHER Category.LEISURE_SPORT_EVENTS Category.LEISURE_THEATERS_CONCERTS Category.LEISURE_VIDEOGAMES Category.MORTGAGES_LOANS_LOANS Category.MORTGAGES_LOANS_MORTGAGES Category.OTHER_CASH Category.OTHER_CHECKS Category.OTHER_OTHER Category.PROFITS_PROFITS Category.SHOPPING_ACCESSORIZE Category.SHOPPING_CLOTHING Category.SHOPPING_FOOTWEAR Category.SHOPPING_HI_TECH Category.SHOPPING_OTHER Category.SHOPPING_SPORT_ARTICLES Category.TAXES_SERVICES_BANK_FEES Category.TAXES_SERVICES_DEFAULT_PAYMENTS Category.TAXES_SERVICES_MONEY_ORDERS Category.TAXES_SERVICES_OTHER Category.TAXES_SERVICES_PROFESSIONAL_ACTIVITY Category.TAXES_SERVICES_PROFIT_DEDUCTION Category.TAXES_SERVICES_TAXES Category.TRANSFERS_BANK_TRANSFERS Category.TRANSFERS_GIFTS_DONATIONS Category.TRANSFERS_INVESTMENTS Category.TRANSFERS_OTHER Category.TRANSFERS_REFUNDS Category.TRANSFERS_RENT_INCOMES Category.TRANSFERS_SAVINGS Category.TRAVELS_TRANSPORTATION_BUSES Category.TRAVELS_TRANSPORTATION_CAR_RENTAL Category.TRAVELS_TRANSPORTATION_FLIGHTS Category.TRAVELS_TRANSPORTATION_FUEL Category.TRAVELS_TRANSPORTATION_HOTELS Category.TRAVELS_TRANSPORTATION_OTHER Category.TRAVELS_TRANSPORTATION_PARKING_URBAN_TRANSPORTS Category.TRAVELS_TRANSPORTATION_TAXIS Category.TRAVELS_TRANSPORTATION_TOLLS Category.TRAVELS_TRANSPORTATION_TRAINS Category.TRAVELS_TRANSPORTATION_TRAVELS_HOLIDAYS Category.TRAVELS_TRANSPORTATION_VEHICLE_MAINTENANCE Category.WAGES_PENSION Category.WAGES_PROFESSIONAL_COMPENSATION Category.WAGES_SALARY
---
tags: autonlp
language: it
widget:
- text: "I love AutoNLP 🤗"
datasets:
- mgrella/autonlp-data-bank-transaction-classification
---

# Model Trained Using AutoNLP

- Problem type: Multi-class Classification
- Model ID: 5521155

## Validation Metrics

- Loss: 1.3173143863677979
- Accuracy: 0.8220706757594545
- Macro F1: 0.5713688384455807
- Micro F1: 0.8220706757594544
- Weighted F1: 0.8217158913702755
- Macro Precision: 0.6064387992817253
- Micro Precision: 0.8220706757594545
- Weighted Precision: 0.8491515834140735
- Macro Recall: 0.5873349311175117
- Micro Recall: 0.8220706757594545
- Weighted Recall: 0.8220706757594545


## Usage

You can use cURL to access this model:

```
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' https://api-inference.huggingface.co/models/mgrella/autonlp-bank-transaction-classification-5521155
```

Or Python API:

```
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("mgrella/autonlp-bank-transaction-classification-5521155", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("mgrella/autonlp-bank-transaction-classification-5521155", use_auth_token=True)

inputs = tokenizer("I love AutoNLP", return_tensors="pt")

outputs = model(**inputs)
```