Datasets:
Download README.md from chaouin/qfrblima: direct link, hf CLI and curl.
- Browser
- Download file 7.79 kB
-
https://huggingface.co/datasets/chaouin/qfrblima/resolve/main/README.md
- Command line
-
hf download hf://datasets/chaouin/qfrblima/README.md
-
curl -L -o README.md https://huggingface.co/datasets/chaouin/qfrblima/resolve/main/README.md
license: cc-by-nc-sa-4.0
language:
- fr
tags:
- quebec-french
- linguistic-variation
- contrastive-benchmark
- language-model-evaluation
- regional-classification
pretty_name: 'QFrBLiMa: a Quebec French Benchmark of Regional Linguistic Markers'
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: test
path: qfrblima.csv
QFrBLiMa: a Quebec French Benchmark of Regional Linguistic Markers
Dataset Summary
QFrBLiMa is a contrastive benchmark designed to evaluate the ability of large language models (LLMs) and supervised regional French classifiers to recognize lexical and terminological markers associated with Quebec French (QFr), using Metropolitan French (MFr) as an operational comparison category.
Unlike grammatical acceptability and semantic understanding benchmarks, QFrBLiMa targets regional linguistic attribution between expressions intended to convey the same meaning. The benchmark reflects documented regional linguistic associations rather than exclusive geographic usage.
Code and experimental results: GitHub.
Dataset Structure
Each entry contains two sentence variants expressing the same underlying meaning, with a targeted regional linguistic contrast.
Examples:
| Metropolitan French (MFr) | Quebec French (QFr) |
|---|---|
| J'ai terminé le puzzle de mille pièces hier soir. | J'ai terminé le casse-tête de mille pièces hier soir. |
| Passe-moi la clé plate de douze millimètres. | Passe-moi la clé ouverte de douze millimètres. |
The dataset includes sentence-pair and marker identifiers, sentence variants, target expressions, domain annotations and OQLF source references.
The historical identifiers FI and FQ are retained in the CSV
column names and labels for compatibility and reproducibility.
Throughout the documentation, they correspond to Metropolitan French
(MFr) and Quebec French (QFr), respectively.
| CSV columns (legacy) | Variety |
|---|---|
text_FI, label_FI, marker_FI |
Metropolitan French (MFr) |
text_FQ, label_FQ, marker_FQ |
Quebec French (QFr) |
All 1,205 pairs belong to a single evaluation split (test).
Dataset Statistics
| Property | Value |
|---|---|
| Language | French (Metropolitan French / Quebec French) |
| Sentence pairs | 1,205 |
| Linguistic markers | 241 |
| Contexts per marker | 5 |
| Evaluation | Zero-shot LLM judgment and supervised classifier evaluation |
| Models evaluated | 8 LLMs and 5 encoder-based classifiers |
| Source | OQLF Grand dictionnaire terminologique |
| License | CC BY-NC-SA 4.0 |
Usage
Load the benchmark using the Hugging Face datasets library:
from datasets import load_dataset
dataset = load_dataset("chaouin/qfrblima", split="test")
print(dataset[0])
print(f"Total pairs: {len(dataset)}")
print(f"Total markers: {len(set(dataset['feature_id']))}")
Evaluation Protocols
Large Language Models
Models are asked to identify which of two anonymized candidates exhibits stronger Quebec French linguistic characteristics, with an EQUIVALENT option when no meaningful distinction is identified.
Each pair is evaluated in both candidate orders to assess position sensitivity. This protocol measures regional linguistic recognition in a zero-shot contrastive setting.
Supervised Regional Classifiers
Five encoder-based classifiers were fine-tuned on a separate supervised corpus of 938,484 examples, balanced by variety within each of six genres and each partition. QFrBLiMa was used only for external evaluation, not for fine-tuning or checkpoint selection.
Sentence-level evaluation uses a QFr score threshold of 0.5 and reports accuracy and macro-F1. For strict pairwise evaluation, a pair is correct when the QFr sentence receives a strictly higher class-1 score than its MFr counterpart; ties count as incorrect. Pairwise confidence intervals are based on 20,000 bootstrap replicates clustered by linguistic marker.
The classifiers' internal labels are FI (class 0, MFr) and FQ (class 1, QFr). Their softmax scores have not been calibrated.
Full evaluation scripts, prompts, predictions and statistical analyses are available in the GitHub repository.
Supervised Regional Classifiers
The five fine-tuned classifiers are available on Hugging Face. Their model cards document training, evaluation results and intended use.
| Model | Sentence accuracy | Sentence macro-F1 | Strict pairwise accuracy |
|---|---|---|---|
| CamemBERT | 59.38% | 59.20% | 72.45% |
| CamemBERTv2 | 57.39% | 54.89% | 70.37% |
| ModernCamemBERT | 56.97% | 53.24% | 69.38% |
| BERT-base-cased | 53.78% | 52.44% | 58.01% |
| RoBERTa-base | 54.27% | 53.68% | 59.67% |
These results are from external evaluation on QFrBLiMa. The supervised corpus and its splits are not publicly redistributed. See the corpus documentation for provenance, usage restrictions and reconstruction limitations.
The LLM and classifier protocols differ; their results should be interpreted in light of their respective decision rules and training settings.
Dataset Creation
The linguistic markers were selected from terminological data from the OQLF's Grand dictionnaire terminologique through automatic extraction followed by manual review and cleaning.
Redundant variants were consolidated, and five sentence contexts were constructed for each retained marker, yielding 1,205 contrastive sentence pairs.
Limitations and Intended Use
The benchmark is intended for research on regional linguistic recognition, not for inferring a person's origin or identity. MFr is an operational comparison category, and neither variety implies exclusive geographic usage.
The benchmark focuses on documented lexical and terminological contrasts rather than the full range of regional linguistic variation. The constructed sentence pairs were not independently validated by external human annotators. Performance on QFrBLiMa does not establish generalization to other domains or naturally occurring text.
Dataset Sources
- Repository: GitHub – QFrBLiMa
- Original source: Grand dictionnaire terminologique (OQLF)
- Source data: Données Québec
- Paper: QFrBLiMa: a Quebec French Benchmark of Regional Linguistic Markers
Citation
If you use QFrBLiMa in your research, please cite the associated paper:
QFrBLiMa: a Quebec French Benchmark of Regional Linguistic Markers
A BibTeX citation will be added following publication of the preprint.
License
QFrBLiMa is distributed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.
The benchmark incorporates terminology from the Grand dictionnaire terminologique (OQLF), distributed through Données Québec under CC BY-NC-SA 4.0. Original source attribution and applicable licensing conditions must be preserved.
This license applies to the benchmark and does not automatically extend to the associated model weights or the separate supervised training corpus. Refer to the individual model repositories for the applicable model licensing terms.