Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6c3a98c

Browse filesBrowse files
committed
Moved results from sql to json
1 parent a2bcd1d commit 6c3a98c
Copy full SHA for 6c3a98c

File tree

1 file changed

+10
-31
lines changed
Filter options

1 file changed

+10
-31
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+10-31Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ SELECT pgml.transform(
205205
) AS positivity;
206206
```
207207
*Result*
208-
```sql
209-
positivity
210-
------------------------------------------------------
208+
```json
211209
[
212210
{"label": "POSITIVE", "score": 0.9995759129524232},
213211
{"label": "NEGATIVE", "score": 0.9903519749641418}
@@ -232,9 +230,7 @@ SELECT pgml.transform(
232230
) AS positivity;
233231
```
234232
*Result*
235-
```sql
236-
positivity
237-
-----------------------------------------------
233+
```json
238234
[
239235
{"label": "POS", "score": 0.992932200431826},
240236
{"label": "NEG", "score": 0.975599765777588}
@@ -258,10 +254,7 @@ SELECT pgml.transform(
258254
```
259255

260256
*Result*
261-
```sql
262-
263-
market_sentiment
264-
------------------------------------------------------
257+
```json
265258
[
266259
{"label": "positive", "score": 0.8983612656593323},
267260
{"label": "neutral", "score": 0.8062630891799927}
@@ -290,9 +283,7 @@ SELECT pgml.transform(
290283
) AS nli;
291284
```
292285
*Result*
293-
```sql
294-
nli
295-
------------------------------------------------------
286+
```json
296287
[
297288
{"label": "ENTAILMENT", "score": 0.98837411403656}
298289
]
@@ -314,9 +305,7 @@ SELECT pgml.transform(
314305
```
315306

316307
*Result*
317-
```sql
318-
qnli
319-
------------------------------------------------------
308+
```json
320309
[
321310
{"label": "LABEL_0", "score": 0.9978110194206238}
322311
]
@@ -339,9 +328,7 @@ SELECT pgml.transform(
339328
```
340329

341330
*Result*
342-
```sql
343-
qqp
344-
------------------------------------------------------
331+
```json
345332
[
346333
{"label": "LABEL_0", "score": 0.9988721013069152}
347334
]
@@ -363,9 +350,7 @@ SELECT pgml.transform(
363350
) AS grammatical_correctness;
364351
```
365352
*Result*
366-
```sql
367-
grammatical_correctness
368-
------------------------------------------------------
353+
```json
369354
[
370355
{"label": "LABEL_1", "score": 0.9576480388641356}
371356
]
@@ -396,9 +381,7 @@ SELECT pgml.transform(
396381
```
397382
*Result*
398383

399-
```sql
400-
zero_shot
401-
------------------------------------------------------
384+
```json
402385
[
403386
{
404387
"labels": ["urgent", "phone", "computer", "not urgent", "tablet"],
@@ -424,9 +407,7 @@ SELECT pgml.transform(
424407
) as ner;
425408
```
426409
*Result*
427-
```sql
428-
ner
429-
------------------------------------------------------
410+
```json
430411
[[
431412
{"end": 9, "word": "Omar", "index": 3, "score": 0.997110, "start": 5, "entity": "I-PER"},
432413
{"end": 27, "word": "New", "index": 8, "score": 0.999372, "start": 24, "entity": "I-LOC"},
@@ -450,9 +431,7 @@ select pgml.transform(
450431
) as pos;
451432
```
452433
*Result*
453-
```sql
454-
pos
455-
------------------------------------------------------
434+
```json
456435
[[
457436
{"end": 1, "word": "i", "index": 1, "score": 0.999, "start": 0, "entity": "PRON"},
458437
{"end": 6, "word": "live", "index": 2, "score": 0.998, "start": 2, "entity": "VERB"},

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.