Downloads · 30 days
17
1% of all-time downloads
EIStakovskii/bert-base-german-cased_fluency
bert-base-german-cased_fluency is a text classification model from EIStakovskii. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as other.
This model was trained for evaluating linguistic acceptability and grammaticality. The finetuning was carried out based off the bert-base-german-cased.
Downloads · 30 days
17
1% of all-time downloads
All-time downloads
1.3K
Public
Parameters
109M
873 MB on disk
Likes
0
Public
Click a slice to open those files.
.bin436 MB · 50%
How the weights are stored.
F32109M · 100%
From the Hugging Face model README
This model was trained for evaluating linguistic acceptability and grammaticality. The finetuning was carried out based off the bert-base-german-cased.
To use the model:
from transformers import pipeline
classifier = pipeline("text-classification", model = 'EIStakovskii/bert-base-german-cased_fluency')
print(classifier("Wissqween Sisssasde, adddddqwe12was Mdddilednberg war, 122huh?"))
Label_1 means ACCEPTABLE - the sentence is perfectly understandable by native speakers and has no serious grammatic and syntactic flaws.
Label_0 means NOT ACCEPTABLE - the sentence is flawed both orthographically and grammatically.
The model was trained on 50 thousand German sentences from the news_commentary dataset. Out of 50 thousand 25 thousand sentences were algorithmically corrupted using the open source Python library. The library was originally developed by aylliote, but it was slightly adapted for the purposes of this model.