Skip to content

Remove README link to deprecated Colab notebook#6080

Merged
mariosasko merged 1 commit into
mainfrom
remove-colab-link
Jul 26, 2023
Merged

Remove README link to deprecated Colab notebook#6080
mariosasko merged 1 commit into
mainfrom
remove-colab-link

Conversation

@mariosasko

Copy link
Copy Markdown
Collaborator

No description provided.

@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Jul 26, 2023

Copy link
Copy Markdown

The documentation is not available anymore as the PR was closed or merged.

@github-actions

Copy link
Copy Markdown
Show benchmarks

PyArrow==8.0.0

Show updated benchmarks!

Benchmark: benchmark_array_xd.json

metric read_batch_formatted_as_numpy after write_array2d read_batch_formatted_as_numpy after write_flattened_sequence read_batch_formatted_as_numpy after write_nested_sequence read_batch_unformated after write_array2d read_batch_unformated after write_flattened_sequence read_batch_unformated after write_nested_sequence read_col_formatted_as_numpy after write_array2d read_col_formatted_as_numpy after write_flattened_sequence read_col_formatted_as_numpy after write_nested_sequence read_col_unformated after write_array2d read_col_unformated after write_flattened_sequence read_col_unformated after write_nested_sequence read_formatted_as_numpy after write_array2d read_formatted_as_numpy after write_flattened_sequence read_formatted_as_numpy after write_nested_sequence read_unformated after write_array2d read_unformated after write_flattened_sequence read_unformated after write_nested_sequence write_array2d write_flattened_sequence write_nested_sequence
new / old (diff) 0.006458 / 0.011353 (-0.004894) 0.003895 / 0.011008 (-0.007114) 0.084280 / 0.038508 (0.045772) 0.071304 / 0.023109 (0.048195) 0.313910 / 0.275898 (0.038012) 0.344070 / 0.323480 (0.020590) 0.005413 / 0.007986 (-0.002573) 0.003308 / 0.004328 (-0.001021) 0.064570 / 0.004250 (0.060320) 0.056824 / 0.037052 (0.019771) 0.321102 / 0.258489 (0.062613) 0.355834 / 0.293841 (0.061993) 0.031252 / 0.128546 (-0.097294) 0.008427 / 0.075646 (-0.067219) 0.287348 / 0.419271 (-0.131924) 0.053261 / 0.043533 (0.009728) 0.324892 / 0.255139 (0.069753) 0.335847 / 0.283200 (0.052647) 0.023453 / 0.141683 (-0.118230) 1.485456 / 1.452155 (0.033301) 1.531329 / 1.492716 (0.038612)

Benchmark: benchmark_getitem_100B.json

metric get_batch_of_1024_random_rows get_batch_of_1024_rows get_first_row get_last_row
new / old (diff) 0.201924 / 0.018006 (0.183918) 0.447188 / 0.000490 (0.446698) 0.005543 / 0.000200 (0.005343) 0.000086 / 0.000054 (0.000031)

Benchmark: benchmark_indices_mapping.json

metric select shard shuffle sort train_test_split
new / old (diff) 0.027586 / 0.037411 (-0.009825) 0.082412 / 0.014526 (0.067886) 0.094851 / 0.176557 (-0.081706) 0.151331 / 0.737135 (-0.585804) 0.094475 / 0.296338 (-0.201863)

Benchmark: benchmark_iterating.json

metric read 5000 read 50000 read_batch 50000 10 read_batch 50000 100 read_batch 50000 1000 read_formatted numpy 5000 read_formatted pandas 5000 read_formatted tensorflow 5000 read_formatted torch 5000 read_formatted_batch numpy 5000 10 read_formatted_batch numpy 5000 1000 shuffled read 5000 shuffled read 50000 shuffled read_batch 50000 10 shuffled read_batch 50000 100 shuffled read_batch 50000 1000 shuffled read_formatted numpy 5000 shuffled read_formatted_batch numpy 5000 10 shuffled read_formatted_batch numpy 5000 1000
new / old (diff) 0.399004 / 0.215209 (0.183795) 3.974652 / 2.077655 (1.896997) 1.991909 / 1.504120 (0.487789) 1.811684 / 1.541195 (0.270489) 1.869774 / 1.468490 (0.401283) 0.487745 / 4.584777 (-4.097032) 3.558945 / 3.745712 (-0.186768) 5.530468 / 5.269862 (0.260606) 3.293147 / 4.565676 (-1.272529) 0.057531 / 0.424275 (-0.366744) 0.007212 / 0.007607 (-0.000395) 0.470325 / 0.226044 (0.244281) 4.701652 / 2.268929 (2.432723) 2.453020 / 55.444624 (-52.991605) 2.110152 / 6.876477 (-4.766325) 2.314669 / 2.142072 (0.172597) 0.615039 / 4.805227 (-4.190189) 0.133229 / 6.500664 (-6.367435) 0.060821 / 0.075469 (-0.014648)

