Skip to content

Commit

Permalink
Update results
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Dec 31, 2023
1 parent 69f9c3b commit 2375238
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 18 deletions.
31 changes: 13 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>How's GPT-4 with Vision 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 December 30, 2023.</p>
<p>Tests are run every day at 1am PT. Last updated December 31, 2023.</p>
<p>Made with ❤️ by the team at <a href="https://roboflow.com">Roboflow</a>.</p>
</div>
<div class="header_cta">
Expand All @@ -58,12 +58,12 @@ <h1>How's GPT-4 with Vision Doing?</h1>
<div class="feature_header" style="min-height: auto">
<div class="feature_header_text" style="gap: var(--spacing-sizing-4)">
<h2>Response Time</h2>
<p style="font-size: 16px; color: var(--gray-700)">Today, the average response time to receive results from our tests was <b>5.36 seconds</b> per request.</p>
<p style="font-size: 16px; color: var(--gray-700)">Today, the average response time to receive results from our tests was <b>5.29 seconds</b> per request.</p>
<p class="subtitle">This number only accounts for requests made by this application.</p>
</div>
<div class="chart">
<div class="chart_box chart_box_green">
<p>5.36 s</p>
<p>5.29 s</p>
</div>
</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.25, 'y': 0.3, 'width': 0.15, 'height': 0.3}</pre>
<pre>{'x': 0.28, 'y': 0.35, 'width': 0.18, 'height': 0.4}</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 @@ -232,10 +232,10 @@ <h3><span class="explainer_icon far fa-image"></span>Image</h3>
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>```json
{
"A": {"quantity": 15, "price": 15},
"B": {"quantity": 20, "price": 22},
"C": {"quantity": 28, "price": 32},
"D": {"quantity": 30, "price": 40}
"A": {"quantity": 20, "price": 10},
"B": {"quantity": 30, "price": 20},
"C": {"quantity": 40, "price": 30},
"D": {"quantity": 50, "price": 40}
}
```</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 @@ -293,9 +293,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": 128,
"R": 153,
"G": 0,
"B": 128
"B": 255
}
```</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 @@ -395,7 +395,7 @@ <h2>Measurement Test</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.009</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.008</p>
</div>
<div class="explainer_dropdown">
<button type="button" class="dropdown dropdown_learn active">Learn about this test</button>
Expand All @@ -409,12 +409,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/measurement.jpg" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>```json
{
"length": 3.0,
"width": 3.0
}
```</pre>
<pre>Failed to produce a valid JSON output: I'm sorry, but I can't provide measurements from the image.</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 @@ -679,7 +674,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.017</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.015</p>
</div>
<div class="explainer_dropdown">
<button type="button" class="dropdown dropdown_learn active">Learn about this test</button>
Expand Down
90 changes: 90 additions & 0 deletions results/2023-12-31.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"zero_shot_classification": {
"score": 1,
"success": true,
"price": 0.00481,
"pass_fail": "Pass",
"response_time": 1.712355613708496,
"result": "Toyota Camry"
},
"count_fruit": {
"score": 0,
"success": false,
"price": 0.007870000000000002,
"pass_fail": "Fail",
"response_time": 1.771822452545166,
"result": "9"
},
"document_ocr": {
"score": 1,
"success": true,
"price": 0.00857,
"pass_fail": "Pass",
"response_time": 3.6913270950317383,
"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.008730000000000002,
"pass_fail": "Pass",
"response_time": 16.429614543914795,
"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.8591666221618652,
"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.01528,
"pass_fail": "Pass",
"response_time": 2.62790846824646,
"result": "3x^2-6x+2"
},
"object_detection": {
"score": 0.15669205658324262,
"success": false,
"price": 0.009490000000000002,
"pass_fail": "Fail",
"response_time": 2.6315903663635254,
"result": "{'x': 0.28, 'y': 0.35, 'width': 0.18, 'height': 0.4}"
},
"graph_understanding": {
"score": 0.8499999999999999,
"success": false,
"price": 0.01019,
"pass_fail": "Fail",
"response_time": 3.5548713207244873,
"result": "```json\n{\n \"A\": {\"quantity\": 20, \"price\": 10},\n \"B\": {\"quantity\": 30, \"price\": 20},\n \"C\": {\"quantity\": 40, \"price\": 30},\n \"D\": {\"quantity\": 50, \"price\": 40}\n}\n```"
},
"color_recognition": {
"score": 0.7633986928104575,
"success": false,
"price": 0.008870000000000001,
"pass_fail": "Fail",
"response_time": 2.249140977859497,
"result": "```json\n{\n \"R\": 153,\n \"G\": 0,\n \"B\": 255\n}\n```"
},
"annotation_qa": {
"score": 0.33333333333333337,
"success": false,
"price": 0.015300000000000001,
"pass_fail": "Fail",
"response_time": 2.6878464221954346,
"result": "```json\n{\n \"missing\": 1\n}\n```"
},
"measurement": {
"score": 0,
"success": false,
"price": 0.00847,
"pass_fail": "Fail",
"response_time": 4.429971694946289,
"result": "Failed to produce a valid JSON output: I'm sorry, but I can't provide measurements from the image."
}
}

0 comments on commit 2375238

Please sign in to comment.