Edit model card

bert-base-finnish-cased-v1 for QA

This is the bert-base-finnish-cased-v1 model, fine-tuned using the Finnish SQuAD2.0 dataset. It's been trained on question-answer pairs, including unanswerable questions, for the task of Question Answering.

Overview

Language model: bert-base-finnish-v1

Language: Finnish

Downstream-task: Extractive QA

Training data: squad_v2_fi

Eval data: squad_v2_fi

Hyperparameters

batch_size = 12
n_epochs = 2
base_LM_model = "bert-base-finnish-cased-v1"
max_seq_len = 384
learning_rate = 3e-5
doc_stride=128

Performance

"exact": 68.2424,
"f1": 73.6607,
"HasAns_exact": 58.3290,
"HasAns_f1": 69.3629,
"HasAns_total": 5817,
"NoAns_exact": 77.8073,
"NoAns_f1": 77.8073,
"NoAns_total": 6029,
"samples": 12138,
"total": 11846

Comparison with other Finnish models

model F1
TurkuNLP/bert-base-finnish-cased-squad2 73.66
ilmariky/bert-base-finnish-cased-squad2-fi 61.87
Downloads last month
40
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train TurkuNLP/bert-base-finnish-cased-squad2