EIStakovskii commited on
Commit
ef5e7fb
1 Parent(s): 2dd854c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -21,6 +21,17 @@ license: other
21
 
22
  This model was trained for evaluating linguistic acceptability and grammaticality. The finetuning was carried out based off [the bert-base-german-cased](https://huggingface.co/bert-base-german-cased).
23
 
 
 
 
 
 
 
 
 
 
 
 
24
  Label_1 means ACCEPTABLE - the sentence is perfectly understandable by native speakers and has no serious grammatic and syntactic flaws.
25
 
26
  Label_0 means NOT ACCEPTABLE - the sentence is flawed both orthographically and grammatically.
 
21
 
22
  This model was trained for evaluating linguistic acceptability and grammaticality. The finetuning was carried out based off [the bert-base-german-cased](https://huggingface.co/bert-base-german-cased).
23
 
24
+ To use the model:
25
+
26
+ ```python
27
+ from transformers import pipeline
28
+
29
+ classifier = pipeline("text-classification", model = 'EIStakovskii/bert-base-german-cased_fluency')
30
+
31
+ print(classifier("Wissqween Sisssasde, adddddqwe12was Mdddilednberg war, 122huh?"))
32
+
33
+ ```
34
+
35
  Label_1 means ACCEPTABLE - the sentence is perfectly understandable by native speakers and has no serious grammatic and syntactic flaws.
36
 
37
  Label_0 means NOT ACCEPTABLE - the sentence is flawed both orthographically and grammatically.