Data Science

How do I implement effective Version Control for Data Science models and datasets?

T Asked by Thomas Harris · 05-11-2023
0 upvotes 12,144 views 0 comments
The question

Managing code with Git is easy, but how do I handle versioning for 10GB datasets and the resulting pickle files of my models? I’m finding it impossible to keep track of which dataset version produced which model accuracy. Are there industry-standard tools for "Git for Data"?

 

3 answers

0
SU
Answered on 07-11-2023

You are hitting a common bottleneck in the MLOps lifecycle. You should look into DVC (Data Version Control). It works alongside Git by storing the actual large files in a remote bucket (like S3 or Azure Blob) while keeping small .dvc pointer files in your Git repository. This allows you to "checkout" specific versions of your data just like you do with code. For tracking the relationship between the data, code, and model performance, MLflow is the current industry leader. It lets you log parameters, metrics, and the model artifact itself in a centralized dashboard, ensuring that every experiment is 100% reproducible. 

0
KE
Answered on 09-11-2023

DVC sounds powerful, but isn't the learning curve a bit steep for a small team? Would just using Git LFS (Large File Storage) be enough if our datasets aren't changing that frequently, or is the integration with ML pipelines worth the extra setup? 

PA 10-11-2023

Kevin, Git LFS is okay for storage, but it lacks the "pipeline" awareness that DVC offers. DVC tracks the dependencies—meaning if your data changes, it knows exactly which processing scripts need to be re-run. For a serious Data Science team, that automation is worth the initial learning curve.

0
SA
Answered on 12-11-2023

Keep it simple to start: use a naming convention for your S3 buckets and log everything in a shared Google Sheet or a simple MLflow instance.

TH 13-11-2023

While the spreadsheet method works for a week, it fails quickly. I’d take Sarah's advice on MLflow but skip the manual logging—automate it so you don't forget!

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session