top | item 44550157

Show HN: Learn LLMs LeetCode Style

181 points| Exorust | 8 months ago |github.com | reply

23 comments

order
[+] janalsncm|8 months ago|reply
This is decent for what it is. Some of the problems are pretty open ended which has pros and cons, but that is very different from leetcode, which has very specific data and test cases.

For example, implement linear regression but the example solution uses a random number generator without a fixed seed. It’s fine, reproducibility isn’t the point, but leetcode problems are more structured.

In leetcode they usually don’t tell you exactly what data structure you must use, only that it must pass certain test cases. By analogy this might not tell you which architecture to use but require that it passes certain eval metrics.

[+] Exorust|8 months ago|reply
I hoped that it would be a little open ended as most questions in ML in real life are open ended.
[+] gerroo|8 months ago|reply
Cool idea, will try. Since it seems mostly llm generated you could publish the process and prompts for transparency.
[+] Exorust|8 months ago|reply
I'll do that. I'll also add a disclosure that I did use Gpt to generate it.
[+] only-one1701|8 months ago|reply
> Avoid using GPT. Try to solve these problems on your own. The goal is to learn and understand PyTorch concepts deeply.

I mean...this entire project appears to be mostly GPT-generated?

[+] mumbisChungo|8 months ago|reply
One time my teacher used a computer to make a math test for me, but then told me I couldn't use my computer during the exam. I dropped out of school immediately.
[+] notathinker|8 months ago|reply
The purpose of the project is learning. The author believes that avoiding GPT will help you learn more effectively and offers that as upfront guidance. In this case, “avoid using GPT” isn’t an ethical directive but simply a learning recommendation. The value of that advice isn’t tied to which tools were used to create the question set.
[+] YeBanKo|8 months ago|reply
Why do you think it I GPT generated?
[+] pj_mukh|8 months ago|reply
What are people's other "go try to build this thing, perfectly aligned to your noob-level" ways of learning lower-level ML Tools (PyTorch, CUDA etc.)?
[+] oezi|8 months ago|reply
Is it just me or does anyone else find the red squiggly lines under Pytorch and Leet hilarious in the heading picture?