Downloads · 30 days
26
33% of all-time downloads
hineshp6/camembert-qfrcola
camembert-qfrcola is a text classification model from hineshp6. Use it when you need a label for a piece of text. The card lists the license as cc-by-nc-sa-4.0.
CamemBERT-base fine-tuned on QFrCoLA (Beauchemin & Khoury, EMNLP 2025), a Quebec-French corpus of binary linguistic acceptability judgments (0 = ungrammatical, 1 = grammatical/acceptable in Quebec French).
Downloads · 30 days
26
33% of all-time downloads
All-time downloads
79
Public
Parameters
111M
554 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors443 MB · 80%
From the Hugging Face model README
CamemBERT-base fine-tuned on QFrCoLA (Beauchemin & Khoury, EMNLP 2025), a Quebec-French corpus of binary linguistic acceptability judgments (0 = ungrammatical, 1 = grammatical/acceptable in Quebec French).
Trained as part of a CSCI 5501 (Deep Learning Applications, Dalhousie University) mini-project quantifying and reducing the Quebec-French acceptability-judgment gap in pretrained French language models. See the accompanying Space demo and project report for zero-shot vs. fine-tuned comparisons.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
tok = AutoTokenizer.from_pretrained("hineshp6/camembert-qfrcola")
model = AutoModelForSequenceClassification.from_pretrained("hineshp6/camembert-qfrcola")
sentence = "Il fait frette dehors a matin."
inputs = tok(sentence, return_tensors="pt")
probs = torch.softmax(model(**inputs).logits, dim=-1)[0]
print(f"P(acceptable) = {probs[1]:.3f}")
Fine-tuned model released under CC-BY-NC-SA 4.0, matching the QFrCoLA dataset license.