Benchmark: benchmark_map_filter.json

metric filter map fast-tokenizer batched map identity map identity batched map no-op batched map no-op batched numpy map no-op batched pandas map no-op batched pytorch map no-op batched tensorflow
new / old (diff) 1.296708 / 1.841788 (-0.545079) 18.717251 / 8.074308 (10.642943) 14.325305 / 10.191392 (4.133913) 0.147680 / 0.680424 (-0.532744) 0.018312 / 0.534201 (-0.515889) 0.392766 / 0.579283 (-0.186517) 0.403319 / 0.434364 (-0.031045) 0.453696 / 0.540337 (-0.086641) 0.622564 / 1.386936 (-0.764372)
PyArrow==latest
Show updated benchmarks!

Benchmark: benchmark_array_xd.json

metric read_batch_formatted_as_numpy after write_array2d read_batch_formatted_as_numpy after write_flattened_sequence read_batch_formatted_as_numpy after write_nested_sequence read_batch_unformated after write_array2d read_batch_unformated after write_flattened_sequence read_batch_unformated after write_nested_sequence read_col_formatted_as_numpy after write_array2d read_col_formatted_as_numpy after write_flattened_sequence read_col_formatted_as_numpy after write_nested_sequence read_col_unformated after write_array2d read_col_unformated after write_flattened_sequence read_col_unformated after write_nested_sequence read_formatted_as_numpy after write_array2d read_formatted_as_numpy after write_flattened_sequence read_formatted_as_numpy after write_nested_sequence read_unformated after write_array2d read_unformated after write_flattened_sequence read_unformated after write_nested_sequence write_array2d write_flattened_sequence write_nested_sequence
new / old (diff) 0.006483 / 0.011353 (-0.004870) 0.004018 / 0.011008 (-0.006991) 0.064436 / 0.038508 (0.025928) 0.072365 / 0.023109 (0.049256) 0.387532 / 0.275898 (0.111634) 0.418175 / 0.323480 (0.094695) 0.005453 / 0.007986 (-0.002533) 0.003368 / 0.004328 (-0.000961) 0.064896 / 0.004250 (0.060645) 0.057018 / 0.037052 (0.019966) 0.406596 / 0.258489 (0.148107) 0.431194 / 0.293841 (0.137353) 0.031788 / 0.128546 (-0.096759) 0.008532 / 0.075646 (-0.067114) 0.070605 / 0.419271 (-0.348666) 0.053317 / 0.043533 (0.009785) 0.391930 / 0.255139 (0.136791) 0.406071 / 0.283200 (0.122872) 0.028652 / 0.141683 (-0.113030) 1.487677 / 1.452155 (0.035522) 1.546071 / 1.492716 (0.053355)

Benchmark: benchmark_getitem_100B.json

metric get_batch_of_1024_random_rows get_batch_of_1024_rows get_first_row get_last_row
new / old (diff) 0.220063 / 0.018006 (0.202056) 0.441111 / 0.000490 (0.440621) 0.006066 / 0.000200 (0.005867) 0.000084 / 0.000054 (0.000030)

Benchmark: benchmark_indices_mapping.json

metric select shard shuffle sort train_test_split
new / old (diff) 0.035179 / 0.037411 (-0.002232) 0.096745 / 0.014526 (0.082219) 0.108171 / 0.176557 (-0.068386) 0.164590 / 0.737135 (-0.572545) 0.109425 / 0.296338 (-0.186913)

Benchmark: benchmark_iterating.json

