r/MLQuestions • • 5d ago

Other ❓ Understand theory, can't code

So I know a lot about ml and ai engineering , like iam working on a rag project, I know (to a limit though) what chunking strat to use , how the pipeline should look like , etc , but I can't code those stuff , I can vibe code my way to make a full working end to end pipeline

So idk thoughts on that and any suggestions would be appreciated

7 Upvotes

13 comments sorted by

3

u/dopeygoblin 5d ago

Don't "vibe code." You should understand what you are doing.

You say you know things "to a limit." Push that limit until you know more things. Work with the smartest model you can get your hands on (highly recommend Opus 5.5 x high or Fable 5.2. Astra/Sol/Neon will work too).

Ask it to help you design the architecture and dissect every design decision. What framework you're using. What infrastructure you're running on. What are the components of the system. How are you identifying What are your constraints/limitations. How much does inference cost. How are you batching things. How are you tuning, what loss functions are you using and why, grid searching hyperparameters. Model specifics, design, layers, attention heads, what your inputs/outputs look like.

Many of those things may or may not apply depending on the specific application you're working on, but the general approach to interrogate the model around areas you don't immediately understand is a very effective way to learn while ensuring you are building good systems. You must also validate your results extensively. Run it, ensure it works, do integration tests and validate things are behaving as they should.

I do a ton of ML at my job, and have not written a line of code in nearly a year. These days I rarely even read the code.

2

u/Plastic_Choice6076 5d ago

I think that's what I am missing right now , thank u I wish u have a great day

2

u/ceeej777 5d ago

What are you building in? I’m in Databricks and build rag through the Genie agent on top of files in a volume. It auto chunks and embeds so you don’t have to worry as much. Otherwise I’d look at langchain or llamaindex if you need a more customized approach but still a library that extracts a lot of it away

1

u/Plastic_Choice6076 5d ago

I mentioned rag project just as an example , the general idea is that I just dont wanna black box everything , Auto chunks is really interesting though

1

u/goqmo 4d ago

I'm actually in Databricks The Genie agent sounds like a lifesaver since I hate doing manual chunking

2

u/Leodip 5d ago

I'm not against vibecoding per se, but you are learning, and in general vibecoding gives you the impression that you know more than you actually do.

You might have a general understanding of your whole pipeline, but why can't you code it? What are you missing? Some of the issues are going to be that you don't know the syntax, but you can look it up easily, but I'm sure that some of the issues are just that you don't know every single step that you need to have to make your system work. If you vibecode it, you'll never know these steps.

0

u/Plastic_Choice6076 5d ago edited 5d ago

Ya maybe that's what I am going through, thanks a lot I think the only logical solution is to get my hands dirty and code by hand , wish u have a great day

1

u/Confident_Click2088 3d ago

I was in a similar boat before with deep learning. I had a good understanding of the mathematical theory but no idea how to actually code a neural network.

Do not use Claude/ChattyG to write code yet, save that for when you're doing more advanced tasks where it becomes impractical to not use Claude/ChattyG. The learning curve with coding is pretty rough, but I suggest watching some tutorials and coding basic models that do basic benchmark tasks, focus a lot on understanding the actual theoretical CS aspects as well.

1

u/Plastic_Choice6076 3d ago

This i guess, thanks hope u have a great day

1

u/graywolf724 3d ago

pick one stage, chunking or retrieval, and write just that in a single file without an llm. set up tests with an llm if you want.

 if they break, dive deeper there. 

then compare against a real implementation and do the next stage the same way.

1

u/Plastic_Choice6076 3d ago

Solid idea , thanks hope you have a great day

1

u/ModularMind8 5d ago

I highly recommend building projects you care about. You can also look at QuiddityML.

1

u/Budget-Juggernaut-68 4d ago

Try building without AI and grind your way through. Only use AI has hints to move forward.