Readit News logoReadit News
Exorust commented on Show HN: Learn LLMs LeetCode Style   github.com/Exorust/TorchL... · Posted by u/Exorust
janalsncm · 2 months ago
Most ML problems in real life don’t constrain you to use linear regression or a CNN either. But there will be some metric you need to optimize.

What would take this repo to the next level is to have a reproducible data generation function for each exercise as well as a reasonable metric which must be passed. I don’t see anything that requires my classification auc to be over 0.5 which would be a basic criteria of bug-free code.

Exorust · 2 months ago
It's also what most people ask when they go for interviews.

I was reverse engineering the ML interview pipeline for myself and that's how I stumbled upon all this.

I think the data aspect does make sense tho. I might add that as the next thing to do

Exorust commented on Show HN: Learn LLMs LeetCode Style   github.com/Exorust/TorchL... · Posted by u/Exorust
janalsncm · 2 months ago
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 · 2 months ago
I hoped that it would be a little open ended as most questions in ML in real life are open ended.
Exorust commented on Show HN: Learn LLMs LeetCode Style   github.com/Exorust/TorchL... · Posted by u/Exorust
gerroo · 2 months ago
Cool idea, will try. Since it seems mostly llm generated you could publish the process and prompts for transparency.
Exorust · 2 months ago
I'll do that. I'll also add a disclosure that I did use Gpt to generate it.
Exorust commented on Show HN: Learn LLMs LeetCode Style   github.com/Exorust/TorchL... · Posted by u/Exorust
oezi · 2 months ago
Is it just me or does anyone else find the red squiggly lines under Pytorch and Leet hilarious in the heading picture?
Exorust · 2 months ago
Ah god damn it.

u/Exorust

KarmaCake day391June 13, 2018
About
meet.hn/city/37.7792588,-122.4193286/San-Francisco

Socials: - linkedin.com/in/chandrahas-aroori - charoori.com - x.com/charoori_ai

---

View Original