Skip to content

Commit 6f7d14d

Browse files
chore: annotated output samples
1 parent e0ef30f commit 6f7d14d

18 files changed

Lines changed: 4631 additions & 719 deletions

File tree

models/best_models/eng/best.pt

8.57 MB
Binary file not shown.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"epoch": 1,
3-
"train_loss": 6.571187973022461,
4-
"validation_loss": 6.362093925476074,
2+
"epoch": 9,
3+
"train_loss": 1.9133409197266038,
4+
"validation_loss": 2.0183915266623864,
55
"train_exact_match": null,
66
"validation_exact_match": null
77
}

models/datasets/eng/stats.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
22
"language": "eng",
3-
"corpusPath": "C:\\Users\\jorts\\order\\models\\tokenizers\\eng\\corpus.txt",
3+
"corpusPath": "C:\\Users\\jorts\\order\\models\\tokenizers\\eng\\corpus.jsonl",
44
"modelPath": "C:\\Users\\jorts\\order\\models\\tokenizers\\eng\\tokenizer.model",
5-
"sampleCount": 4,
6-
"trainCount": 3,
7-
"validationCount": 1,
5+
"sampleCount": 57,
6+
"trainCount": 43,
7+
"validationCount": 14,
88
"inputLengths": {
9-
"count": 4,
10-
"min": 203,
11-
"max": 329,
12-
"avg": 253.25,
13-
"p50": 219,
14-
"p95": 329
9+
"count": 57,
10+
"min": 34,
11+
"max": 422,
12+
"avg": 198.47368421052633,
13+
"p50": 191,
14+
"p95": 334
1515
},
1616
"labelLengths": {
17-
"count": 4,
18-
"min": 714,
19-
"max": 1328,
20-
"avg": 968.75,
21-
"p50": 848,
22-
"p95": 1328
17+
"count": 57,
18+
"min": 127,
19+
"max": 1899,
20+
"avg": 655.6842105263158,
21+
"p50": 627,
22+
"p95": 1162
2323
}
2424
}

models/datasets/eng/train.jsonl

Lines changed: 43 additions & 3 deletions
Large diffs are not rendered by default.

models/datasets/eng/validation.jsonl

Lines changed: 14 additions & 1 deletion
Large diffs are not rendered by default.
Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,39 @@
11
{
22
"@context": "https://schema.org",
3-
"@type": "Order",
4-
"orderDate": "2019-02-22",
5-
"paymentStatus": "https://schema.org/PaymentComplete",
6-
"additionalProperty": [
3+
"@graph": [
74
{
8-
"@type": "PropertyValue",
9-
"name": "Receipt Type",
10-
"value": "CREDIT CARD RECEIPT"
11-
},
12-
{
13-
"@type": "PropertyValue",
14-
"name": "Amount",
15-
"value": "123.45"
16-
},
17-
{
18-
"@type": "PropertyValue",
19-
"name": "Account Number Masked",
20-
"value": "XXXXXXXXXXXX7890"
21-
},
22-
{
23-
"@type": "PropertyValue",
24-
"name": "Approval Code",
25-
"value": "0123456"
26-
},
27-
{
28-
"@type": "PropertyValue",
29-
"name": "Copy Type",
30-
"value": "CUSTOMER COPY"
5+
"@id": "#order",
6+
"@type": "Order",
7+
"orderDate": "2019-02-22",
8+
"paymentMethod": "https://schema.org/CreditCard",
9+
"paymentStatus": "https://schema.org/PaymentComplete",
10+
"additionalProperty": [
11+
{
12+
"@type": "PropertyValue",
13+
"name": "Receipt Type",
14+
"value": "CREDIT CARD RECEIPT"
15+
},
16+
{
17+
"@type": "PropertyValue",
18+
"name": "Amount",
19+
"value": "123.45"
20+
},
21+
{
22+
"@type": "PropertyValue",
23+
"name": "Account Number",
24+
"value": "XXXXXXXXXXXX7890"
25+
},
26+
{
27+
"@type": "PropertyValue",
28+
"name": "Approval Code",
29+
"value": "0123456"
30+
},
31+
{
32+
"@type": "PropertyValue",
33+
"name": "Copy Type",
34+
"value": "CUSTOMER COPY"
35+
}
36+
]
3137
}
3238
]
3339
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#order",
6+
"@type": "Order",
7+
"orderNumber": "0001-01",
8+
"acceptedOffer": [
9+
{
10+
"@id": "#offer-1"
11+
},
12+
{
13+
"@id": "#offer-2"
14+
}
15+
],
16+
"additionalProperty": [
17+
{
18+
"@type": "PropertyValue",
19+
"name": "Ticket Type",
20+
"value": "Kitchen New Order"
21+
},
22+
{
23+
"@type": "PropertyValue",
24+
"name": "Table",
25+
"value": "2"
26+
},
27+
{
28+
"@type": "PropertyValue",
29+
"name": "Party Size",
30+
"value": 2
31+
},
32+
{
33+
"@type": "PropertyValue",
34+
"name": "Printed Time",
35+
"value": "22:22"
36+
}
37+
]
38+
},
39+
{
40+
"@id": "#offer-1",
41+
"@type": "Offer",
42+
"eligibleQuantity": {
43+
"@type": "QuantitativeValue",
44+
"value": 1,
45+
"unitText": "item"
46+
},
47+
"itemOffered": {
48+
"@id": "#item-1"
49+
}
50+
},
51+
{
52+
"@id": "#item-1",
53+
"@type": "MenuItem",
54+
"name": "Glass Beer"
55+
},
56+
{
57+
"@id": "#offer-2",
58+
"@type": "Offer",
59+
"eligibleQuantity": {
60+
"@type": "QuantitativeValue",
61+
"value": 1,
62+
"unitText": "item"
63+
},
64+
"itemOffered": {
65+
"@id": "#item-2"
66+
}
67+
},
68+
{
69+
"@id": "#item-2",
70+
"@type": "MenuItem",
71+
"name": "Beer"
72+
}
73+
]
74+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"@context": "https://schema.org",
3+
"@graph": [
4+
{
5+
"@id": "#order",
6+
"@type": "Order",
7+
"acceptedOffer": [
8+
{
9+
"@id": "#offer-1"
10+
}
11+
]
12+
},
13+
{
14+
"@id": "#offer-1",
15+
"@type": "Offer",
16+
"price": "3.90",
17+
"eligibleQuantity": {
18+
"@type": "QuantitativeValue",
19+
"value": 1,
20+
"unitText": "item"
21+
},
22+
"itemOffered": {
23+
"@id": "#item-1"
24+
}
25+
},
26+
{
27+
"@id": "#item-1",
28+
"@type": "MenuItem",
29+
"name": "Hamburger w/ tomato, onion, meat sauce, mayonnaise, mustard"
30+
}
31+
]
32+
}

0 commit comments

Comments
 (0)