Update README.md
Browse files
README.md
CHANGED
@@ -13,4 +13,21 @@ widget:
|
|
13 |
example_title: "Example 3"
|
14 |
- text: "Scheinwerfer vor dem Zimmer ganze Nacht an und zu hell"
|
15 |
example_title: "Example 4"
|
16 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
| Positive | 90.48% | 82.61% | 86.36% |
|
26 |
+
| Negative | 70.59% | 92.31% | 80.00% |
|
27 |
+
| Neutral | 28.57% | 13.33% | 18.18% |
|
28 |
+
| Accuracy | | | 76.00% |
|
29 |
+
| Macro Average | 63.21% | 62.75% | 61.52% |
|
30 |
+
| Weighted Average | 73.43% | 76.00% | 73.65% |
|
31 |
+
|
32 |
+
## Confusion Matrix
|
33 |
+
![Confusion Matrix](bert-base-german-cased_German_sentiment.jpg)
|