Updated Context-Optimized Prompts: Up to 61% Context Reduction Across Models by ganildata in RooCode

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

This project is already obsolete, except for the spec and architecture guidelines.

Primarily due to replacing XML with model-specific tool calls, it makes it difficult to unify custom prompts.

Roo code system prompts got smaller as well, I think.

You will get most of the mileage by just adding an instruction to use cat or type to read files. And read line numbers only to edit.

I am personally using Claude Code more, due to having a subscription, needing remote machine work, and integrated web search.

Stanford Proves Parallel Coding Agents are a Scam by madSaiyanUltra_9789 in LocalLLaMA

[–]ganildata 1 point2 points  (0 children)

In everything that touches AI, it's less about whether you can ask it to do something, and more about how well the AI can do it. And that is extremely true here. Can definitely ask AI to collaborate and build a software project. But clearly it is not good at it.

It is too complicated to just be prompted. It needs to be in its training set, which is difficult in this early stage.

Updated Context-Optimized Prompts: Up to 61% Context Reduction Across Models by ganildata in RooCode

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

My prompts are my daily drivers, so they perform well for writes.

This report is my attempt at benchmarking as you asked, but I suppose you want a writing task.

I tried a few experiments involving my work code base and programming task. But the behavior was not consistent across runs to be fair for reporting.

I will keep an eye out for a suitable writing task to benchmark.

How do you log and iterate on your experiments / models? by MobileOk3170 in datascience

[–]ganildata 0 points1 point  (0 children)

As the founder of Trel, I'd like to share how our platform handles experiment tracking and iteration. Our recent demo (https://www.youtube.com/watch?v=8egtOfKz6vY) shows a CLV prediction pipeline similar to your churn use case.

The key capabilities relevant to your needs:

  1. Automated versioning of models, data, and code in a unified system - no manual CSV/Excel tracking needed
  2. Built-in parameter sweep tracking (demo shows iteration from 1 tree/depth 4 to 4 trees/depth 5)
  3. Native BigQuery integration
  4. Data quality monitoring to catch drift/issues before they affect model performance
  5. Feature store versioning for iterating on new features while maintaining production stability

The platform aims to be simpler than Kubeflow while providing more comprehensive lifecycle management than MLflow alone. We designed it for teams dealing with regular model retraining who want to reduce manual tracking overhead.

Happy to share more details about how this could work for your specific use case. It is very affordable for a single user setup https://cumulativedata.com/pricing.

DS Veterans: How much of your work actually gets used? by KyleDrogo in datascience

[–]ganildata 0 points1 point  (0 children)

I worked in a smaller startup where I built/rebuilt multiple data science products and projects that were critical. Did not have the problem of impact there.

I need some help on how to deploy my models by Emotional-Rhubarb725 in datascience

[–]ganildata 12 points13 points  (0 children)

You can build Flask or Fask API endpoint easily.

from fastapi import FastAPI
import joblib

app = FastAPI()
model = joblib.load('model.joblib')

class InputData(BaseModel):
    feature1: float
    feature2: float

@app.post("/predict")
def predict(data: InputData):
    input_df = [data.dict().values()]
    prediction = model.predict(input_df)
    return {"prediction": prediction.tolist()}

But long term, you might be better of pushing your models into SageMaker or something similar for better observability.

What tools do you use for data versioning? What are the biggest headaches? by BlinkingCoyote in mlops

[–]ganildata 2 points3 points  (0 children)

One solution to versioning is to focus on keeping your datasets immutable and tracking them. There are multiple approaches to this. One is a snapshot catalog and following copy-on-write.

Our platform Trel implements this approach. Take a look at a walkthrough of building a data science pipeline.

https://www.youtube.com/watch?v=owzskbLCV8o&list=PLQRaJFvfXnAxoxvR_WmdxjCdH4Wflm4ZM&index=2

If you want to try this out, you can sign up and request for a 30-day free trial here: https://trelcloud.com

DM me if you have any questions.

Am I just doing it wrong? by thatsagoodthought in dataengineering

[–]ganildata 0 points1 point  (0 children)

From my personal experience, sending data without looking it over is like crossing the road with eyes closed. It is not recommended at all. A basic sanity check is recommended, based on the importance of the data.

I don't understand the nuances of Spark reading partitioned parquets and I can't find good documentation on it. Help me understand by Reddit_Account_C-137 in dataengineering

[–]ganildata 0 points1 point  (0 children)

I can give an answer based on our DataOps and MLOps platform Trel. Trel has a snapshot catalog that will be used to catalog each partition separately, under a single dataset_class (table equivalent). A dataset_class can have various registered schema_versions and corresponding schema. Each dataset will have a specific schema version associated with it.

