File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "cells" : [
33 {
44 "cell_type" : " markdown" ,
5- "id" : " 32827bda " ,
5+ "id" : " adb0c3cd " ,
66 "metadata" : {},
77 "source" : [
88 " # 🎨 Data Designer Tutorial: The Basics\n " ,
1414 },
1515 {
1616 "cell_type" : " markdown" ,
17- "id" : " cbe6b81e " ,
17+ "id" : " 73d42bda " ,
1818 "metadata" : {},
1919 "source" : [
2020 " ### ⚡ Colab Setup\n " ,
2525 {
2626 "cell_type" : " code" ,
2727 "execution_count" : null ,
28- "id" : " 5b007eed " ,
28+ "id" : " c6675487 " ,
2929 "metadata" : {},
3030 "outputs" : [],
3131 "source" : [
3636 {
3737 "cell_type" : " code" ,
3838 "execution_count" : null ,
39- "id" : " 58dfdb07 " ,
39+ "id" : " b98ebeee " ,
4040 "metadata" : {},
4141 "outputs" : [],
4242 "source" : [
5353 },
5454 {
5555 "cell_type" : " markdown" ,
56- "id" : " 03d07dff " ,
56+ "id" : " 6e2355bb " ,
5757 "metadata" : {},
5858 "source" : [
5959 " ### 📦 Import the essentials\n " ,
6464 {
6565 "cell_type" : " code" ,
6666 "execution_count" : null ,
67- "id" : " 749a1536 " ,
67+ "id" : " 95bf5ae3 " ,
6868 "metadata" : {},
6969 "outputs" : [],
7070 "source" : [
8585 },
8686 {
8787 "cell_type" : " markdown" ,
88- "id" : " 5c31d723 " ,
88+ "id" : " ee906a92 " ,
8989 "metadata" : {},
9090 "source" : [
9191 " ### ⚙️ Initialize the Data Designer interface\n " ,
9898 {
9999 "cell_type" : " code" ,
100100 "execution_count" : null ,
101- "id" : " 826f2421 " ,
101+ "id" : " 15b35cb8 " ,
102102 "metadata" : {},
103103 "outputs" : [],
104104 "source" : [
107107 },
108108 {
109109 "cell_type" : " markdown" ,
110- "id" : " b6bfc01a " ,
110+ "id" : " 999ce38a " ,
111111 "metadata" : {},
112112 "source" : [
113113 " ### 🎛️ Define model configurations\n " ,
124124 {
125125 "cell_type" : " code" ,
126126 "execution_count" : null ,
127- "id" : " 11aa0146 " ,
127+ "id" : " f5ab65d5 " ,
128128 "metadata" : {},
129129 "outputs" : [],
130130 "source" : [
154154 },
155155 {
156156 "cell_type" : " markdown" ,
157- "id" : " c10b93a6 " ,
157+ "id" : " 912d7954 " ,
158158 "metadata" : {},
159159 "source" : [
160160 " ### 🏗️ Initialize the Data Designer Config Builder\n " ,
169169 {
170170 "cell_type" : " code" ,
171171 "execution_count" : null ,
172- "id" : " 02ae97ca " ,
172+ "id" : " 0ba83688 " ,
173173 "metadata" : {},
174174 "outputs" : [],
175175 "source" : [
178178 },
179179 {
180180 "cell_type" : " markdown" ,
181- "id" : " c4c780c8 " ,
181+ "id" : " ee2de21d " ,
182182 "metadata" : {},
183183 "source" : [
184184 " ## 🎲 Getting started with sampler columns\n " ,
195195 {
196196 "cell_type" : " code" ,
197197 "execution_count" : null ,
198- "id" : " 685417ab " ,
198+ "id" : " 3009cfa5 " ,
199199 "metadata" : {},
200200 "outputs" : [],
201201 "source" : [
204204 },
205205 {
206206 "cell_type" : " markdown" ,
207- "id" : " 6bae388c " ,
207+ "id" : " c42c890f " ,
208208 "metadata" : {},
209209 "source" : [
210210 " Let's start designing our product review dataset by adding product category and subcategory columns.\n "
213213 {
214214 "cell_type" : " code" ,
215215 "execution_count" : null ,
216- "id" : " 6122711b " ,
216+ "id" : " 16251687 " ,
217217 "metadata" : {},
218218 "outputs" : [],
219219 "source" : [
294294 },
295295 {
296296 "cell_type" : " markdown" ,
297- "id" : " 12d8c063 " ,
297+ "id" : " ff41c919 " ,
298298 "metadata" : {},
299299 "source" : [
300300 " Next, let's add samplers to generate data related to the customer and their review.\n "
303303 {
304304 "cell_type" : " code" ,
305305 "execution_count" : null ,
306- "id" : " c4c21fa0 " ,
306+ "id" : " 78ec15fc " ,
307307 "metadata" : {},
308308 "outputs" : [],
309309 "source" : [
335335 " )\n " ,
336336 " )\n " ,
337337 " \n " ,
338- " config_builder .validate()"
338+ " data_designer .validate(config_builder )"
339339 ]
340340 },
341341 {
342342 "cell_type" : " markdown" ,
343- "id" : " be6bd3c8 " ,
343+ "id" : " 8ac2131e " ,
344344 "metadata" : {},
345345 "source" : [
346346 " ## 🦜 LLM-generated columns\n " ,
355355 {
356356 "cell_type" : " code" ,
357357 "execution_count" : null ,
358- "id" : " 99e953d8 " ,
358+ "id" : " d8232495 " ,
359359 "metadata" : {},
360360 "outputs" : [],
361361 "source" : [
386386 " )\n " ,
387387 " )\n " ,
388388 " \n " ,
389- " config_builder .validate()"
389+ " data_designer .validate(config_builder )"
390390 ]
391391 },
392392 {
393393 "cell_type" : " markdown" ,
394- "id" : " ec30007b " ,
394+ "id" : " 9105ddf2 " ,
395395 "metadata" : {},
396396 "source" : [
397397 " ### 🔁 Iteration is key – preview the dataset!\n " ,
408408 {
409409 "cell_type" : " code" ,
410410 "execution_count" : null ,
411- "id" : " 7ac1f25b " ,
411+ "id" : " a6b02b74 " ,
412412 "metadata" : {},
413413 "outputs" : [],
414414 "source" : [
418418 {
419419 "cell_type" : " code" ,
420420 "execution_count" : null ,
421- "id" : " 67d8dff4 " ,
421+ "id" : " 74a4a386 " ,
422422 "metadata" : {},
423423 "outputs" : [],
424424 "source" : [
429429 {
430430 "cell_type" : " code" ,
431431 "execution_count" : null ,
432- "id" : " f78e4d9f " ,
432+ "id" : " b1be4d95 " ,
433433 "metadata" : {},
434434 "outputs" : [],
435435 "source" : [
439439 },
440440 {
441441 "cell_type" : " markdown" ,
442- "id" : " ee838ed6 " ,
442+ "id" : " c2871df4 " ,
443443 "metadata" : {},
444444 "source" : [
445445 " ### 📊 Analyze the generated data\n " ,
452452 {
453453 "cell_type" : " code" ,
454454 "execution_count" : null ,
455- "id" : " 4bea0fca " ,
455+ "id" : " b2beb476 " ,
456456 "metadata" : {},
457457 "outputs" : [],
458458 "source" : [
462462 },
463463 {
464464 "cell_type" : " markdown" ,
465- "id" : " da9875d4 " ,
465+ "id" : " 765fb038 " ,
466466 "metadata" : {},
467467 "source" : [
468468 " ### 🆙 Scale up!\n " ,
475475 {
476476 "cell_type" : " code" ,
477477 "execution_count" : null ,
478- "id" : " 8c7f20b4 " ,
478+ "id" : " f4fc625e " ,
479479 "metadata" : {},
480480 "outputs" : [],
481481 "source" : [
485485 {
486486 "cell_type" : " code" ,
487487 "execution_count" : null ,
488- "id" : " 2f5fdaa8 " ,
488+ "id" : " 58989731 " ,
489489 "metadata" : {},
490490 "outputs" : [],
491491 "source" : [
498498 {
499499 "cell_type" : " code" ,
500500 "execution_count" : null ,
501- "id" : " 5c2d935f " ,
501+ "id" : " 80351a24 " ,
502502 "metadata" : {},
503503 "outputs" : [],
504504 "source" : [
510510 },
511511 {
512512 "cell_type" : " markdown" ,
513- "id" : " a80515b7 " ,
513+ "id" : " cc79ae74 " ,
514514 "metadata" : {},
515515 "source" : [
516516 " ## ⏭️ Next Steps\n " ,
You can’t perform that action at this time.
0 commit comments