Update README.md
Browse files
README.md
CHANGED
|
@@ -5,26 +5,17 @@ license: apache-2.0
|
|
| 5 |
inference: true
|
| 6 |
datasets: google_wellformed_query
|
| 7 |
widget:
|
| 8 |
-
text: "
|
| 9 |
---
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
- Broad Applicability: Can be used on a wide range of sentences.
|
| 18 |
-
evaluation_results:
|
| 19 |
-
input:
|
| 20 |
-
- She is presenting a paper tomorrow
|
| 21 |
-
- she is presenting a paper tomorrow
|
| 22 |
-
- She present paper today
|
| 23 |
-
scores:
|
| 24 |
-
- 0.8917
|
| 25 |
-
- 0.4270
|
| 26 |
-
- 0.0134
|
| 27 |
|
|
|
|
| 28 |
1. Dogs are mammals.
|
| 29 |
2. she loves to read books on history.
|
| 30 |
3. When the rain in Spain.
|
|
@@ -39,8 +30,8 @@ Sentence 3 is a fragment and is not well-formed.
|
|
| 39 |
Sentence 4 has a subject-verb agreement error.
|
| 40 |
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
```python
|
| 45 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 46 |
tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
|
|
@@ -57,14 +48,15 @@ Sentence 4 has a subject-verb agreement error.
|
|
| 57 |
print(scores)
|
| 58 |
```
|
| 59 |
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
|
|
|
|
| 5 |
inference: true
|
| 6 |
datasets: google_wellformed_query
|
| 7 |
widget:
|
| 8 |
+
text: "She present paper today"
|
| 9 |
---
|
| 10 |
|
| 11 |
+
**model name**: Salesken's Query Wellformedness Score Model
|
| 12 |
+
**Description** : Evaluate the well-formedness of sentences by checking grammatical correctness and completeness. Sensitive to case and penalizes sentences for incorrect grammar and case.
|
| 13 |
+
**Features**:
|
| 14 |
+
- *Wellformedness Score*: Provides a score indicating grammatical correctness and completeness.
|
| 15 |
+
- *Case Sensitivity*: Recognizes and penalizes incorrect casing in sentences.
|
| 16 |
+
- *Broad Applicability*: Can be used on a wide range of sentences.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
**Example**:
|
| 19 |
1. Dogs are mammals.
|
| 20 |
2. she loves to read books on history.
|
| 21 |
3. When the rain in Spain.
|
|
|
|
| 30 |
Sentence 4 has a subject-verb agreement error.
|
| 31 |
|
| 32 |
|
| 33 |
+
**example_usage:**
|
| 34 |
+
*library: HuggingFace transformers*
|
| 35 |
```python
|
| 36 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 37 |
tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
|
|
|
|
| 48 |
print(scores)
|
| 49 |
```
|
| 50 |
|
| 51 |
+
**Intended Use Cases**
|
| 52 |
+
|
| 53 |
+
*Content Creation*: Validate the well-formedness of written content.
|
| 54 |
+
|
| 55 |
+
*Educational Platforms*: Helps students check the grammaticality of their sentences.
|
| 56 |
+
|
| 57 |
+
*Chatbots & Virtual Assistants*: To validate user queries or generate well-formed responses.
|
| 58 |
+
|
| 59 |
+
contact: ashish@salesken.ai
|
| 60 |
|
| 61 |
|
| 62 |
|