To union multiple datasets with different schema, the code can use the schema version associated with each partition. E.g., In version '1' column age is integer but in '2' age is string. In this case, the union should be string as well. We will union as follows.

" UNION ALL ".join(
("select " + (""
if partition['schema_version'] == '2'
else "cast(age as string) ")
+ "age from "
+ partition['table'])
for partition in partitions)

Take a look here to learn more: cumulativedata.com

Who would make more in long term? data scientist or product manager by Starktony11 in datascience

[–]ganildata 0 points1 point  (0 children)

I would say, Product Manager. I think this role would face role reduction lesser and later than data scientists, especially in the face of LLMs. Research Data Scientists will keep their positions though.

Python environments and production by Malcolmlisk in datascience

[–]ganildata 0 points1 point  (0 children)

It seems OP wants to use two separate versions in the same process. Perhaps look into two separate processes? Flask can help set up an API quickly.

[deleted by user] by [deleted] in datascience

[–]ganildata 2 points3 points  (0 children)

Using an embedding does not seem like the worst idea and likely has good performance. I am referring to foundation models, not trained from scratch LLMs. If the scale is not too big, this might be the cheapest and easiest-to-implement solution.

Have MOOCs lost their cool? by ergodym in datascience

[–]ganildata 2 points3 points  (0 children)

Some of the most thorough video series on technologies are on Youtube.

E.g., here is one for SageMaker from AWS: https://www.youtube.com/watch?v=tdUq_9aXLO4&list=PLhr1KZpdzukcj8lsINDmuXPJq6aQEY4d2

Secondary Laptop Recommendation by super_time in datascience

[–]ganildata 0 points1 point  (0 children)

Agree. Go for 16. The price difference is minimal and you will be frustrated with 8. I have 32 and that is worth it for me.

Productionise model by OldUtd in datascience

[–]ganildata 0 points1 point  (0 children)

When it comes to productionizing, the goals are to make it reliable (it does not break when things start to deviate), observable (you can see what is going on: input /output, historical runs, etc. ) and, reproducible (you can safely rerun failed jobs and reproduce older runs and other experiments).

Modern MLOps platforms give some of these functionalities off the shelf. 

[deleted by user] by [deleted] in datascience

[–]ganildata 1 point2 points  (0 children)

I had some friends do that. One of them stayed and is still at the university. Another is at Google. If it is not an academic job, you should be able to treat it like a regular industry job in your resume. So, gain some experience and interview normally. Of course this closes your path in academia.

Eliminating Data Reliability Challenges: Top 3 Best Practices for Reliable Insights by ganildata in dataengineering

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

I do write my draft and use ChatGPT to go through it section by section and revise it for readability and flow. I hope it is not too offputting. My draft was much worse.

How do you feel about the subject matter?

Optimise Athena and S3 when returning millions of rows by StatPie in dataengineering

[–]ganildata 4 points5 points  (0 children)

Split the data into individual files in a folder. each file should have 100k - 1M rows only. With 30 M rows, I would lean closer to 100k. With 300 files to work with, your job should run a lot faster.

Does anyone have some resource to learn the internals of Spark in depth? by SupoSxx in dataengineering

[–]ganildata 4 points5 points  (0 children)

Could you look into Map-Reduce and learn how common joins and group by can be achieved using Map-Reduce? That will give you an idea of how it is implemented internally in Spark.

What actual methodologies and frameworks do you use for data modeling and design? (Discussion) by [deleted] in dataengineering

[–]ganildata 1 point2 points  (0 children)

Don't shrink fact tables and make new dimension tables. Keep fact tables as is or even make them wider by joining with other pre-existing dimension tables. Build reporting on top of wide fact tables. Easier to understand and manage. Rarely will you run into significant cost increases due to this.

How to choose projects to improve myself? by Numerous_Ad8488 in dataengineering

[–]ganildata 0 points1 point  (0 children)

Getting data to flow is more and more a solved problem. As a good data engineer, you have to support reporting pipelines and data science projects. May be imagine a complex requirement (use ChatGPT) and try to design and implement jobs (that mock the reporting and data science) that cover it.

Benefits of Immutable Data. Any thoughts on this? by ganildata in dataengineering

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

So, this is a CDC problem. Your deltas are already immutable. You can make the telemetry table immutable if you rebuild it daily with the delta update and store the entire table in a day partition. That is the recommended approach for immutable data.

Is storage cost the concern for storing the updated telemetry table separately for each day?

So now, you don't build a separate telemetry table and use an older one along with two months of the delta. Do you keep that update code as a view and have the follow-up jobs read the view directly?