Skip to content

Commit

Permalink
Update results
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Aug 19, 2024
1 parent 8a8cbc0 commit dec4d49
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 19 deletions.
54 changes: 35 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>How's GPT-4o Doing?</h1>
<p>You can contribute your own tests, too! See the <a href="https://github.com/roboflow/gpt-checkup?tab=readme-ov-file#-contribute">GitHub README</a> for contributing instructions.</p>
</div>
<div class="header_subtitle">
<p>Tests are run every day at 1am PT. Last updated August 18, 2024.</p>
<p>Tests are run every day at 1am PT. Last updated August 19, 2024.</p>
<p>Made with ❤️ by the team at <a href="https://roboflow.com">Roboflow</a>.</p>
</div>
<div class="header_cta">
Expand Down Expand Up @@ -122,7 +122,7 @@ <h3><span class="explainer_icon far fa-comment-dots"></span>Prompt</h3>
<h3><span class="explainer_icon far fa-image"></span>Image</h3>
<img class="test_image" src="images/fruit.jpeg" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>There are 9 pieces of fruit in the image.</pre>
<pre>8</pre>
<p class="subtitle" style="margin-top: 16px; text-align: center">Test submitted by <a href="https://roboflow.com" target="_blank">Roboflow</a></p>
</div>
</div>
Expand Down Expand Up @@ -176,7 +176,7 @@ <h3><span class="explainer_icon far fa-comment-dots"></span>Prompt</h3>
<h3><span class="explainer_icon far fa-image"></span>Image</h3>
<img class="test_image" src="images/fruit.jpeg" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>{'x': 0.5, 'y': 0.4, 'width': 0.36, 'height': 0.28}</pre>
<pre>{'x': 0.45, 'y': 0.4, 'width': 0.25, 'height': 0.21}</pre>
<p class="subtitle" style="margin-top: 16px; text-align: center">Test submitted by <a href="https://roboflow.com" target="_blank">Roboflow</a></p>
</div>
</div>
Expand Down Expand Up @@ -233,7 +233,7 @@ <h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>```json
{
"A": {
"quantity": 15,
"quantity": 20,
"price": 10
},
"B": {
Expand All @@ -242,7 +242,7 @@ <h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
},
"C": {
"quantity": 30,
"price": 32
"price": 30
},
"D": {
"quantity": 35,
Expand Down Expand Up @@ -305,9 +305,9 @@ <h3><span class="explainer_icon far fa-image"></span>Image</h3>
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>```json
{
"R": 79,
"G": 0,
"B": 127
"R": 85,
"G": 16,
"B": 123
}
```</pre>
<p class="subtitle" style="margin-top: 16px; text-align: center">Test submitted by <a href="https://roboflow.com" target="_blank">Roboflow</a></p>
Expand Down Expand Up @@ -349,7 +349,7 @@ <h2>Annotation Quality Assurance</h2>
</div>
</div>
<p class="result_text">Of the last 7 tests, conducted daily, this test has passed <b>0%</b> of the time.</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.016</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.02</p>
</div>
<div class="explainer_dropdown">
<button type="button" class="dropdown dropdown_learn active">Learn about this test</button>
Expand All @@ -363,13 +363,29 @@ <h3><span class="explainer_icon far fa-comment-dots"></span>Prompt</h3>
<h3><span class="explainer_icon far fa-image"></span>Image</h3>
<img class="test_image" src="images/annotationqa.jpeg" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>```json
<pre>To determine if there are any missing annotations, let's count the visible cars in the image and compare that to the number of red bounding boxes.

Visible cars:
1. The white car on the right side of the image
2. The black car on the left side of the image (partially visible)
3. The black car in the middle-left lane
4. The car in the middle lane
5. Four cars further down the middle-right lane (each with a bounding box)

There are a total of eight cars in the image.

Bounding boxes:
There are six bounding boxes labeling cars.

There are 2 cars in the images that are not labeled with red bounding boxes.

Thus, the JSON output for the missing annotations would be:

```json
{
"missing": 1
"missing": 2
}
```