metric read 5000 read 50000 read_batch 50000 10 read_batch 50000 100 read_batch 50000 1000 read_formatted numpy 5000 read_formatted pandas 5000 read_formatted tensorflow 5000 read_formatted torch 5000 read_formatted_batch numpy 5000 10 read_formatted_batch numpy 5000 1000 shuffled read 5000 shuffled read 50000 shuffled read_batch 50000 10 shuffled read_batch 50000 100 shuffled read_batch 50000 1000 shuffled read_formatted numpy 5000 shuffled read_formatted_batch numpy 5000 10 shuffled read_formatted_batch numpy 5000 1000
new / old (diff) 0.408101 / 0.215209 (0.192892) 4.062961 / 2.077655 (1.985306) 2.101849 / 1.504120 (0.597730) 1.935919 / 1.541195 (0.394724) 1.993749 / 1.468490 (0.525259) 0.487788 / 4.584777 (-4.096989) 3.533972 / 3.745712 (-0.211740) 3.218448 / 5.269862 (-2.051414) 2.002322 / 4.565676 (-2.563355) 0.057371 / 0.424275 (-0.366904) 0.007704 / 0.007607 (0.000097) 0.491695 / 0.226044 (0.265650) 4.905009 / 2.268929 (2.636080) 2.597879 / 55.444624 (-52.846745) 2.252086 / 6.876477 (-4.624391) 2.434439 / 2.142072 (0.292367) 0.583071 / 4.805227 (-4.222156) 0.133765 / 6.500664 (-6.366899) 0.061276 / 0.075469 (-0.014193)

Benchmark: benchmark_map_filter.json

metric filter map fast-tokenizer batched map identity map identity batched map no-op batched map no-op batched numpy map no-op batched pandas map no-op batched pytorch map no-op batched tensorflow
new / old (diff) 1.403111 / 1.841788 (-0.438676) 19.218886 / 8.074308 (11.144578) 13.981775 / 10.191392 (3.790383) 0.167784 / 0.680424 (-0.512640) 0.018401 / 0.534201 (-0.515800) 0.392038 / 0.579283 (-0.187245) 0.414776 / 0.434364 (-0.019587) 0.476221 / 0.540337 (-0.064117) 0.632724 / 1.386936 (-0.754212)

@mariosasko mariosasko merged commit 8c1c5d8 into main Jul 26, 2023
@mariosasko mariosasko deleted the remove-colab-link branch July 26, 2023 16:14
@github-actions

Copy link
Copy Markdown
Show benchmarks

PyArrow==8.0.0

Show updated benchmarks!

Benchmark: benchmark_array_xd.json

metric read_batch_formatted_as_numpy after write_array2d read_batch_formatted_as_numpy after write_flattened_sequence read_batch_formatted_as_numpy after write_nested_sequence read_batch_unformated after write_array2d read_batch_unformated after write_flattened_sequence read_batch_unformated after write_nested_sequence read_col_formatted_as_numpy after write_array2d read_col_formatted_as_numpy after write_flattened_sequence read_col_formatted_as_numpy after write_nested_sequence read_col_unformated after write_array2d read_col_unformated after write_flattened_sequence read_col_unformated after write_nested_sequence read_formatted_as_numpy after write_array2d read_formatted_as_numpy after write_flattened_sequence read_formatted_as_numpy after write_nested_sequence read_unformated after write_array2d read_unformated after write_flattened_sequence read_unformated after write_nested_sequence write_array2d write_flattened_sequence write_nested_sequence
new / old (diff) 0.007595 / 0.011353 (-0.003758) 0.004540 / 0.011008 (-0.006468) 0.099350 / 0.038508 (0.060842) 0.087062 / 0.023109 (0.063953) 0.415980 / 0.275898 (0.140082) 0.466390 / 0.323480 (0.142910) 0.005958 / 0.007986 (-0.002027) 0.003671 / 0.004328 (-0.000657) 0.075714 / 0.004250 (0.071463) 0.066062 / 0.037052 (0.029010) 0.426527 / 0.258489 (0.168038) 0.473282 / 0.293841 (0.179441) 0.035669 / 0.128546 (-0.092878) 0.009729 / 0.075646 (-0.065918) 0.344035 / 0.419271 (-0.075237) 0.061153 / 0.043533 (0.017620) 0.428607 / 0.255139 (0.173468) 0.445951 / 0.283200 (0.162752) 0.026373 / 0.141683 (-0.115310) 1.788725 / 1.452155 (0.336570) 1.871055 / 1.492716 (0.378339)

