Instructions to use mateoopa/bank-categorizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mateoopa/bank-categorizer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mateoopa/bank-categorizer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mateoopa/bank-categorizer") model = AutoModelForSequenceClassification.from_pretrained("mateoopa/bank-categorizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +76 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": null,
|
| 11 |
+
"gradient_checkpointing": false,
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"hidden_dropout_prob": 0.1,
|
| 14 |
+
"hidden_size": 768,
|
| 15 |
+
"id2label": {
|
| 16 |
+
"0": "AWS",
|
| 17 |
+
"1": "Arriendo",
|
| 18 |
+
"2": "Colegio Migue",
|
| 19 |
+
"3": "Cuido Zeus",
|
| 20 |
+
"4": "Gasolina",
|
| 21 |
+
"5": "Gasto Materiales Construcci\u00f3n",
|
| 22 |
+
"6": "Gasto mano de obra",
|
| 23 |
+
"7": "Huevos - mercado",
|
| 24 |
+
"8": "Lunch oficina",
|
| 25 |
+
"9": "Mercado (supermercado)",
|
| 26 |
+
"10": "Nomina LT",
|
| 27 |
+
"11": "Nomina RV",
|
| 28 |
+
"12": "Pago Ail\u00edn",
|
| 29 |
+
"13": "Parqueaderos",
|
| 30 |
+
"14": "Proteina carne/pollo",
|
| 31 |
+
"15": "Salidas con pap\u00e1 Ail\u00edn",
|
| 32 |
+
"16": "Salidas/entretenimiento",
|
| 33 |
+
"17": "Servicios P\u00fablicos EPM",
|
| 34 |
+
"18": "Suscripciones",
|
| 35 |
+
"19": "Verduras - Mercado"
|
| 36 |
+
},
|
| 37 |
+
"initializer_range": 0.02,
|
| 38 |
+
"intermediate_size": 3072,
|
| 39 |
+
"is_decoder": false,
|
| 40 |
+
"label2id": {
|
| 41 |
+
"AWS": 0,
|
| 42 |
+
"Arriendo": 1,
|
| 43 |
+
"Colegio Migue": 2,
|
| 44 |
+
"Cuido Zeus": 3,
|
| 45 |
+
"Gasolina": 4,
|
| 46 |
+
"Gasto Materiales Construcci\u00f3n": 5,
|
| 47 |
+
"Gasto mano de obra": 6,
|
| 48 |
+
"Huevos - mercado": 7,
|
| 49 |
+
"Lunch oficina": 8,
|
| 50 |
+
"Mercado (supermercado)": 9,
|
| 51 |
+
"Nomina LT": 10,
|
| 52 |
+
"Nomina RV": 11,
|
| 53 |
+
"Pago Ail\u00edn": 12,
|
| 54 |
+
"Parqueaderos": 13,
|
| 55 |
+
"Proteina carne/pollo": 14,
|
| 56 |
+
"Salidas con pap\u00e1 Ail\u00edn": 15,
|
| 57 |
+
"Salidas/entretenimiento": 16,
|
| 58 |
+
"Servicios P\u00fablicos EPM": 17,
|
| 59 |
+
"Suscripciones": 18,
|
| 60 |
+
"Verduras - Mercado": 19
|
| 61 |
+
},
|
| 62 |
+
"layer_norm_eps": 1e-12,
|
| 63 |
+
"max_position_embeddings": 512,
|
| 64 |
+
"model_type": "bert",
|
| 65 |
+
"num_attention_heads": 12,
|
| 66 |
+
"num_hidden_layers": 12,
|
| 67 |
+
"output_past": true,
|
| 68 |
+
"pad_token_id": 1,
|
| 69 |
+
"position_embedding_type": "absolute",
|
| 70 |
+
"problem_type": "single_label_classification",
|
| 71 |
+
"tie_word_embeddings": true,
|
| 72 |
+
"transformers_version": "5.10.2",
|
| 73 |
+
"type_vocab_size": 2,
|
| 74 |
+
"use_cache": false,
|
| 75 |
+
"vocab_size": 31002
|
| 76 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c3f145ef2db76f7cc86741455cdbd9cd5f7f4173db17eb42bdc7bcd0e868f91
|
| 3 |
+
size 439488576
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ee9b5945134511c0d1841bb6392cedf9e08c7498322f2141df678f6ef8691e4
|
| 3 |
+
size 5201
|