scherrmann commited on
Commit
11b0183
·
1 Parent(s): d5826ec

Upload README(1).md

Browse files
Files changed (1) hide show
  1. README(1).md +44 -0
README(1).md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - de
5
+ ---
6
+ # German FinBERT For QuAD (Further Pre-trained Version, Fine-Tuned for Financial Question Answering)
7
+
8
+ German FinBERT is a BERT language model focusing on the financial domain within the German language. In my [paper](https://arxiv.org/pdf/2311.08793.pdf), I describe in more detail the steps taken to train the model and show that it outperforms its generic benchmarks for finance specific downstream tasks.
9
+
10
+ This model is the [further-pretrained version of German FinBERT](https://huggingface.co/scherrmann/GermanFinBert_FP), after fine-tuning on the [German Ad-Hoc QuAD dataset](https://huggingface.co/datasets/scherrmann/adhoc_quad).
11
+
12
+ ## Overview
13
+ **Author** Moritz Scherrmann
14
+ **Paper:** [here](https://arxiv.org/pdf/2311.08793.pdf)
15
+ **Architecture:** BERT base
16
+ **Language:** German
17
+ **Specialization:** Financial question answering
18
+ **Base model:** [German_FinBert_FP](https://huggingface.co/scherrmann/GermanFinBert_FP)
19
+
20
+
21
+ ### Fine-tuning
22
+
23
+ I fine-tune the model using the 1cycle policy of [Smith and Topin (2019)](https://arxiv.org/abs/1708.07120). I use the Adam optimization method of [Kingma and Ba (2014)](https://arxiv.org/abs/1412.6980) with
24
+ standard parameters.I run a grid search on the evaluation set to find the best hyper-parameter setup. I test different
25
+ values for learning rate, batch size and number of epochs, following the suggestions of [Chalkidis et al. (2020)](https://aclanthology.org/2020.findings-emnlp.261/). I repeat the fine-tuning for each setup five times with different seeds, to avoid getting good results by chance.
26
+ After finding the best model w.r.t the evaluation set, I report the mean result across seeds for that model on the test set.
27
+
28
+ ### Results
29
+
30
+ Ad-Hoc QuAD (Question Answering):
31
+ - Exact Match (EM): 52.50%
32
+ - F1 Score: 74.61%
33
+
34
+
35
+ ## Authors
36
+ Moritz Scherrmann: `scherrmann [at] lmu.de`
37
+
38
+
39
+ For additional details regarding the performance on fine-tune datasets and benchmark results, please refer to the full documentation provided in the study.
40
+
41
+ See also:
42
+ - scherrmann/GermanFinBERT_SC
43
+ - scherrmann/GermanFinBERT_FP
44
+ - scherrmann/GermanFinBERT_SC_Sentiment