Skip to content

Commit

Permalink
Update results
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Jan 5, 2024
1 parent 69462a1 commit 5ff3e34
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 83 deletions.
152 changes: 69 additions & 83 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 January 04, 2024.</p>
<p>Tests are run every day at 1am PT. Last updated January 05, 2024.</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.28 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.23 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.28 s</p>
<p>5.23 s</p>
</div>
</div>
</div>
Expand Down Expand Up @@ -127,7 +127,61 @@ <h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
</div>
</div>
</div>


<div class="feature_card">
<div class="feature_header">
<div class="feature_header_text">
<h2>Handwriting OCR</h2>
<p>Can GPT-4V read handwriting?</p>
</div>
<div class="chart">
<div class="chart_box chart_box_red">
<p>Fail</p>
</div>
</div>
</div>
<div class="result_summary">
<div class="summary_row">
<b class="summary_title">Last 7-Day Performance</b>
<div class="summary_squares">

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_red"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

</div>
</div>
<p class="result_text">Of the last 7 tests, conducted daily, this test has passed <b>86.0%</b> of the time.</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.009</p>
</div>
<div class="explainer_dropdown">
<button type="button" class="dropdown dropdown_learn active">Learn about this test</button>
<div class="explainer">
<h3><span class="explainer_icon far fa-microscope"></span>Method</h3>
<pre class="test_method">We send a image of a handwritten note to determine if it can correctly read the text. If it correctly gets the text, it gets a 100%. Otherwise, it gets a 0%.</pre>
<h3><span class="explainer_icon far fa-comment-dots"></span>Prompt</h3>
<pre class="prompt">
Read the text in the image. Return only the text, with punctuation.
</pre>
<h3><span class="explainer_icon far fa-image"></span>Image</h3>
<img class="test_image" src="images/ocr.jpeg" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>The words of songs on the album have been echoing in my head all week. "Fades into the grey of my day ok tea."</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>
</div>

<div class="feature_card">
<div class="feature_header">
<div class="feature_header_text">
Expand Down Expand Up @@ -176,7 +230,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.28, 'y': 0.4, 'width': 0.18, 'height': 0.3}</pre>
<pre>{'x': 0.325, 'y': 0.3, 'width': 0.25, 'height': 0.45}</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 @@ -216,7 +270,7 @@ <h2>Graph Understanding</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.011</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.01</p>
</div>
<div class="explainer_dropdown">
<button type="button" class="dropdown dropdown_learn active">Learn about this test</button>
Expand All @@ -232,22 +286,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": 10,
"price": 15
},
"B": {
"quantity": 20,
"price": 23
},
"C": {
"quantity": 30,
"price": 33
},
"D": {
"quantity": 40,
"price": 45
}
"A": {"quantity": 20, "price": 10},
"B": {"quantity": 25, "price": 20},
"C": {"quantity": 30, "price": 30},
"D": {"quantity": 40, "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 @@ -303,13 +345,11 @@ <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/color.png" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>```json
{
<pre>Failed to produce a valid JSON output: {
"R": 128,
"G": 0,
"B": 128
}
```</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,8 +463,8 @@ <h3><span class="explainer_icon far fa-image"></span>Image</h3>
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>```json
{
"length": 2.5,
"width": 2.5
"length": 2.0,
"width": 2.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 @@ -548,61 +588,7 @@ <h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
</div>
</div>
</div>

<div class="feature_card">
<div class="feature_header">
<div class="feature_header_text">
<h2>Handwriting OCR</h2>
<p>Can GPT-4V read handwriting?</p>
</div>
<div class="chart">
<div class="chart_box chart_box_green">
<p>Pass</p>
</div>
</div>
</div>
<div class="result_summary">
<div class="summary_row">
<b class="summary_title">Last 7-Day Performance</b>
<div class="summary_squares">

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_red"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

<div class="summary_square summary_square_green"></div>

</div>
</div>
<p class="result_text">Of the last 7 tests, conducted daily, this test has passed <b>86.0%</b> of the time.</p>
<p class="request_price"><i class="far fa-coins"></i>Today's request cost $0.009</p>
</div>
<div class="explainer_dropdown">
<button type="button" class="dropdown dropdown_learn active">Learn about this test</button>
<div class="explainer">
<h3><span class="explainer_icon far fa-microscope"></span>Method</h3>
<pre class="test_method">We send a image of a handwritten note to determine if it can correctly read the text. If it correctly gets the text, it gets a 100%. Otherwise, it gets a 0%.</pre>
<h3><span class="explainer_icon far fa-comment-dots"></span>Prompt</h3>
<pre class="prompt">
Read the text in the image. Return only the text, with punctuation.
</pre>
<h3><span class="explainer_icon far fa-image"></span>Image</h3>
<img class="test_image" src="images/ocr.jpeg" alt="Image of the input into GPT-4" />
<h3><span class="explainer_icon far fa-sparkles"></span>Result</h3>
<pre>The words of songs on the album have been echoing in my head all week. "Fades into the grey of my day old tea."</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>
</div>


<div class="feature_card">
<div class="feature_header">
<div class="feature_header_text">
Expand Down
90 changes: 90 additions & 0 deletions results/2024-01-05.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.6826815605163574,
"result": "Toyota Camry"
},
"count_fruit": {
"score": 0,
"success": false,
"price": 0.007870000000000002,
"pass_fail": "Fail",
"response_time": 3.4792397022247314,
"result": "9"
},
"document_ocr": {
"score": 1,
"success": true,
"price": 0.00857,
"pass_fail": "Pass",
"response_time": 7.265234708786011,
"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": 0,
"success": false,
"price": 0.008730000000000002,
"pass_fail": "Fail",
"response_time": 5.451120138168335,
"result": "The words of songs on the album have been echoing in my head all week. \"Fades into the grey of my day ok tea.\""
},
"extraction_ocr": {
"score": 1.0,
"success": true,
"price": 0.00725,
"pass_fail": "Pass",
"response_time": 2.627626419067383,
"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": 4.44052267074585,
"result": "3x^2-6x+2"
},
"object_detection": {
"score": 0.24710519832471053,
"success": false,
"price": 0.009490000000000002,
"pass_fail": "Fail",
"response_time": 2.536571979522705,
"result": "{'x': 0.325, 'y': 0.3, 'width': 0.25, 'height': 0.45}"
},
"graph_understanding": {
"score": 0.965,
"success": false,
"price": 0.01019,
"pass_fail": "Fail",
"response_time": 2.8061134815216064,
"result": "```json\n{\n \"A\": {\"quantity\": 20, \"price\": 10},\n \"B\": {\"quantity\": 25, \"price\": 20},\n \"C\": {\"quantity\": 30, \"price\": 30},\n \"D\": {\"quantity\": 40, \"price\": 40}\n}\n```"
},
"color_recognition": {
"score": 0,
"success": false,
"price": 0.00875,
"pass_fail": "Fail",
"response_time": 5.634605884552002,
"result": "Failed to produce a valid JSON output: {\n \"R\": 128,\n \"G\": 0,\n \"B\": 128\n}"
},
"annotation_qa": {
"score": 0.33333333333333337,
"success": false,
"price": 0.015300000000000001,
"pass_fail": "Fail",
"response_time": 2.697636365890503,
"result": "```json\n{\n \"missing\": 1\n}\n```"
},
"measurement": {
"score": 0.5714285714285714,
"success": false,
"price": 0.00877,
"pass_fail": "Fail",
"response_time": 5.902654409408569,
"result": "```json\n{\n \"length\": 2.0,\n \"width\": 2.0\n}\n```"
}
}

0 comments on commit 5ff3e34

Please sign in to comment.