Benchmark: benchmark_getitem_100B.json

metric get_batch_of_1024_random_rows get_batch_of_1024_rows get_first_row get_last_row
new / old (diff) 0.230606 / 0.018006 (0.212600) 0.489835 / 0.000490 (0.489345) 0.005669 / 0.000200 (0.005469) 0.000100 / 0.000054 (0.000045)

Benchmark: benchmark_indices_mapping.json

metric select shard shuffle sort train_test_split
new / old (diff) 0.032197 / 0.037411 (-0.005214) 0.099571 / 0.014526 (0.085045) 0.112686 / 0.176557 (-0.063871) 0.179478 / 0.737135 (-0.557658) 0.112670 / 0.296338 (-0.183668)

Benchmark: benchmark_iterating.json

metric read 5000 read 50000 read_batch 50000 10 read_batch 50000 100 read_batch 50000 1000 read_formatted numpy 5000 read_formatted pandas 5000 read_formatted tensorflow 5000 read_formatted torch 5000 read_formatted_batch numpy 5000 10 read_formatted_batch numpy 5000 1000 shuffled read 5000 shuffled read 50000 shuffled read_batch 50000 10 shuffled read_batch 50000 100 shuffled read_batch 50000 1000 shuffled read_formatted numpy 5000 shuffled read_formatted_batch numpy 5000 10 shuffled read_formatted_batch numpy 5000 1000
new / old (diff) 0.449606 / 0.215209 (0.234397) 4.503356 / 2.077655 (2.425701) 2.190480 / 1.504120 (0.686361) 1.986054 / 1.541195 (0.444860) 2.071594 / 1.468490 (0.603104) 0.566301 / 4.584777 (-4.018475) 4.088460 / 3.745712 (0.342748) 4.840100 / 5.269862 (-0.429761) 2.857697 / 4.565676 (-1.707980) 0.066718 / 0.424275 (-0.357557) 0.008642 / 0.007607 (0.001034) 0.539785 / 0.226044 (0.313740) 5.383252 / 2.268929 (3.114323) 2.878177 / 55.444624 (-52.566447) 2.374577 / 6.876477 (-4.501899) 2.590500 / 2.142072 (0.448428) 0.675196 / 4.805227 (-4.130031) 0.153544 / 6.500664 (-6.347120) 0.070958 / 0.075469 (-0.004511)

Benchmark: benchmark_map_filter.json

metric filter map fast-tokenizer batched map identity map identity batched map no-op batched map no-op batched numpy map no-op batched pandas map no-op batched pytorch map no-op batched tensorflow
new / old (diff) 1.490403 / 1.841788 (-0.351385) 22.085740 / 8.074308 (14.011432) 16.588093 / 10.191392 (6.396701) 0.188598 / 0.680424 (-0.491826) 0.021567 / 0.534201 (-0.512634) 0.472594 / 0.579283 (-0.106689) 0.472903 / 0.434364 (0.038539) 0.545305 / 0.540337 (0.004968) 0.736399 / 1.386936 (-0.650537)
PyArrow==latest
Show updated benchmarks!

Benchmark: benchmark_array_xd.json

