EIStakovskii
commited on
Commit
•
347e856
1
Parent(s):
3e62031
Update README.md
Browse files
README.md
CHANGED
@@ -20,6 +20,17 @@ license: other
|
|
20 |
---
|
21 |
This model was trained for evaluating linguistic acceptability and grammaticality. The finetuning was carried out based off [the camembert-base model](https://huggingface.co/camembert/camembert-base).
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
Label_1 means ACCEPTABLE - the sentence is perfectly understandable by native speakers and has no serious grammatic and syntactic flaws.
|
24 |
|
25 |
Label_0 means NOT ACCEPTABLE - the sentence is flawed both orthographically and grammatically.
|
|
|
20 |
---
|
21 |
This model was trained for evaluating linguistic acceptability and grammaticality. The finetuning was carried out based off [the camembert-base model](https://huggingface.co/camembert/camembert-base).
|
22 |
|
23 |
+
To use the model:
|
24 |
+
|
25 |
+
```python
|
26 |
+
from transformers import pipeline
|
27 |
+
|
28 |
+
classifier = pipeline("text-classification", model = 'EIStakovskii/camembert_base_fluency')
|
29 |
+
|
30 |
+
print(classifier("Il estaaaaaaaaaaad impr2éviswwible, oui,i,v.1 danfaagereux."))
|
31 |
+
|
32 |
+
```
|
33 |
+
|
34 |
Label_1 means ACCEPTABLE - the sentence is perfectly understandable by native speakers and has no serious grammatic and syntactic flaws.
|
35 |
|
36 |
Label_0 means NOT ACCEPTABLE - the sentence is flawed both orthographically and grammatically.
|