Update README.md
Browse files
README.md
CHANGED
@@ -14,6 +14,23 @@ This model evaluates the wellformedness (non-fragment, grammatically correct) s
|
|
14 |
['She is presenting a paper tomorrow','she is presenting a paper tomorrow','She present paper today']
|
15 |
|
16 |
[[0.8917],[0.4270],[0.0134]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
```python
|
18 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
19 |
tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
|
|
|
14 |
['She is presenting a paper tomorrow','she is presenting a paper tomorrow','She present paper today']
|
15 |
|
16 |
[[0.8917],[0.4270],[0.0134]]
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
1. Dogs are mammals.
|
21 |
+
2. she loves to read books on history.
|
22 |
+
3. When the rain in Spain.
|
23 |
+
4. Eating apples are healthy for you.
|
24 |
+
5. The Eiffel Tower is in Paris.
|
25 |
+
|
26 |
+
Among these sentences:
|
27 |
+
|
28 |
+
Sentences 1 and 5 are well-formed and have correct grammar and case.
|
29 |
+
Sentence 2 starts with a lowercase letter.
|
30 |
+
Sentence 3 is a fragment and is not well-formed.
|
31 |
+
Sentence 4 has a subject-verb agreement error.
|
32 |
+
|
33 |
+
|
34 |
```python
|
35 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
36 |
tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
|