metric read_batch_formatted_as_numpy after write_array2d read_batch_formatted_as_numpy after write_flattened_sequence read_batch_formatted_as_numpy after write_nested_sequence read_batch_unformated after write_array2d read_batch_unformated after write_flattened_sequence read_batch_unformated after write_nested_sequence read_col_formatted_as_numpy after write_array2d read_col_formatted_as_numpy after write_flattened_sequence read_col_formatted_as_numpy after write_nested_sequence read_col_unformated after write_array2d read_col_unformated after write_flattened_sequence read_col_unformated after write_nested_sequence read_formatted_as_numpy after write_array2d read_formatted_as_numpy after write_flattened_sequence read_formatted_as_numpy after write_nested_sequence read_unformated after write_array2d read_unformated after write_flattened_sequence read_unformated after write_nested_sequence write_array2d write_flattened_sequence write_nested_sequence
new / old (diff) 0.007635 / 0.011353 (-0.003718) 0.004731 / 0.011008 (-0.006277) 0.076482 / 0.038508 (0.037974) 0.083666 / 0.023109 (0.060557) 0.469596 / 0.275898 (0.193698) 0.493068 / 0.323480 (0.169588) 0.006014 / 0.007986 (-0.001971) 0.003902 / 0.004328 (-0.000426) 0.077142 / 0.004250 (0.072891) 0.064355 / 0.037052 (0.027303) 0.468859 / 0.258489 (0.210370) 0.504002 / 0.293841 (0.210161) 0.037606 / 0.128546 (-0.090940) 0.010141 / 0.075646 (-0.065505) 0.083790 / 0.419271 (-0.335482) 0.060923 / 0.043533 (0.017390) 0.464752 / 0.255139 (0.209613) 0.500464 / 0.283200 (0.217264) 0.031183 / 0.141683 (-0.110499) 1.779294 / 1.452155 (0.327139) 1.870848 / 1.492716 (0.378131)

Benchmark: benchmark_getitem_100B.json

metric get_batch_of_1024_random_rows get_batch_of_1024_rows get_first_row get_last_row
new / old (diff) 0.246567 / 0.018006 (0.228560) 0.477182 / 0.000490 (0.476693) 0.000426 / 0.000200 (0.000226) 0.000067 / 0.000054 (0.000013)

Benchmark: benchmark_indices_mapping.json

metric select shard shuffle sort train_test_split
new / old (diff) 0.035377 / 0.037411 (-0.002034) 0.106042 / 0.014526 (0.091516) 0.119237 / 0.176557 (-0.057320) 0.182145 / 0.737135 (-0.554991) 0.119537 / 0.296338 (-0.176801)

Benchmark: benchmark_iterating.json

metric read 5000 read 50000 read_batch 50000 10 read_batch 50000 100 read_batch 50000 1000 read_formatted numpy 5000 read_formatted pandas 5000 read_formatted tensorflow 5000 read_formatted torch 5000 read_formatted_batch numpy 5000 10 read_formatted_batch numpy 5000 1000 shuffled read 5000 shuffled read 50000 shuffled read_batch 50000 10 shuffled read_batch 50000 100 shuffled read_batch 50000 1000 shuffled read_formatted numpy 5000 shuffled read_formatted_batch numpy 5000 10 shuffled read_formatted_batch numpy 5000 1000
new / old (diff) 0.491352 / 0.215209 (0.276143) 4.824220 / 2.077655 (2.746565) 2.652039 / 1.504120 (1.147919) 2.535310 / 1.541195 (0.994116) 2.620009 / 1.468490 (1.151519) 0.567865 / 4.584777 (-4.016912) 4.158795 / 3.745712 (0.413082) 6.042582 / 5.269862 (0.772721) 3.957193 / 4.565676 (-0.608484) 0.066647 / 0.424275 (-0.357628) 0.008893 / 0.007607 (0.001285) 0.570137 / 0.226044 (0.344093) 5.687126 / 2.268929 (3.418198) 3.137605 / 55.444624 (-52.307019) 2.655979 / 6.876477 (-4.220498) 2.893338 / 2.142072 (0.751265) 0.698388 / 4.805227 (-4.106840) 0.154897 / 6.500664 (-6.345767) 0.071208 / 0.075469 (-0.004261)

Benchmark: benchmark_map_filter.json

metric filter map fast-tokenizer batched map identity map identity batched map no-op batched map no-op batched numpy map no-op batched pandas map no-op batched pytorch map no-op batched tensorflow
new / old (diff) 1.619346 / 1.841788 (-0.222441) 22.782510 / 8.074308 (14.708202) 16.317395 / 10.191392 (6.126003) 0.197630 / 0.680424 (-0.482794) 0.021795 / 0.534201 (-0.512406) 0.466982 / 0.579283 (-0.112302) 0.468609 / 0.434364 (0.034245) 0.574380 / 0.540337 (0.034043) 0.759827 / 1.386936 (-0.627109)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants