该模型是用于评估语言可接受性和语法正确性的。微调是基于 the camembert-base model 进行的。
要使用该模型:
from transformers import pipeline
classifier = pipeline("text-classification", model = 'EIStakovskii/camembert_base_fluency')
print(classifier("Il estaaaaaaaaaaad impr2éviswwible, oui,i,v.1 danfaagereux."))
Label_1表示可接受-该句子对于母语人士来说是完全可理解的,没有严重的语法和句法缺陷。
Label_0表示不可接受-该句子在正字法和语法上都有缺陷。
该模型是基于 the news_commentary dataset 的5万个法语句子进行训练的。其中2.5万个句子是通过 the open source Python library 进行算法上的损坏。该库最初由 aylliote 开发,但为了适应该模型的需要,进行了一些微小的调整。