TRANSCRIPTION 🔗
WEBVTT
NOTE
Transcription provided by Podhome.fm
Created: 7/6/2024 4:47:13 PM
Duration: 2679.766
Channels: 1
1
00:00:14.145 --> 00:00:18.880
Hello, and welcome to Podcast Dot in It, the podcast about Python and the people who make it great.
2
00:00:19.419 --> 00:00:26.079
When you're ready to launch your next app or want to try a project you hear about on the show, you'll need somewhere to deploy it. So take a look at our friends over at Linode.
3
00:00:26.385 --> 00:00:37.070
With 200 gigabit private networking, scalable shared block storage, node balancers, and a 40 gigabit public network, all controlled by a brand new API, you get everything you need to scale up.
4
00:00:37.370 --> 00:00:45.235
And for your tasks that need fast computations, such as training machine learning models or building your CI pipeline, they just launched dedicated CPU instances.
5
00:00:46.095 --> 00:00:47.395
Go to python podcast.com/linode.
6
00:00:48.975 --> 00:00:57.930
That's l I n o d e, today to get a $20 credit and launch a new server in under a minute. And don't forget to thank them for their continued support of this show.
7
00:00:58.715 --> 00:01:02.254
Bots and automation are taking over whole categories of online interaction.
8
00:01:02.715 --> 00:01:03.215
Discover.bot
9
00:01:03.675 --> 00:01:14.710
is an online community designed to serve as a platform agnostic digital space for bot developers and enthusiasts of all skill levels to learn from 1 another, share their stories, and move the conversation forward together.
10
00:01:15.395 --> 00:01:22.935
They regularly publish guides and resources to help you learn about topics such as bot development, using them for business, and the latest in chatbot news.
11
00:01:23.530 --> 00:01:40.155
For newcomers to the space, they have a beginner's guide that will teach you the basics of how bots work, what they can do, and where they are developed and published, And to help you choose the right framework and avoid the confusion about which NLU features and platform APIs you will need, they have compiled a list of the major options and how they compare.
12
00:01:40.580 --> 00:01:41.880
Go to python podcast.com/
13
00:01:42.740 --> 00:01:43.240
discoverbot
14
00:01:43.540 --> 00:01:46.520
today to get started and thank them for their support of the show.
15
00:01:47.220 --> 00:01:59.865
And you listen to this show to learn and stay up to date with the ways that Python is being used, including the latest in machine learning and data analysis. For even more opportunities to meet, listen, and learn from your peers, you don't want to miss out on this year's conference season.
16
00:02:00.290 --> 00:02:03.910
We have partnered with organizations such as O'Reilly Media, Dataversity,
17
00:02:04.210 --> 00:02:05.910
and the Open Data Science Conference.
18
00:02:06.450 --> 00:02:08.385
Go to python podcast dotcom/conferences
19
00:02:09.325 --> 00:02:12.705
to learn more and to take advantage of our partner discounts when
Load full transcript
you register.
20
00:02:13.725 --> 00:02:15.320
And visit the site at pythonpodcast.com
21
00:02:16.420 --> 00:02:20.040
to subscribe to the show, sign up for the newsletter, and read the show notes.
22
00:02:20.420 --> 00:02:30.385
And to help other people find the show, please leave a review on iTunes and tell your friends and co workers. Your host as usual is Tobias Macy. And today, I'm interviewing Dmitry Petrov about DVC,
23
00:02:30.765 --> 00:02:36.200
an open source version control system for machine learning projects. So, Dimitry, could you start by introducing yourself?
24
00:02:36.500 --> 00:02:37.780
Sure. Hi, Tobias.
25
00:02:38.100 --> 00:02:41.065
It is a pleasure to be on the show. I am Dimitry Petrov.
26
00:02:41.625 --> 00:02:46.045
I have a mixed background in data science and software engineering.
27
00:02:46.425 --> 00:02:49.060
About 10 years ago, I worked at academia.
28
00:02:49.440 --> 00:02:50.980
And sometimes I say
29
00:02:51.280 --> 00:03:04.305
I worked with machine learning for more than 10 years, but you probably know that 10 years ago, machine learning was mostly about, like, linear regression, logistic regression, and, yeah, this is pretty much what I was working on. And,
30
00:03:05.025 --> 00:03:06.724
then I switched to software engineering,
31
00:03:07.150 --> 00:03:17.365
and, I write, some production code. At that time, data science was not a thing. Around 5 years ago, I switched back to quantitative area.
32
00:03:17.825 --> 00:03:20.165
I became a data scientist at Microsoft,
33
00:03:20.785 --> 00:03:22.405
and I saw how modern,
34
00:03:22.705 --> 00:03:24.770
data science looks looks like.
35
00:03:25.230 --> 00:03:25.730
Recently,
36
00:03:26.270 --> 00:03:28.450
I'm I'm actually back to software engineering.
37
00:03:29.069 --> 00:03:31.165
Today, we are working on DVC, and
38
00:03:32.045 --> 00:03:37.344
I basically build tools for machine learning. And do you remember how you first got introduced to Python?
39
00:03:37.724 --> 00:03:39.905
Yeah. It happened in 2, 000
40
00:03:40.650 --> 00:03:42.910
4, I believe, and it happened accidentally.
41
00:03:43.290 --> 00:03:45.390
I got into an internship,
42
00:03:45.850 --> 00:03:56.084
during my master program, and I work on a Python project. It was my first, scripted language. I don't count, at least, in my functional programming class, of course. And
43
00:03:57.100 --> 00:04:00.720
it was part Python 2.2, and then we switched to 2.3.
44
00:04:01.500 --> 00:04:02.400
I have spent
45
00:04:02.700 --> 00:04:03.280
a number
46
00:04:03.580 --> 00:04:03.905
of
47
00:04:04.385 --> 00:04:07.045
sleepless nights debugging Unicode issues
48
00:04:07.505 --> 00:04:12.084
in Python 2. If you work with Python 2, you probably know what I'm talking about. And
49
00:04:12.900 --> 00:04:18.580
later, I found myself using Python in any single research project that I was working on. We were still using,
50
00:04:19.220 --> 00:04:22.764
MATLAB for machine learning. It was quite popular 10 years ago.
51
00:04:23.145 --> 00:04:26.365
We use plan c for kind of a low level software.
52
00:04:26.745 --> 00:04:27.485
Let's imagine
53
00:04:27.785 --> 00:04:34.319
when we we need a driver to track some signals. But in general, Python was a primary language in my laboratory.
54
00:04:34.939 --> 00:04:43.155
When I worked as a software engineer, my primary language was, c plus plus So but I still use Python for kind of ad hoc project for automation.
55
00:04:44.015 --> 00:04:48.195
At that time, there were a lot of discussion about Python versus Perl.
56
00:04:48.630 --> 00:05:02.075
And to me, it was not a question. So I use Python all the time. And during my transition back data science, Python become my primary language because, like, in data science, it's kind of, 1 of the top languages that people use.
57
00:05:02.455 --> 00:05:16.495
Today, we build tools for data scientists, and we use Python. And so 1 of the tools that you've been working on is this project called DBC or data version control. Can you start by explaining a bit about what it is and how that project got started?
58
00:05:17.195 --> 00:05:21.110
DBC is basically a version control system for machine learning projects.
59
00:05:21.590 --> 00:05:25.530
You can think of DVC as a command line tool. It's kind of
60
00:05:25.909 --> 00:05:28.330
a a git for ML. What it gives you,
61
00:05:28.885 --> 00:05:36.825
it gives, like, 3 basic things. 1st, it helps you to track a large data files. For example, 10 GB data files,
62
00:05:37.205 --> 00:05:39.690
100 GB data sets, ML models.
63
00:05:40.069 --> 00:05:41.930
And it helps you in your pipelines,
64
00:05:42.870 --> 00:05:47.449
machine building pipelines. It's not the same as data engineering pipelines. It's kind of a lightweight
65
00:05:47.955 --> 00:05:49.014
version pipelines.
66
00:05:49.315 --> 00:05:52.775
And DVC helps you to organize your experiments.
67
00:05:53.395 --> 00:05:55.095
My exam, self descriptive,
68
00:05:55.660 --> 00:05:58.640
descriptive, self documented. Basically, you know everything,
69
00:05:59.020 --> 00:06:06.735
how a model was produced, what kind of commands you need to run, what kind of metrics, were produced as a result of this experience.
70
00:06:07.515 --> 00:06:08.015
And
71
00:06:08.795 --> 00:06:10.955
you will have all this information in your,
72
00:06:11.435 --> 00:06:16.440
Git history, and DVC helps you in, to navigate through your experiments.
73
00:06:17.139 --> 00:06:18.840
From technical point of view,
74
00:06:19.220 --> 00:06:20.020
we use,
75
00:06:20.419 --> 00:06:24.974
Git as a foundation. So the DVC works on top of Git and a cloud storage.
76
00:06:25.435 --> 00:06:32.070
You can use s 3. You can use Google Storage or Azure or just, like, random SSH,
77
00:06:32.690 --> 00:06:33.190
server,
78
00:06:33.650 --> 00:06:37.350
where you store data. And you see basically orchestrate Git,
79
00:06:37.810 --> 00:06:38.949
and cloud
storages.
80
00:06:39.315 --> 00:06:39.815
And
81
00:06:40.355 --> 00:06:42.695
you also asked, like, how DVC got started.
82
00:06:43.155 --> 00:06:48.775
This is actually a separate story because, initially, when we started the project, we were not thinking about
83
00:06:49.380 --> 00:06:52.440
Git format. What we were thinking about was
84
00:06:53.220 --> 00:06:54.760
data science experience,
85
00:06:55.460 --> 00:06:56.840
what is the best practices,
86
00:06:57.264 --> 00:06:57.764
and
87
00:06:58.065 --> 00:06:59.845
we were inspired by ideas
88
00:07:00.305 --> 00:07:02.165
of, data science platforms.
89
00:07:02.865 --> 00:07:03.604
You probably
90
00:07:04.305 --> 00:07:05.125
heard about,
91
00:07:05.585 --> 00:07:06.085
Michelangelo,
92
00:07:06.870 --> 00:07:15.110
a data science platform of Uber. You probably heard about Domino Data Lab. And today, actually, every large technology company has own,
93
00:07:16.044 --> 00:07:17.664
data science platform because
94
00:07:17.965 --> 00:07:21.264
they need to work somehow in a large teams. Right? They need to collaborate.
95
00:07:21.724 --> 00:07:29.470
And software engineering toolset is not perfect for ML projects, for data science projects. But when when we are looking on the platform,
96
00:07:29.770 --> 00:07:31.070
we are thinking, like, what
97
00:07:31.370 --> 00:07:34.235
how the platform of the future should look like?
98
00:07:34.715 --> 00:07:38.414
How we can create a platform which each data scientist can use
99
00:07:38.875 --> 00:07:44.069
and which can be, like, widely adopted, highly available. And we come up with this idea,
100
00:07:44.690 --> 00:07:46.789
the kind of a principle of,
101
00:07:47.090 --> 00:07:50.389
data science platform of the future. It has to be open source.
102
00:07:51.055 --> 00:07:58.515
This is the way you can be, like, community driven. This is a way you can kind of create, like, a common scenario which everyone, data scientists, can,
103
00:07:59.135 --> 00:07:59.875
can use.
104
00:08:00.620 --> 00:08:04.320
And it has to be distributed. It's important because sometimes
105
00:08:04.860 --> 00:08:06.640
you work on your desktop
106
00:08:07.020 --> 00:08:09.040
because you have GPU, for example.
107
00:08:09.345 --> 00:08:24.890
Sometimes, you still do need your laptop to work, and sometimes you need a cloud resources to run, like, a specific model. So, for example, you need huge amount of memory, and it is important to be everywhere. So with this kind of principles, so we come up with the idea. Why don't we reuse,
108
00:08:25.210 --> 00:08:26.190
Git as a foundation,
109
00:08:27.025 --> 00:08:29.925
for data science platform for our tool?
110
00:08:30.225 --> 00:08:37.330
And then we realize it's very close to idea of version. We just need versioning versioning dataset. We need versioning experience.
111
00:08:37.790 --> 00:08:52.865
And this is, how DPC got started. And so you mentioned that the traditional version control systems
that are used for regular software projects aren't quite sufficient for machine learning because of the need for being able to track the datasets
112
00:08:53.270 --> 00:08:56.570
along with the code itself and some of the resulting models.
113
00:08:56.870 --> 00:09:01.355
So can you walk through some of the overall workflow of working with DBC
114
00:09:01.735 --> 00:09:08.154
and how that differs from just a regular Git workflow for a software engineering project that might be focused on like a Django application?
115
00:09:09.110 --> 00:09:10.649
First of all, we need to understand
116
00:09:11.350 --> 00:09:17.610
what is the difference between software engineering and machine learning. And machine learning is driven by experiments.
117
00:09:18.355 --> 00:09:23.735
The problem is you have a bunch of experiments. You have dozens, sometimes hundreds of experiments.
118
00:09:24.115 --> 00:09:25.415
And you need to communicate
119
00:09:25.954 --> 00:09:27.095
with the experiments
120
00:09:27.440 --> 00:09:28.339
with your colleagues
121
00:09:28.720 --> 00:09:33.380
and, basically, with yourself. Because tomorrow, you won't remember what what happened today.
122
00:09:33.760 --> 00:09:35.380
And in 1 month,
123
00:09:35.695 --> 00:09:38.835
there are no way you will remember what what you have done,
124
00:09:39.295 --> 00:09:40.655
today and why this,
125
00:09:41.135 --> 00:09:49.940
idea produced such a poor result. You need to track everything. Like, in in many cases, you can you can be in the situation when, like, 1 of your colleagues,
126
00:09:50.560 --> 00:09:52.100
came to your office and says,
127
00:09:52.404 --> 00:10:07.835
hey. You know what? I have spent, like, 2 days trying this idea, and you know what? It didn't work. And you're like, yeah. I tried I could try the same idea, like, 2 weeks ago. And, yeah, yeah, I know. This it didn't work. And it's hard to communicate these ideas because you have just dozens of those,
128
00:10:08.635 --> 00:10:10.495
sometimes hundreds of those. And,
129
00:10:11.675 --> 00:10:14.095
this is the difference. You need to framework
130
00:10:14.635 --> 00:10:15.455
to communicate
131
00:10:15.835 --> 00:10:17.820
by huge amount of
132
00:10:18.380 --> 00:10:21.360
ideas, huge huge amount of, ex experience.
133
00:10:21.820 --> 00:10:23.040
In software engineering,
134
00:10:23.580 --> 00:10:24.560
workflow is different.
135
00:10:25.100 --> 00:10:28.625
You have a limited amount of idea. It might be like like fish
136
00:10:29.005 --> 00:10:29.585
request and
137
00:10:30.845 --> 00:10:35.825
bug fix. I can say 1 kind of a controversial statement, but in software engineering,
138
00:10:36.320 --> 00:10:41.300
you almost never fail. If you decide to implement some issue or implement some feature
139
00:10:41.760 --> 00:10:45.220
or fig, fix a bug, you create a branch
140
00:10:45.695 --> 00:10:48.755
And with, like in 9 case cases out of 10,
141
00:10:49.215 --> 00:10:56.990
the branch will be
merged to your kind of a must to mainstream. Right? You can fail in term in terms of quality of software that you produced.
142
00:10:57.370 --> 00:10:59.310
You can fail in terms of budget
143
00:10:59.690 --> 00:11:03.070
that you spent because you thought it was, like, 1 day project,
144
00:11:03.625 --> 00:11:06.365
and you end up, like, spending 2 weeks
145
00:11:06.745 --> 00:11:08.125
of implementing this,
146
00:11:08.825 --> 00:11:13.005
feature. But, finally, it will be merged. In data set, it's opposite.
147
00:11:13.529 --> 00:11:14.829
You try 10 ideas,
148
00:11:15.209 --> 00:11:17.070
1 works as the very best, and
149
00:11:17.449 --> 00:11:21.825
the rest didn't work. But you still need to come need to communicate all of those. DVC,
150
00:11:22.205 --> 00:11:26.845
basically helps you to do this. It helps you to your experiments. You see kind of,
151
00:11:27.805 --> 00:11:31.269
you see list of your experiments. You see metrics which were produced.
152
00:11:31.570 --> 00:11:39.269
You you see the code which was used for this particular experiment with for this particular version of the dataset.
153
00:11:39.735 --> 00:11:44.795
And this work way better than, for example, Excel spreadsheet. Because today,
154
00:11:45.175 --> 00:11:48.154
many teams use just as Excel Excel spreadsheet
155
00:11:48.455 --> 00:11:50.060
to track their experiment.
156
00:11:50.760 --> 00:11:58.885
So this is the basic difference. Self documented experiments, a clear way of collaborating on experiments, and and look into the result.
157
00:11:59.285 --> 00:12:05.065
Data versioning, it's kind of a separate thing, which is important for experiments. It's must have for experiments.
158
00:12:05.910 --> 00:12:06.410
And
159
00:12:06.790 --> 00:12:09.930
sometimes people use DVC just for data version.
160
00:12:10.470 --> 00:12:10.970
Usually,
161
00:12:11.350 --> 00:12:12.010
for example,
162
00:12:12.550 --> 00:12:13.050
engineers
163
00:12:13.510 --> 00:12:14.649
who work on deployment
164
00:12:14.950 --> 00:12:18.315
side, they use DVC to deploy the model. Sometimes
165
00:12:18.695 --> 00:12:19.195
they,
166
00:12:19.495 --> 00:12:20.315
data engineers,
167
00:12:20.935 --> 00:12:23.355
or data scientists use DVC just to
168
00:12:23.735 --> 00:12:24.395
to their
169
00:12:25.330 --> 00:12:25.830
datasets.
170
00:12:26.690 --> 00:12:30.230
Sometimes, d v, people use DVC as a replacement for GitLFS
171
00:12:31.170 --> 00:12:50.840
because GitLFS has some limitation, and DVC was built to was optimized for, like, dozens and hundreds of gigabyte range. And for the types of experiments that you're working with, I know that some of the inputs can be in the form of feature engineering where you're trying to extract different attributes of the data or
172
00:12:51.285 --> 00:12:52.505
changing the hyperparameters
173
00:12:52.965 --> 00:13:01.110
that you're tuning to try and get a certain output of the model. So can you discuss how DBC is able to track
those and some of the communication
174
00:13:07.829 --> 00:13:13.865
duplicating the same work because of not being able to identify ahead of time that that particular set of features and hyperparameters
175
00:13:14.325 --> 00:13:17.385
and data inputs have all been tried together? Oh, from
176
00:13:18.140 --> 00:13:24.700
data files point of view and datasets point of view, DVC just track them. So your feature, it's,
177
00:13:25.274 --> 00:13:30.495
so, basically, DVC treats every file as just a blob, and we it usually,
178
00:13:30.875 --> 00:13:35.410
doesn't go into semantic of your data files and structure of your data
179
00:13:35.790 --> 00:13:41.410
files. And the same as a model. So models are just binary. And what DVC can understand,
180
00:13:41.870 --> 00:13:50.365
that, the model was changed, It can understand that this particular version of the binary file was produced on this particular step, and this particular
181
00:13:50.800 --> 00:14:13.370
input was consumed. But it doesn't go inside kind of a features. It doesn't go, into kind of a semantic of the data. And as far as the just overall communication pattern, what are some of the things that a data scientist would be looking at as they're working within a project that's managed through DBC to make sure that they're not duplicating that effort, any sort of signals
182
00:14:13.670 --> 00:14:15.050
that they would be identifying
183
00:14:15.430 --> 00:14:19.675
that would be lost otherwise with just using just Git by itself?
184
00:14:19.975 --> 00:14:22.315
Yeah. First of all, the structural experiment.
185
00:14:22.695 --> 00:14:23.415
This is what,
186
00:14:23.975 --> 00:14:29.680
super important data science. You need to know I mean, not in data science, in engineering case,
187
00:14:30.540 --> 00:14:32.240
pretty much the same. You need to understand
188
00:14:33.260 --> 00:14:42.245
what kind of code was used, what exact version of your code, and what exact version of the dataset was what you what was used. This is how you can,
189
00:14:42.725 --> 00:14:45.144
trust to an experiment that
190
00:14:45.530 --> 00:14:47.730
you did, like, let's say, 3 weeks ago.
191
00:14:48.170 --> 00:14:51.150
And is it, 1 more thing is metrics.
192
00:14:51.690 --> 00:14:52.750
If you know that
193
00:14:53.125 --> 00:14:56.105
this code with this version of the dataset produce,
194
00:14:56.885 --> 00:15:09.399
that particular value of the metric, it create your kind of a trust. You don't need to redo this job again. If you see this result in your Excel spreadsheet, it might be some discrepancy. Right? It it can be sound like,
195
00:15:09.755 --> 00:15:15.834
a year in your in your process, and you might end up redoing the same the same stuff. And,
196
00:15:16.555 --> 00:15:19.214
for documentation, you can use just a git commit.
197
00:15:19.860 --> 00:15:22.759
When you commit your result, which means you commit
198
00:15:23.380 --> 00:15:23.959
a pipeline,
199
00:15:24.500
--> 00:15:27.160
you commit a version of your dataset and
200
00:15:27.620 --> 00:15:34.555
output results, you put a message. And message in a git is it's it's very simple form of your documentation,
201
00:15:34.935 --> 00:15:36.155
of your project documentation.
202
00:15:36.570 --> 00:15:42.590
And this is actually very powerful form. What DVC does, it basically make it work for data project.
203
00:15:43.130 --> 00:15:46.110
Because in a regular workflow, you can commit code,
204
00:15:46.555 --> 00:16:00.490
but you don't have connection with data. You don't have a clear connection with your output metrics. And sometimes, you don't even have a connection with your pipelines because this commit might be related with 1 particular changes of what 1 particular part
205
00:16:00.870 --> 00:16:20.000
part of pipeline, not the entire pipeline. And as far as the metrics that you're tracking, can you discuss a bit about how those are captured and some of the ways that they factor into the overall evaluation and experimentation cycle to ensure that the model is producing the types of outputs that you're desiring in the overall project?
206
00:16:20.445 --> 00:16:21.505
DVC is,
207
00:16:22.045 --> 00:16:29.940
first of all, DVC is language agnostic tool and framework agnostic. And DVC as is metrics agnostic as well. It mean
208
00:16:31.040 --> 00:16:39.545
that, we track metrics in a simple forms of, text files. Your metrics is a CSV file with some header
209
00:16:40.325 --> 00:16:48.880
or a CC file or a JSON file. When you just output, we had a 5 metrics with that values. And, DVC
210
00:16:49.260 --> 00:16:52.720
allows you to look at your entire set of experiments,
211
00:16:53.100 --> 00:16:56.560
which metrics were was produced. You can find that
212
00:16:56.995 --> 00:17:01.575
this idea, for example, which failed because metrics was not perfect,
213
00:17:02.035 --> 00:17:03.475
actually produced a better,
214
00:17:04.260 --> 00:17:07.880
another metrics, had a good value, and you probably need to dig,
215
00:17:08.260 --> 00:17:16.645
dive in into into this experiment. So it shows you metrics that across across your branch branches, across your commits,
216
00:17:16.945 --> 00:17:19.845
and it basically helps you to navigate through your,
217
00:17:20.385 --> 00:17:20.885
complicated
218
00:17:21.185 --> 00:17:22.005
git structure
219
00:17:22.305 --> 00:17:27.280
3 biometrics. It's kind of a data driven way to navigate through your git repository.
220
00:17:27.660 --> 00:17:37.985
And in a data project, you might have thousands of commits, hundreds of or does dozens of branches, and DBC basically helps to to navigate through, through this complicated structure.
221
00:17:38.420 --> 00:17:41.160
This is why we need metrics. This is why, DBC,
222
00:17:41.860 --> 00:17:57.575
has a special support for, metrics. And so is there built in support for being able to search across those metric values and compare them across branches, or is that something that you would need to implement on a per project basis as far as a specific function call that determines,
223
00:17:57.875 --> 00:18:01.159
you know, whether it's a positive or negative value across those different comparisons?
224
00:18:01.539 --> 00:18:02.600
Today, we basically
225
00:18:03.539 --> 00:18:13.865
show the metrics. If you need to navigate, you you need to probably implement something at all. But I won't be surprised if we, implement some logic, a metric specific logic. For example,
226
00:18:14.325 --> 00:18:34.525
show me a maximum value of this particular metrics. Show me some maximum value, like, of those, combination of those metrics, something like this. And in addition to version control that's typically used for regular software applications, there are also a number of other types of tooling that are useful to ensure that the projects that you're building
227
00:18:34.825 --> 00:18:37.659
are healthy and that you don't have code regressions.
228
00:18:37.960 --> 00:18:56.820
So things along the lines of linting or unit test support. And I'm wondering, what are some of those adjacent concerns that should be considered when you're building machine learning projects and any ways that, the work that you're doing either with DVC or any of your other projects tie into that? Yeah. It's a it's a good question because, in general, toolset,
229
00:18:57.600 --> 00:18:58.659
in data projects,
230
00:18:59.039 --> 00:19:08.355
it's not this it's not on the same status as a toolset for software projects. Right? It was an interview with, you did with, Wes McKenzie about, like, a month ago,
231
00:19:08.655 --> 00:19:09.375
and he said,
232
00:19:10.100 --> 00:19:17.480
in data science, we kind of, still in the wild west, and this is actually what is happening. We don't have a a great support,
233
00:19:17.860 --> 00:19:22.164
for many scenarios. But from tools point of view, what I am seeing today,
234
00:19:22.465 --> 00:19:23.205
it's become
235
00:19:23.505 --> 00:19:28.085
it it is quite mature in terms of algorithms because we have
236
00:19:28.470 --> 00:19:34.090
PyTorch. We have TensorFlow. We have, like, bunch of other algorithms, like random tree based algorithms.
237
00:19:34.630 --> 00:19:34.790
And,
238
00:19:36.035 --> 00:19:38.535
today, there is a kind of a race of
239
00:19:39.235 --> 00:19:40.294
online monitoring
240
00:19:40.595 --> 00:19:41.095
tools.
241
00:19:41.395 --> 00:19:42.775
For example, TensorBoard.
242
00:19:43.540 --> 00:19:45.720
When you can report your metrics online,
243
00:19:46.580 --> 00:19:55.455
when you train and see what actually is going on on the training phase right now, It is especially important for deep learning because, like, algorithms are still
244
00:19:55.995 --> 00:20:01.375
quite slow, I would say. And there are a bunch of, commercial products in this space,
245
00:20:01.710 --> 00:20:02.210
And,
246
00:20:03.150 --> 00:20:05.730
MLflow, 1 of, open source
project,
247
00:20:06.030 --> 00:20:07.890
which is becoming popular,
248
00:20:08.270 --> 00:20:09.650
which helps you to
249
00:20:10.095 --> 00:20:11.635
track your metrics and visualize,
250
00:20:12.495 --> 00:20:14.515
training process. So this is
251
00:20:15.055 --> 00:20:17.075
kind of a train trend today.
252
00:20:17.480 --> 00:20:18.520
Another trend is,
253
00:20:19.000 --> 00:20:47.065
how to visualize your models, how to understand what is inside your models. And, again, there are a bunch of tools, in order to do this, but state of this tooling, it's still not perfect, I would say. In terms of unit tests, I mean, you can use just a regular 1. Right? Just a regular, unit test framework, but I couldn't say it works really well for ML projects specifically. But what I have seen for many times is, unit test or probably not unit test, but functional test for data engineer,
254
00:20:47.524 --> 00:20:52.980
in data engineering part. When new set of data came into your system, you can easily understand,
255
00:20:53.440 --> 00:20:55.299
you can get basic metrics
256
00:20:55.600 --> 00:21:08.595
and make sure there are no drift of the metrics, there are no big changes of the metrics. So this is how unit test or test, at least, can work in the data world. But toolsets in general, it's kind of a still
257
00:21:08.975 --> 00:21:30.500
a real west. And moving on to the data versioning that is built into DVC. As I was reading through the documentation, it mentions that the actual data files themselves are stored in external systems such as s 3 or Google Cloud Storage or, something like NFS. And so I'm wondering if you can talk through how DBC actually manages
258
00:21:30.800 --> 00:21:35.225
the different versions of that data and any type of sort of
259
00:21:35.705 --> 00:21:51.510
diffing or incremental changes that it is able to track or, any difficulties or challenges that you faced in the process of building that system and integrating it with the software control that you use, Git for in the overall project structure? Yeah. Of course, we don't commit
260
00:21:51.884 --> 00:21:53.585
data to git repository.
261
00:21:54.924 --> 00:21:56.625
We push data to your servers,
262
00:21:57.164 --> 00:22:00.065
to your clouds, usually, and you can reconfigure,
263
00:22:00.764 --> 00:22:01.490
the the cloud.
264
00:22:01.809 --> 00:22:09.830
As I said, we we treat data as binary blobs. And for each particular commit, we can bring you, like, actual
265
00:22:10.445 --> 00:22:17.505
datasets and, all the data artifacts that were in use. We don't do any DIFs per file because
266
00:22:17.870 --> 00:22:27.174
you need to understand semantic of a file in order to do divs. Right? It's not a git. For in in a git, every file is a text. It it it makes sense to make it make it. In data science,
267
00:22:27.475 --> 00:22:28.934
you need to know what exactly
268
00:22:29.235 --> 00:22:32.855
what exact format of of a of a data file you use. However,
269
00:22:33.315 --> 00:22:34.934
we track directories
270
00:22:35.570 --> 00:22:40.710
as a kind of, separate types of structure. If you have a directory with, let's imagine,
271
00:22:41.730 --> 00:22:45.965
100, 000 files, and then you added, like, a few more files into directory
272
00:22:46.265 --> 00:22:47.485
and committed this,
273
00:22:47.785 --> 00:22:49.485
as a new version of your dataset,
274
00:22:49.945 --> 00:22:51.005
then we understand
275
00:22:51.470 --> 00:22:58.210
that only small version of that file was changed, only, like, let's say, 2, 000 files was modified and 1, 000
276
00:22:59.070 --> 00:23:00.370
was added, then
277
00:23:00.925 --> 00:23:01.425
we
278
00:23:01.965 --> 00:23:04.065
version on the div. So you can easily
279
00:23:04.525 --> 00:23:09.005
add your labels in a daily base, in a weekly base without any concern and,
280
00:23:09.510 --> 00:23:10.730
for the size of
281
00:23:11.190 --> 00:23:14.250
your of your directory. We do this this kind of optimization.
282
00:23:14.550 --> 00:23:15.050
And
283
00:23:15.350 --> 00:23:16.330
another optimization
284
00:23:16.790 --> 00:23:18.890
important optimization that we do is
285
00:23:21.415 --> 00:23:26.795
check out files from an internal structure, it creates a copy into your workspace. However,
286
00:23:27.175 --> 00:23:28.315
in a data world,
287
00:23:28.870 --> 00:23:33.210
sometimes it just does not make sense because you don't wanna create, like, a copy of 100,
288
00:23:33.750 --> 00:23:48.009
let's say, gigabytes of data, another copy. And we optimize this process through handling some reference. So you you are not you are not having, you are not having a duplication of your data set. So you can easily work with, hundreds of gigabytes, dozens of gigabytes,
289
00:23:48.330 --> 00:23:56.485
without, like, this kind of concerns. For somebody who is onboarding onto an existing project and they're just checking out the state of the repository
290
00:23:56.865 --> 00:24:11.435
for the first time, is there any built in capacity for being able to say, I only wanna pull the code, I'm not ready pull down all the data yet, or I just wanna pull down a subset of the data because somebody who's working on a, you know, multi 100 gigabyte dataset doesn't necessarily wanna have all of that
291
00:24:11.835 --> 00:24:20.100
located on their laptop as they're building through these experiments. And, just curious what that overall workflow looks like as you're training the models when you're working locally,
292
00:24:20.480 --> 00:24:27.380
how it handles in interacting with these large data repositories to make sure that it doesn't just completely fill up your local disk. Yeah. This is a good question.
293
00:24:27.725 --> 00:24:28.684
Yes. We do this,
294
00:24:29.325 --> 00:24:29.825
granular,
295
00:24:30.205 --> 00:24:38.670
pool. We kind of optimize this as well. And you as a data scientist, you can decide what exactly you need. For example,
296
00:24:39.210 --> 00:24:43.309
if you'd like to deploy your model, which probably within, like, 100
297
00:24:43.770 --> 00:24:46.635
megabytes, right, You probably don't need to take
298
00:24:46.935 --> 00:24:47.755
don't need
299
00:24:48.375 --> 00:24:49.275
to waste time
300
00:24:49.895 --> 00:25:00.070
to pull 100 GB data set, which was used in order to produce model. And then you can specify, I need only this data file. Like, clone your repository first with a code and meta file metadata.
301
00:25:00.445 --> 00:25:07.804
And then say, I need just a data file. I need just a model file. And all the model file will be delivered to your production system, to your,
302
00:25:08.285 --> 00:25:10.050
deployment machine. And the same as datasets.
303
00:25:10.670 --> 00:25:33.970
And there are some other projects that I've talked about and talked with people who are building it, such as Quilt or Packaderm that have built in support for versioning of data. And I'm wondering if you have any plans currently to work on integrating with those systems or just the overall process of what's involved in adding additional support for the data storage piece of DVC?
304
00:25:34.670 --> 00:25:36.595
Yeah. For some of the system,
305
00:25:37.055 --> 00:25:39.795
integration can be done, like, easily. For example,
306
00:25:40.655 --> 00:25:41.875
Pachyderm, it's
307
00:25:42.495 --> 00:25:48.480
a project. It's mostly about data engineering. They have a concept of pipelines, kind of data engineering pipelines,
308
00:25:48.780 --> 00:25:58.945
and DVC can can be used in data engineering pipelines. We it it has notion of ML pipelines. It's kind of a lightweight concept. It's optimized specifically
309
00:25:59.245 --> 00:25:59.745
for
310
00:26:00.280 --> 00:26:03.340
machine learning engineers. It doesn't have all this complexity
311
00:26:04.520 --> 00:26:07.740
of data engineering pipelines, but it can easily
312
00:26:08.355 --> 00:26:09.015
be used
313
00:26:09.795 --> 00:26:15.975
as a single step in engineering pipeline. And we have seen that for many times when people take, for example, DVC,
314
00:26:16.275 --> 00:26:18.789
DVC pipeline and put that inside
315
00:26:19.250 --> 00:26:28.235
Airflow as a single step. And with this kind of design, it's actually a good design because you give a lightweight tool for ML engineers and data scientists
316
00:26:28.695 --> 00:26:30.235
so they can easily produce
317
00:26:30.615 --> 00:26:33.414
a result and they can iterate faster in order to,
318
00:26:34.540 --> 00:26:35.520
create theirs.
319
00:26:36.060 --> 00:26:39.760
And you have a production system where DVC can be easily just injected
320
00:26:40.060 --> 00:26:45.995
inside. And there is a term. I don't remember what company it used. Next Netflix probably. They used
321
00:26:46.295 --> 00:26:50.715
term DAG inside DAG, which means you have a DAG of, data pipelines
322
00:26:51.160 --> 00:26:55.900
and you have a ML DAG for 1 particular problem,
and then basically
323
00:26:56.280 --> 00:27:05.115
inject a lot of, like, ML DAGs inside the data engineering DAG. So from this point of view, there are no problem to integrate. There are no issues with integration
324
00:27:05.895 --> 00:27:06.395
to
325
00:27:06.935 --> 00:27:11.750
Pachyderm or Airflow or other systems. Regarding real data, they do versioning.
326
00:27:12.210 --> 00:27:19.395
They work with s 3 as well. Potentially, we can we can be integrated with that, and we are thinking about about this.
327
00:27:19.935 --> 00:27:21.795
And but we are trying to be
328
00:27:22.095 --> 00:27:22.595
consumer
329
00:27:23.455 --> 00:27:24.995
driven, customer driven, and
330
00:27:25.295 --> 00:27:25.955
the biggest
331
00:27:26.399 --> 00:27:26.899
need
332
00:27:27.440 --> 00:27:30.500
today is probably integration with MLflow because MLflow
333
00:27:30.880 --> 00:27:34.645
shines really well within, online metrics tracking site.
334
00:27:35.185 --> 00:27:39.285
And sometimes people like to use, MLflow for tracking,
335
00:27:39.665 --> 00:27:48.150
tracking metric online and DVC for your data files. And this is 1 of the integration that we are thinking about,
336
00:27:48.530 --> 00:27:50.390
today. And so
337
00:27:50.690 --> 00:27:52.390
in terms of the actual implementation
338
00:27:52.770 --> 00:27:53.430
of DBC
339
00:27:53.894 --> 00:28:04.070
itself, I know that it's primarily written in Python, and you mentioned that that's largely driven by the fact that that is becoming the lingua franca for data scientists. So I'm wondering if
340
00:28:04.850 --> 00:28:09.510
now that you have gone a bit further in the overall implementation and maintenance of DBC,
341
00:28:10.050 --> 00:28:14.335
if you think that that is still the right choice. And if you were to start over today,
342
00:28:14.715 --> 00:28:21.695
what are some of the things that you would do differently either in terms of language choice or system design or overall project structure?
343
00:28:22.210 --> 00:28:26.950
Regarding language, I I believe Python is a good choice for such kind of, projects,
344
00:28:27.570 --> 00:28:28.070
for
345
00:28:28.370 --> 00:28:29.510
2 major reasons.
346
00:28:30.395 --> 00:28:32.575
1, we are targeting data scientists,
347
00:28:33.115 --> 00:28:39.775
and, most of them are comfortable with Python, and we expect the data scientists to contribute to our code base.
348
00:28:40.140 --> 00:28:45.280
And if you write this this kind of project in, like, let's say, c or c plus plus or Golang,
349
00:28:45.580 --> 00:28:48.160
probably you won't see a lot of contribution from the community
350
00:28:48.545 --> 00:28:54.085
because community speaks a different language. For us, it's work works perfectly. Data scientists are contributing to code,
351
00:28:54.705 --> 00:28:56.165
which is great. And
352
00:28:57.030 --> 00:28:57.850
second reason
353
00:28:59.270 --> 00:29:00.570
was programming KPIs.
354
00:29:01.670 --> 00:29:04.309
Before, we were thinking about creating,
355
00:29:05.110 --> 00:29:09.345
a DVC through APIs. It's kind of an another option of using DVC.
356
00:29:09.885 --> 00:29:11.265
And if we use,
357
00:29:11.885 --> 00:29:14.785
if we write code in Python, it kind of
358
00:29:15.779 --> 00:29:18.200
goes out of the box. You can reuse,
359
00:29:18.899 --> 00:29:20.039
DVC as a library
360
00:29:20.820 --> 00:29:22.039
and, inject
361
00:29:22.419 --> 00:29:23.720
into into your project.
362
00:29:24.295 --> 00:29:27.595
If you use a different language, it just creates some overhead.
363
00:29:27.895 --> 00:29:32.520
You need to think about, like, wrapping this into into kind of a nice form.
364
00:29:33.000 --> 00:29:34.700
This were the major reasons.
365
00:29:35.320 --> 00:29:42.534
And, so far, we are happy with with the Python, and it works so nicely. And you mentioned being able to use,
366
00:29:43.235 --> 00:29:50.480
DBC as a library as well. And so I'm wondering if there are any use cases that you've seen that were particularly
367
00:29:50.780 --> 00:29:56.880
interesting or unexpected or novel either in that library use case or just in the command line oriented
368
00:29:57.265 --> 00:30:06.870
way that it was originally designed? Oh, the sometimes you, people ask for library support because they need, they need to implement some kind of a more crazy scenarios,
369
00:30:07.250 --> 00:30:08.070
I can say.
370
00:30:08.610 --> 00:30:09.269
For example,
371
00:30:09.570 --> 00:30:10.630
people use DVC,
372
00:30:11.250 --> 00:30:12.549
to build their
373
00:30:12.850 --> 00:30:20.585
own kind of platforms, if you wish, data science platform. They'd like to build kind of a continuous integration framework,
374
00:30:21.285 --> 00:30:24.559
when DVC play plays role of this kind of a glue,
375
00:30:24.860 --> 00:30:37.595
between your local experience and CI experience. And they are asking for libraries, but we had such a great command line support, command line toolset, and people just switched back to command line experience.
376
00:30:38.640 --> 00:30:45.665
But 1 day, I won't be surprised if some someone will be using DVCs just purely as a library. And I'm also interested wrapping
377
00:30:51.405 --> 00:31:05.395
a single implementation step for running the wrapping a single implementation step for running the model training piece of it. So I'm wondering if you can talk a bit more about that and some of the specific implementations that you've seen. Yeah. Absolutely. This is actually a really good question.
378
00:31:06.095 --> 00:31:09.140
I believe that data engineers need pipelines.
379
00:31:09.920 --> 00:31:16.420
Right? And, data scientists and machine learning engineers need pipe need pipelines. But the fact is their needs
380
00:31:16.815 --> 00:31:18.835
absolutely different. Data engineers
381
00:31:19.375 --> 00:31:25.555
do care about stable system. If it fails, the system needs to do something. It has to recover,
382
00:31:26.540 --> 00:31:30.000
and, this is kind of a primary goal of the data engineering
383
00:31:30.380 --> 00:31:33.919
framework. In data science, it works kind of an opposite.
384
00:31:34.385 --> 00:31:35.845
You fail all the time
385
00:31:36.305 --> 00:31:43.789
when you come up with some idea. You write code, you run this code, it fails. You fix it, it fails, and etcetera, etcetera. And your goal is to
386
00:31:44.669 --> 00:31:45.970
it's to make a framework,
387
00:31:46.830 --> 00:31:56.495
to check ideas fast, to fail fast. This is the goal of ML engineering. And this is a good practice to separate 2 frameworks of, 2 kind of pipeline frameworks.
388
00:31:56.990 --> 00:31:58.290
1 is stable
389
00:31:58.670 --> 00:32:05.010
engineering, and second 1, fast, lightweight kind of experimentation pipeline, if you wish. And when you separate
390
00:32:05.475 --> 00:32:08.055
separate those these 2 worlds, you simplify
391
00:32:08.835 --> 00:32:10.535
life of ML engineers a lot.
392
00:32:10.915 --> 00:32:26.025
They don't need to deal with complicated stuff. They don't need to waste time on understanding how, like, Airflow works, how Luigi works. They just live in their world, produce models. And once the model is ready, they need a clear way how to inject
393
00:32:26.325 --> 00:32:27.065
this pipeline
394
00:32:27.605 --> 00:32:28.105
into
395
00:32:28.405 --> 00:32:29.145
data pipeline.
396
00:32:29.605 --> 00:32:32.265
And you can you can build very simple kind of
397
00:32:32.565 --> 00:32:35.460
tool in order to do this. So I remember when
398
00:32:35.840 --> 00:32:42.020
I work at Microsoft, to me, it took maybe, like, couple hours to product to Shanaize my pipeline
399
00:32:42.375 --> 00:32:45.115
because I have a separate workflow. I I had a separate,
400
00:32:45.895 --> 00:32:46.875
I had a separate,
401
00:32:47.335 --> 00:32:48.235
tool for
402
00:32:48.615 --> 00:32:49.434
ML pipelines.
403
00:32:49.760 --> 00:32:59.445
And this it works nicely. I believe this is kind of a future, future of engineering. We need to separate these 2 things. And I'm also interested in the deployment capabilities
404
00:32:59.985 --> 00:33:07.610
that DBC provides as far as being able to put models into production or revert the state of the model in the event that it's producing
405
00:33:11.929 --> 00:33:18.945
providing are providing problems to the business or, just some of the overall tooling and workflow
406
00:33:19.565 --> 00:33:26.289
that is involved in running machine learning models in production, and particularly as far as metrics tracking
407
00:33:26.590 --> 00:33:31.490
to know when the model needs to be retrained and just completing closing the loop of that overall
408
00:33:34.155 --> 00:33:57.950
yeah. Deployment is so we're interested in, Carrie, because it's, close to business. And, there are a lot of funny story about ML model deployment. Sometimes it goes like a software engineer asks data science team, like, can we remote revert our model to the not the previous 1, but the model from the previous week. And data scientist, like, yeah. Sure. We have code. We have datasets. I need just, like, a 5 hours to retrain it.
409
00:33:58.650 --> 00:34:03.395
And it does not make any sense, right, to spend 5 hours to reverse a model.
410
00:34:03.695 --> 00:34:09.075
In in software engineering work world, it does not work this way. You need to have everything
411
00:34:09.535 --> 00:34:10.035
available,
412
00:34:10.380 --> 00:34:11.200
and you need to
413
00:34:11.500 --> 00:34:13.120
revert, like, right away because
414
00:34:13.580 --> 00:34:15.340
waiting 5 hours means,
415
00:34:15.980 --> 00:34:16.480
wasting
416
00:34:16.860 --> 00:34:18.720
money for business. And
417
00:34:19.575 --> 00:34:22.855
DBC basically helps you to organize this process. It helps
418
00:34:23.495 --> 00:34:24.715
it it it basically creates
419
00:34:25.255 --> 00:34:27.915
a common language between your data scientists
420
00:34:28.380 --> 00:34:30.960
who produce the model and ML engineers
421
00:34:31.579 --> 00:34:32.079
who
422
00:34:32.460 --> 00:34:35.279
take model and deploy model. So next time,
423
00:34:35.900 --> 00:34:37.519
with a proper data management,
424
00:34:38.415 --> 00:34:44.595
you won't be even asking data scientists to give you, like, as a as a previous model. You should have everything,
425
00:34:45.055 --> 00:34:45.795
in your
426
00:34:46.220 --> 00:34:52.400
system, like DVC or not DVC. It doesn't matter. But you need to, have all all the artifacts available. And
427
00:34:53.020 --> 00:34:54.960
from online from metrics
428
00:34:55.365 --> 00:34:58.825
tracking point of view, this is actually a separate question. Because,
429
00:34:59.125 --> 00:35:01.145
when you're talking about metrics tracking,
430
00:35:01.925 --> 00:35:02.745
in production,
431
00:35:03.600 --> 00:35:05.460
it usually means online metrics.
432
00:35:05.840 --> 00:35:07.860
It usually means metrics based on
433
00:35:08.720 --> 00:35:12.905
feedback loop from users. And this is a separate equation. So DBC, it's mostly about
434
00:35:13.785 --> 00:35:18.285
deployment or not deployment, mostly about development phase. It, today
435
00:35:18.665 --> 00:35:20.765
doesn't it does nothing basically
436
00:35:21.145 --> 00:35:23.320
with online metrics. And so
437
00:35:23.860 --> 00:35:28.840
you are actually building and maintaining this project under the auspices
438
00:35:29.220 --> 00:35:34.234
of iterative dotai, which is actually a venture backed company. So I'm curious
439
00:35:35.015 --> 00:35:35.914
what the
440
00:35:36.454 --> 00:35:48.465
overall value equation is for your investors that makes it worthwhile for them to fund your efforts on building and releasing this open source project and, just the overall strategy that you have for the business?
441
00:35:48.845 --> 00:35:49.745
You will be surprised
442
00:35:50.445 --> 00:35:51.665
how, investors
443
00:35:52.045 -->
00:35:53.425
are interested in
444
00:35:53.940 --> 00:35:55.640
open source projects today. Today,
445
00:35:56.820 --> 00:35:59.000
especially the last year, was super successful,
446
00:35:59.620 --> 00:36:00.920
for open source projects.
447
00:36:01.620 --> 00:36:02.440
Last year,
448
00:36:02.775 --> 00:36:11.275
MuleSoft was acquired for numbers of 1, 000, 000 oh, billions. Sorry. Last year, Elasticsearch went IPO. It's purely an open source company.
449
00:36:11.610 --> 00:36:12.110
And
450
00:36:12.570 --> 00:36:13.070
and
451
00:36:13.690 --> 00:36:18.330
when you do open source, it means it usually mean that you are doing,
452
00:36:18.730 --> 00:36:23.695
IT infrastructure. In many cases, you are doing IT infrastructure. IT infrastructure is a good area for monetization.
453
00:36:24.315 --> 00:36:28.015
And, with a successful open source project, there are a bunch of companies,
454
00:36:28.555 --> 00:36:29.455
which are monetizing
455
00:36:30.000 --> 00:36:36.500
this open source. It's just important it's very important to understand your business model because with open source, there are few common,
456
00:36:37.360 --> 00:36:37.860
models.
457
00:36:38.285 --> 00:36:43.425
1 is obvious service model, a kind of consultancy model. The second is
458
00:36:43.725 --> 00:36:44.535
open core model.
459
00:36:45.700 --> 00:36:52.680
When you build software and produce a piece of the software with advanced feature for for money or a different version
460
00:36:53.315 --> 00:36:54.295
of your software
461
00:36:54.675 --> 00:36:56.375
as a product for enterprises.
462
00:36:56.675 --> 00:36:58.855
And the 3rd model is ecosystem.
463
00:36:59.155 --> 00:37:03.319
When you build a product, an open source product, and create
464
00:37:03.859 --> 00:37:04.359
services
465
00:37:04.740 --> 00:37:05.960
as a separate product.
466
00:37:06.339 --> 00:37:08.520
It's it's 1 example might be,
467
00:37:08.900 --> 00:37:10.875
Git and GitHub when they have open
468
00:37:11.415 --> 00:37:20.020
source and SaaS service, which is absolutely different product, it's absolutely different experience and use cases. And you need to understand which model you fit,
469
00:37:20.400 --> 00:37:21.060
fit in.
470
00:37:21.360 --> 00:37:23.140
And for successful project,
471
00:37:23.520 --> 00:37:26.660
yeah, a lot of VC are interested in in this experience,
472
00:37:27.095 --> 00:37:30.154
in this, in this kind of kinds of businesses.
473
00:37:30.615 --> 00:37:46.095
Initially, I started the project as a it was my pet project for about a year. And then I was thinking, like, how to make something big out of this, how to spend more time on this, how to find more resources in order to do this. And it was clear that this project, if it is successful,
474
00:37:47.115 --> 00:37:52.470
there are few businesses will be monetizing this area. And why don't we be this business,
475
00:37:53.090 --> 00:38:03.605
which builds a product and monetizes product? So it it's kind of a natural path for a modern open source project, I would say. And as far as your overall experience
476
00:38:03.985 --> 00:38:13.420
of building and maintaining the DVC project and the community, I'm wondering what you have found to be some of the most interesting or challenging or unexpected lessons learned in the process.
477
00:38:14.440 --> 00:38:15.819
1 of the lessons that
478
00:38:16.194 --> 00:38:16.934
I learned
479
00:38:17.315 --> 00:38:27.390
I think it's a usual business lesson, actually. So when you build your project, you know what to do. You know your road map. You know your you know your goal, and you are just building. But 1 day,
480
00:38:27.690 --> 00:38:35.855
users came to you, and they asked for a lot of different stuff. And then you have kind of attention. You have attention between your vision, your plans,
481
00:38:36.234 --> 00:38:47.670
and demand from user side. And today, there is a point when every day we have a few requests from users. Sometimes we have, like, 10 requests per day, and it's
482
00:38:47.970 --> 00:38:49.670
not easy to balance the things.
483
00:38:50.235 --> 00:38:52.175
Because if you if you
484
00:38:52.715 --> 00:38:55.935
do everything people ask, you have no time
485
00:38:56.315 --> 00:39:00.609
for your road map. And, actually, you have no time to answer, to
486
00:39:01.070 --> 00:39:37.970
fix or to fix and to implement everything that people ask. So you need to learn how to prioritize things. You need to learn how to say sometimes say no to users and say, we will do this, but probably not right now. And yeah. So this is not easy to do. This is what you need to learn during the process. And as I said, it's not something new in in open source. It's it it was the same the same way in the business environment, and I have seen that for many times. And looking forward in terms of the work that you have planned for DBC, I'm curious what types of features or improvements that you have on the road map. Regarding the features for
487
00:39:38.275 --> 00:39:39.494
for the near future,
488
00:39:40.035 --> 00:39:40.934
we are going
489
00:39:41.315 --> 00:39:41.974
to release,
490
00:39:42.275 --> 00:39:44.454
better support for, dataset
491
00:39:45.075 --> 00:39:45.575
versioning
492
00:39:45.930 --> 00:39:47.230
and ML model versioning.
493
00:39:47.690 --> 00:39:48.590
We are introducing
494
00:39:48.970 --> 00:39:50.750
2 new commands into DVC,
495
00:39:51.130 --> 00:39:52.030
which simplify
496
00:39:52.650 --> 00:39:54.190
your experience. Today,
497
00:39:55.065 --> 00:39:59.805
some company are using monorepo with a bunch of datasets inside,
498
00:40:00.905 --> 00:40:03.964
and we need kind of a new commands to
499
00:40:04.530 --> 00:40:07.910
to version them, better. Sometimes because these datasets
500
00:40:08.290 --> 00:40:16.105
are kind of evolving, in a in a in a different speed, and you need to work with 1 version of those dataset, or 1 version with another dataset.
501
00:40:16.505 --> 00:40:18.445
Sometimes so basically, this is
502
00:40:18.745 --> 00:40:24.640
1 of the steps we we are taking. And another use case for datasets is cross repository
503
00:40:25.099 --> 00:40:27.599
references. Other companies are not using monorepo.
504
00:40:28.060 --> 00:40:28.800
They're using
505
00:40:29.405 --> 00:40:33.265
set of repos. For example, they might have, like, 10, 20 repos with datasets
506
00:40:34.285 --> 00:40:42.260
and 20 more with models, and they need to cross reference the datasets. This is the next command we are going to implement to support this, cross,
507
00:40:42.900 --> 00:40:45.400
reference cross, repository scenarios.
508
00:40:45.785 --> 00:40:47.405
This is our near future.
509
00:40:47.785 --> 00:40:49.325
And in the long division,
510
00:40:50.025 --> 00:40:51.805
the next step would be implement
511
00:40:52.345 --> 00:40:53.165
more features
512
00:40:53.465 --> 00:40:53.965
for
513
00:40:54.430 --> 00:40:55.890
better experiment support,
514
00:40:56.670 --> 00:41:00.930
especially when people deal with, such a scenario as, hyperparameter tuning.
515
00:41:01.310 --> 00:41:03.545
And they need to have, let's say,
516
00:41:03.944 --> 00:41:05.085
1, 000 experiment,
517
00:41:05.625 --> 00:41:10.444
and they need to still control them. They don't wanna have 1, 000 branches.
518
00:41:11.300 --> 00:41:11.800
And,
519
00:41:12.740 --> 00:41:13.140
this is,
520
00:41:13.859 --> 00:41:26.005
this experience we need to improve. And we have a kind of a we have a clear plan how to do how to do this. And that's pretty much it for the next, maybe, half a year. And, eventually, we believe that DBC can be this, platform
521
00:41:26.464 --> 00:41:27.685
when people can
522
00:41:28.300 --> 00:41:29.920
work on the same environment
523
00:41:30.220 --> 00:41:33.280
in 1 team and share idea between each other.
524
00:41:33.580 --> 00:41:35.680
And in the future, we believe we can
525
00:41:36.065 --> 00:41:38.645
create experience, great experience when people can
526
00:41:38.945 --> 00:41:39.925
share idea
527
00:41:40.625 --> 00:41:42.165
even between companies,
528
00:41:42.625 --> 00:41:44.965
between teams. This is, the big feature,
529
00:41:45.520 --> 00:41:51.700
future of DVC that I believe in. And are there any other aspects of the work that you're doing on DVC
530
00:41:52.320 --> 00:42:02.325
or the overall workflow of machine learning projects that we didn't discuss yet that you think we should cover before we close out the show? I don't think I have something to add, but
531
00:42:02.625 --> 00:42:04.085
what I believe in,
532
00:42:05.060 --> 00:42:05.880
we need
533
00:42:06.500 --> 00:42:11.800
to pay more attention on how we organize our work. We need to pay more attention how we
534
00:42:12.345 --> 00:42:13.805
structure our project,
535
00:42:14.664 --> 00:42:15.164
where,
536
00:42:15.785 --> 00:42:17.325
we we need to find more
537
00:42:17.704 --> 00:42:20.780
places when we waste our time instead of doing actual work.
538
00:42:21.340 --> 00:42:23.200
And this is very important to
539
00:42:23.580 --> 00:42:24.480
be more organized,
540
00:42:24.860 --> 00:42:32.205
more productive as a data scientist because today, we are still on the Wild West, and it needs to be changed as soon as possible.
541
00:42:33.065 --> 00:42:34.845
And it is important to
542
00:42:35.145 --> 00:42:37.299
pay attention to this. It's important
543
00:42:37.839 --> 00:42:38.660
to understand,
544
00:42:39.119 --> 00:42:55.914
this problem set. Alright. Well, for anybody who wants to follow along with the work that you're doing or get in touch, I'll have you add your preferred contact information to the show notes. And so with that, I'll move us into the pics. And this week, I'm going to choose a tool that I started using recently and experimenting with called Otter dotai,
545
00:42:56.680 --> 00:42:58.700
And it's billed as a,
546
00:42:59.400 --> 00:43:02.540
voice note taking service that will transcribe your,
547
00:43:03.000 --> 00:43:07.555
meeting notes or just mental notes to yourself to text so that they're searchable.
548
00:43:07.934 --> 00:43:13.840
And I've been experimenting with using it to try out, generating transcriptions for the podcast. So
549
00:43:14.140 --> 00:43:16.960
I'm looking forward to start using that more,
550
00:43:17.340 --> 00:43:26.575
frequently and starting to add transcripts to the show. So definitely worth checking out if you're looking for something that does a pretty good job of generating transcripts automatically
551
00:43:27.115 --> 00:43:41.815
and at a reasonable price. So with that, I'll pass it to you, Dimitry. Do you have any picks this week? So I I I thought the open source part, and open source versus, venture capital, it it it is the question that we will discuss. Actually, I have nothing special to suggest. But today, it's
552
00:43:42.115 --> 00:43:45.015
nice weather. It is spring just started.
553
00:43:45.555 --> 00:43:47.415
I suggest I spend more time outside
554
00:43:48.420 --> 00:43:49.800
reading outside and,
555
00:43:50.260 --> 00:43:52.440
walking around the city or town.
556
00:43:53.540 --> 00:43:59.455
Alright. Well, thank you very much for taking the time today to join me and discuss the work that you're doing on DVC
557
00:44:00.075 --> 00:44:11.420
and adding some better structure to the overall project development of machine learning life cycles. So thank you for that, and I hope you enjoy the rest of your day. Thank you, Tobias. Thank you.