You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -321,9 +321,11 @@ SELECT pgml.transform(
321
321
]
322
322
```
323
323
324
-
### Quora Question Pairs
324
+
### Quora Question Pairs (QQP)
325
325
The Quora Question Pairs model is designed to evaluate whether two given questions are paraphrases of each other. This model takes the two questions and assigns a binary value as output. LABEL_0 indicates that the questions are paraphrases of each other and LABEL_1 indicates that the questions are not paraphrases. The benchmark dataset used for this task is the Quora Question Pairs dataset within the GLUE benchmark, which contains a collection of question pairs and their corresponding labels.
326
326
327
+
If you want to use an QQP model, you can find them on the :hugs: Hugging Face model hub. Look for models with "qqp".
328
+
327
329
```sql
328
330
SELECTpgml.transform(
329
331
inputs => ARRAY[
@@ -343,6 +345,30 @@ SELECT pgml.transform(
343
345
{"label": "LABEL_0", "score": 0.9988721013069152}
344
346
]
345
347
```
348
+
349
+
### Grammatical Correctness
350
+
Linguistic Acceptability is a task that involves evaluating the grammatical correctness of a sentence. The model used for this task assigns one of two classes to the sentence, either "acceptable" or "unacceptable". LABEL_0 indicates acceptable and LABEL_1 indicates unacceptable. The benchmark dataset used for training and evaluating models for this task is the Corpus of Linguistic Acceptability (CoLA), which consists of a collection of texts along with their corresponding labels.
351
+
352
+
If you want to use a grammatical correctness model, you can find them on the :hugs: Hugging Face model hub. Look for models with "cola".
353
+
354
+
```sql
355
+
SELECTpgml.transform(
356
+
inputs => ARRAY[
357
+
'I will walk to home when I went through the bus.'
0 commit comments