lemoelink commited on
Commit
0fb3a4e
·
verified ·
1 Parent(s): f2db6d3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -0
README.md CHANGED
@@ -1,3 +1,47 @@
1
  ---
2
  license: agpl-3.0
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: agpl-3.0
3
+ language:
4
+ - es
5
+ base_model:
6
+ - dccuchile/bert-base-spanish-wwm-cased
7
+ pipeline_tag: text-classification
8
+ tags:
9
+ - text-classification
10
+ - bert
11
+ - spanish
12
+ - safetensors
13
  ---
14
+ # Spanish Document sorter for LEMoE
15
+
16
+ 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).
17
+
18
+ The model was trained to handle both formal administrative Spanish and informal language containing typos, abbreviations, and phonetic spellings typical of quick text messaging.
19
+
20
+ ## Classification Labels
21
+
22
+ - **Label 0**: General queries, informational requests, or non-document tasks.
23
+ - **Label 1**: Document requests, invoices, receipts, certificates, or explicit text filtering commands.
24
+
25
+ ## Training Data Examples
26
+
27
+ - **Label 1**: "filtra todos los rresbidos d orange d lucas d er trimestre pasao"
28
+ - **Label 1**: "Se precisa el documento de reconocimiento explícito de deuda otorgado por Don Roberto Gil."
29
+ - **Label 0**: "que contraindicaciones tne tomar creatina de la marka myprotein pa los rriñones"
30
+
31
+ ## Intended Uses
32
+
33
+ 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.
34
+ The model is used in the papperles plugin for the LEMoE system [lemoe.link](https://lemoe.link)
35
+ ## Training Hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - Learning Rate: 2e-5
39
+ - Train Batch Size: 16
40
+ - Number of Epochs: 5
41
+ - Weight Decay: 0.01
42
+ - Warmup Steps: 2
43
+ - Mixed Precision (FP16): Enabled
44
+
45
+ ## How to Use
46
+
47
+ You can use this model directly with a Hugging Face pipeline: