Tobias commited on
Commit
a1b8f9b
1 Parent(s): d7ac36f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md CHANGED
@@ -1,3 +1,38 @@
1
  ---
 
 
 
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: de
3
+ tags:
4
+ - bert
5
  license: apache-2.0
6
+
7
+ widget:
8
+ - text: "Das Frühstück ist sehr gut, es gibt auch Laktosefreie Produkte."
9
+ example_title: "Example 1"
10
+ - text: "Das Personal ist sehr kompetent und sehr freundlich."
11
+ example_title: "Example 2"
12
+ - text: "Die Zimmer sind wie beschrieben sehr klein, vergleichbar mit einer Kreuzfahrtschiffkabine. "
13
+ example_title: "Example 3"
14
+ - text: "Scheinwerfer vor dem Zimmer ganze Nacht an und zu hell"
15
+ example_title: "Example 4"
16
  ---
17
+
18
+ # German Hotel Review Sentiment Classification
19
+ A model trained on German Hotel Reviews from Switzerland. The base model is the [bert-base-german-cased](https://huggingface.co/bert-base-german-cased). The last hidden layer of the base model was extracted and a classification layer was added. The entire model was then trained for 5 epochs on our dataset.
20
+
21
+ # Model Performance
22
+
23
+ | Classes | Precision | Recall | F1 Score |
24
+ | :--- | :---: | :---: |:---: |
25
+ | Room | 84.62% | 88.00% | 86.27% |
26
+ | Food | 79.17% | 82.61% | 80.85% |
27
+ | Staff | 63.64% | 70.00% | 66.67% |
28
+ | Location | 83.33% | 62.50% | 71.43% |
29
+ | GeneralUtilitys | 76.92% | 76.92% | 76.92% |
30
+ | HotelOrganisation | 26.67% | 30.77% | 28.57% |
31
+ | Unknown | 25.00% | 16.67% | 20.00% |
32
+ | ReasonForStay | 100.00% | 50.00% | 66.67% |
33
+ | Accuracy | | | 69.00% |
34
+ | Macro Average | 67.42% | 59.68% | 62.17% |
35
+ | Weighted Average | 69.36% | 69.00% | 68.79% |
36
+
37
+ ## Confusion Matrix
38
+ ![Confusion Matrix](bert-base-german-cased_German_classification.jpg)