File size: 1,761 Bytes
4c70d1b
 
ae6d861
 
 
 
 
 
 
 
 
 
 
 
4c70d1b
ae6d861
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
license: agpl-3.0
language:
- es
base_model:
- dccuchile/bert-base-spanish-wwm-cased
pipeline_tag: text-classification
tags:
- text-classification
- bert
- spanish
- onnx
datasets:
- lemoelink/document-classifier
---
# Spanish Document sorter for LEMoE

This model is a fine-tuned version of `dccuchile/bert-base-spanish-wwm-cased` (BETO) optimized for binary classification of Spanish text. It specifically distinguishes between requests related to document or receipt retrieval (Label 1) and general or informational queries (Label 0).

The model was trained to handle both formal administrative Spanish and informal language containing typos, abbreviations, and phonetic spellings typical of quick text messaging.

## Classification Labels

- **Label 0**: General queries, informational requests, or non-document tasks.
- **Label 1**: Document requests, invoices, receipts, certificates, or explicit text filtering commands.

## Training Data Examples

- **Label 1**: "filtra todos los rresbidos d orange d lucas d er trimestre pasao"
- **Label 1**: "Se precisa el documento de reconocimiento explícito de deuda otorgado por Don Roberto Gil."
- **Label 0**: "que contraindicaciones tne tomar creatina de la marka myprotein pa los rriñones"

## Intended Uses

This model is intended to be used as a routing layer or intent classifier in automation systems to detect when a user is looking for a specific file, ticket, or document.
The model is used in the papperles plugin for the LEMoE system [lemoe.link](https://lemoe.link)
## Training Hyperparameters

The following hyperparameters were used during training:
- Learning Rate: 2e-5
- Train Batch Size: 16
- Number of Epochs: 5
- Weight Decay: 0.01
- Warmup Steps: 2
- Mixed Precision (FP16): Enabled