dnzblgn commited on
Commit
51f69ce
·
verified ·
1 Parent(s): 765ec97

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -1
README.md CHANGED
@@ -7,4 +7,54 @@ metrics:
7
  base_model:
8
  - distilbert/distilbert-base-uncased
9
  pipeline_tag: text-classification
10
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  base_model:
8
  - distilbert/distilbert-base-uncased
9
  pipeline_tag: text-classification
10
+ ---
11
+
12
+ ### Model Description
13
+
14
+ This fine-tuned DistilBERT model is specifically designed for document classification. It classifies customer feedback into six predefined categories: Shipping and Delivery, Customer Service, Price and Value, Quality and Performance, Use and Design, and Other. By leveraging the transformer-based architecture of DistilBERT, the model efficiently handles the syntactic patterns of text, providing accurate document classification based on content, style, and structure.
15
+
16
+ - **Model type:** DistilBERT (fine-tuned for text classification)
17
+ - **Language(s) (NLP):** English
18
+ - **License:** Apache 2.0
19
+ - **Finetuned from model:** distilbert/distilbert-base-uncased
20
+
21
+ ## Bias, Risks, and Limitations
22
+
23
+ While the model achieves high accuracy across the six categories, it has limitations when dealing with overlapping categories or multiple labels within a single document. The model is designed for single-label classification, meaning it can only detect one label per document. If a document contains features of multiple categories (e.g., both 'Quality and Performance' and 'Price and Value'), the model may struggle to correctly identify both and will predict only one category, potentially leading to misclassification.
24
+
25
+ ### Recommendations
26
+
27
+ Users (both direct and downstream) should be aware of the model's single-label prediction limitation. In cases where a document contains features of multiple categories, additional models or multi-label classification techniques should be considered.
28
+
29
+ ### Training Data
30
+ A custom synthetic dataset was created for this task, focusing on the structural features of text. The dataset provides examples from six categories, helping the model learn from both the syntactic organization and the meaning of the text.
31
+
32
+ ### Categories:
33
+
34
+ * Shipping and Delivery
35
+ * Customer Service
36
+ * Price and Value
37
+ * Quality and Performance
38
+ * Use and Design
39
+ * Other
40
+
41
+ ### Training Hyperparameters
42
+ Model: distilbert/distilbert-base-uncased
43
+ Learning Rate: 3e-5
44
+ Epochs: 7
45
+ Train Batch Size: 16
46
+ Gradient Accumulation Steps: 2
47
+ Weight Decay: 0.015
48
+ Warm-up Ratio: 0.1
49
+
50
+ ### Evaluation
51
+ The model was evaluated using a custom dataset representing the same six document categories. Performance was measured based on accuracy, precision, recall, and F1-score across the categories.
52
+
53
+ ### Metrics
54
+ Accuracy: 0.947
55
+ Precision: 0.948
56
+ Recall: 0.948
57
+ F1-Score: 0.948
58
+
59
+
60
+ ### For access to the synthetic dataset used, please contact: [deniz.bilgin@uni-konstanz.de].