There is one car on the left side of the image near the trees that is not annotated.</pre>
```</pre>
<p class="subtitle" style="margin-top: 16px; text-align: center">Test submitted by <a href="https://roboflow.com" target="_blank">Roboflow</a></p>
</div>
</div>
Expand Down Expand Up @@ -423,14 +439,14 @@ <h3><span class="explainer_icon far fa-comment-dots"></span>Prompt</h3>
<h3><span class="explainer_icon far fa-image"></span>Image</h3>
<img class="test_image" src="images/measurement.jpg" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>Based on the ruler in the image, the square sticker appears to be slightly larger than 3 inches in both length and width.
<pre>Based on the ruler in the image, the square sticker appears to be approximately 3 inches on each side.

Here is the JSON representation:

```json
{
"length": 3.1,
"width": 3.1
"length": 3.0,
"width": 3.0
}
```</pre>
<p class="subtitle" style="margin-top: 16px; text-align: center">Test submitted by <a href="https://roboflow.com" target="_blank">Roboflow</a></p>
Expand Down Expand Up @@ -657,7 +673,7 @@ <h3><span class="explainer_icon far fa-comment-dots"></span>Prompt</h3>
<h3><span class="explainer_icon far fa-image"></span>Image</h3>
<img class="test_image" src="images/prescription.png" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>[{'name': 'MARY THOMAS', 'time_per_day': 1, 'medication': 'ATENOLOL', 'dosage': 100, 'rx_number': '1234567-12345'}]</pre>
<pre>[{'name': 'Mary Thomas', 'time_per_day': 1, 'medication': 'Atenolol', 'dosage': 100, 'rx_number': '1234567-12345'}]</pre>
<p class="subtitle" style="margin-top: 16px; text-align: center">Test submitted by <a href="https://roboflow.com" target="_blank">Roboflow</a></p>
</div>
</div>
Expand Down Expand Up @@ -697,7 +713,7 @@ <h2>Math OCR</h2>
</div>
</div>
<p class="result_text">Of the last 7 tests, conducted daily, this test has passed <b>100%</b> of the time.</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.015</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.016</p>
</div>
<div class="explainer_dropdown">
<button type="button" class="dropdown dropdown_learn active">Learn about this test</button>
Expand Down
106 changes: 106 additions & 0 deletions results/2024-08-19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"zero_shot_classification": {
"score": 1,
"success": true,
"price": 0.00481,
"pass_fail": "Pass",
"response_time": 1.926976203918457,
"result": "Toyota Camry"
},
"count_fruit": {
"score": 0,
"success": false,
"price": 0.007870000000000002,
"pass_fail": "Fail",
"response_time": 2.994868755340576,
"result": "8"
},
"document_ocr": {
"score": 1,
"success": true,
"price": 0.008539999999999999,
"pass_fail": "Pass",
"response_time": 3.869188070297241,
"result": "I was thinking earlier today that I have gone through, to use the lingo, eras of listening to each of Swift's Eras. Meta indeed. I started listening to Ms. Swift's music after hearing the Midnights album. A few weeks after hearing the album for the first time, I found myself playing various songs on repeat. I listened to the album in order multiple times."
},
"handwriting_ocr": {
"score": 1,
"success": true,
"price": 0.00876,
"pass_fail": "Pass",
"response_time": 5.648132801055908,
"result": "The words of songs on the album have been echoing in my head all week. \"Fades into the grey of my day old tea.\""
},
"extraction_ocr": {
"score": 1.0,
"success": true,
"price": 0.00719,
"pass_fail": "Pass",
"response_time": 2.9320790767669678,
"result": "[{'name': 'Mary Thomas', 'time_per_day': 1, 'medication': 'Atenolol', 'dosage': 100, 'rx_number': '1234567-12345'}]"
},
"math_ocr": {
"score": 1.0,
"success": true,
"price": 0.01583,
"pass_fail": "Pass",
"response_time": 2.9494214057922363,
"result": "3x^2-6x+2"
},
"object_detection": {
"score": 0.37339971550497847,
"success": false,
"price": 0.009490000000000002,
"pass_fail": "Fail",
"response_time": 3.2553117275238037,
"result": "{'x': 0.45, 'y': 0.4, 'width': 0.25, 'height': 0.21}"
},
"graph_understanding": {
"score": 0.99,
"success": false,
"price": 0.01079,
"pass_fail": "Fail",
"response_time": 2.26094651222229,
"result": "```json\n{\n \"A\": {\n \"quantity\": 20,\n \"price\": 10\n },\n \"B\": {\n \"quantity\": 25,\n \"price\": 20\n },\n \"C\": {\n \"quantity\": 30,\n \"price\": 30\n },\n \"D\": {\n \"quantity\": 35,\n \"price\": 40\n }\n}\n```"
},
"color_recognition": {
"score": 0.9333333333333333,
"success": false,
"price": 0.008870000000000001,
"pass_fail": "Fail",
"response_time": 2.5757155418395996,
"result": "```json\n{\n \"R\": 85,\n \"G\": 16,\n \"B\": 123\n}\n```"
},
"annotation_qa": {
"score": 0.6666666666666667,
"success": false,
"price": 0.0198,
"pass_fail": "Fail",
"response_time": 5.584900617599487,
"result": "To determine if there are any missing annotations, let's count the visible cars in the image and compare that to the number of red bounding boxes.\n\nVisible cars:\n1. The white car on the right side of the image\n2. The black car on the left side of the image (partially visible)\n3. The black car in the middle-left lane\n4. The car in the middle lane\n5. Four cars further down the middle-right lane (each with a bounding box)\n\nThere are a total of eight cars in the image.\n\nBounding boxes:\nThere are six bounding boxes labeling cars.\n\nThere are 2 cars in the images that are not labeled with red bounding boxes. \n\nThus, the JSON output for the missing annotations would be:\n\n```json\n{\n \"missing\": 2\n}\n```"
},
"measurement": {
"score": 0.8571428571428572,
"success": false,
"price": 0.00961,
"pass_fail": "Fail",
"response_time": 6.955970764160156,
"result": "Based on the ruler in the image, the square sticker appears to be approximately 3 inches on each side.\n\nHere is the JSON representation:\n\n```json\n{\n \"length\": 3.0,\n \"width\": 3.0\n}\n```"
},
"easy_captcha": {
"score": 1,
"success": true,
"price": 0.004790000000000001,
"pass_fail": "Pass",
"response_time": 1.2745554447174072,
"result": "charybdis indubitable"
},
"easy_captcha_persuade": {
"score": 1,
"success": true,
"price": 0.00529,
"pass_fail": "Pass",
"response_time": 1.154090166091919,
"result": "charybdis indubitable"
}
}

0 comments on commit dec4d49

Please sign in to comment.