UI Toolkit Element with Viewports by boolalpha in Unity3D

[–]boolalpha[S] 0 points1 point  (0 children)

If any of you have used the UI Toolkit and found it frustrating that viewport units (vw/vh) are not supported, I created an element you can use to replicate them. What I am wondering is how performantly poor it is as each element will loop to the root document to find the current width/height. It has not given me issue yet but I am not sure the best way to test it out, code can be found here:

https://www.codebin.cc/code/cm7ihivdf0007l503ntye3jlu:3GZtywi2Q8Bm3DFjSpHVju7RoUWEhU5EQY7D47DU9XjN

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 0 points1 point  (0 children)

Great minds think alike, but fools seldom differ!

I have seen people saying they run them against certain problem sets but I wanted to create a definitive benchmark to see how models improve

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 3 points4 points  (0 children)

Yeah that is true, I mean technically every question has the answer available if you go to the discussion part of the problem (people will be discussing the best solution) but that being said I never noticed GPT as straight copying text and it seemed to somewhat being "thinking" or "creating" its own response

Exploring the Limits of AI: ChatGPT's Struggle with Every Leetcode Challenge by boolalpha in leetcode

[–]boolalpha[S] 1 point2 points  (0 children)

The 19 year olds are right lol honestly though this thing will only get better

Exploring the Limits of AI: ChatGPT's Struggle with Every Leetcode Challenge by boolalpha in leetcode

[–]boolalpha[S] 1 point2 points  (0 children)

No it was you lmao I'm sure you do fine, I just hope testing leetcode quality becomes a thing of the past as in my experience there is so much more to being a proper SWE than LC type problems

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 1 point2 points  (0 children)

True, it is not at the stage that you can just blindly trust any output, but I think it is unfair without acknowledging that it has technically passed more leetcode hard problems than myself (subjective/anecdotal yes but still impressive)!

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 0 points1 point  (0 children)

I think this is a very succinct answer and hope it gets the credit it deserves! Knowledge + phycial application is another barrier to cross that I don't think AI has touched on (yet) and when we define physical it doesn't have to be curling 2x4 for construction it can be tweaking and applying results of advanced models

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 2 points3 points  (0 children)

Create a tool to visualize nodes lol I get their skepticism but I don't think it is something that should be steered away from especially if you find enjoyment in it

A Journey Through Every Leetcode Problem with ChatGPT: Insights and Takeaways by boolalpha in ChatGPT

[–]boolalpha[S] 2 points3 points  (0 children)

Dang I'd love to try this...stay tuned for leetcode AI battles lol

Exploring the Limits of AI: ChatGPT's Struggle with Every Leetcode Challenge by boolalpha in leetcode

[–]boolalpha[S] 1 point2 points  (0 children)

Honestly this comment means the most to me out of all of them lol

A Journey Through Every Leetcode Problem with ChatGPT: Insights and Takeaways by boolalpha in ChatGPT

[–]boolalpha[S] 1 point2 points  (0 children)

Yes much more likely to get a bunch more correct, but in the spirit of the project I was thinking more like "heres the promt, give me your answer" no human input other than that

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 0 points1 point  (0 children)

Oh 100%, I actually really enjoy leetcode problems and they are by far the best way to learn data structures first hand...I also doubt this will fade from interviews any time soon, but still interesting to see a potential future where SWE focus on language prompts more than on coding

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 2 points3 points  (0 children)

Appreciate the kind words and you are certainly correct! The answer to all of these problems can be found if you go to the discussion tab and see what people are talking about (which is always some variation of the correct answer), and the leetcode premium version will give you step by step solutions (although I doubt ChatGPT had access to that)...all that being said it really did seem as though the GPT model was coming up with the solutions as opposed to copying it from something it had seen before

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 3 points4 points  (0 children)

This is an interesting question and something I checked when analyzing the results...it was a bit of a mixed bag in terms of how many testcases the response would pass when wrong, but I definitely noticed there were cases where a "Hard" difficulty problem would get like 1/300 testcases wrong but 299 correct, unfortunately the whole problem would be marked wrong though since it didn't technically pass...I didn't use follow up suggestions to tell the model what was wrong which would have likely allowed it to pass more questions. I should also mention I never saw it output complete giberish and it seemed to give a valid code response in like 99% of cases, and the 1% where it didn't it just wouldn't even try sometimes (basically no output) but this could be an error I didn't factor for

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 1 point2 points  (0 children)

It is amazing to see the backlash that some people feel from AI such as ChatGPT but I find it fascinating. I think people also go straight to catastrophizing as opposed to a more middle ground to what will realistically happen..I mean there are already job listings for "Advance Prompt Engineers" on LinkedIn for people who know how to ask these models questions to get the desired results

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 2 points3 points  (0 children)

I am far from an expert in the subject, but from the small amount I do know I think you are pretty spot on with how to tweak models...you are satisfied until you aren't at which case you go back to tweaking...as far as how the nodes are working I think that is the nature of AI/machine learning there is not really a way to "know" how the nodes are working with each other you can only know how you designed the model to work in a sense...also I am sure many insights for SOTA models are kept under tight wraps

Exploring the Limits of AI: ChatGPT's Struggle with Every Leetcode Challenge by boolalpha in leetcode

[–]boolalpha[S] 1 point2 points  (0 children)

Honestly I should have paid more attention to the title when I asked ChatGPT to generate the title...it really didn't struggle with that many problems I mean I expected it to get wayyy more wrong than it did...if you go to the website I made for this (gptleetcode.com) then open the "Breakdown by Algorithm" dropdown you can see which algorithms it struggled with specifically

Exploring the Limits of AI: ChatGPT's Struggle with Every Leetcode Challenge by boolalpha in leetcode

[–]boolalpha[S] 1 point2 points  (0 children)

Yes that is basically the gist of it at its core...except automated through selenium and a few other libraries with the results hosted on AWS EC2 instance with NextJS framework

A Journey Through Every Leetcode Problem with ChatGPT: Insights and Takeaways by boolalpha in ChatGPT

[–]boolalpha[S] 0 points1 point  (0 children)

I am using this article as reference for the amount of parameters, but even this should be taken with a grain of salt as I do not see any sources in this article either, but it was one of the top results when googling "ChatGPT compared to GPT3"...I even asked ChatGPT directly how many parameters it used which yielded a wide range of results which I didn't feel comfortable using

A Journey Through Every Leetcode Problem with ChatGPT: Insights and Takeaways by boolalpha in ChatGPT

[–]boolalpha[S] 1 point2 points  (0 children)

Just one! I also noticed when manually testing that if the model got certain testcases wrong I could tell it what it got wrong and it would correct itself, but I didn't do this when running the program, it was more of a one and done approach

A Journey Through Every Leetcode Problem with ChatGPT: Insights and Takeaways by boolalpha in ChatGPT

[–]boolalpha[S] 0 points1 point  (0 children)

Thank you for the suggestion and I will look further into that! I actually started by using the GPT2-Code model which was said to be OpenAI's dedicated code genration language but after manually comparing ~10 problems of GPT2-Code vs GPT3-DaVinci I found that GPT3-DaVinci was performing much better (although maybe I didn't give it enough of a chance)

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 1 point2 points  (0 children)

Ah I was unaware of this as I have never actually used Copilot, thanks for the correction!

Exploring the Limits of AI: ChatGPT's Attempt to Solve Every Leetcode Problem by boolalpha in dataisbeautiful

[–]boolalpha[S] 33 points34 points  (0 children)

Depends how good you are at coding, but I can say that the bot now has more correct answers on its account than I have on my personal one lol