Commit b1535b4
authored
docs: add MNIST magnitude pruning tutorial (#33)
* docs: add MNIST magnitude pruning tutorial
Adds a tutorial notebook demonstrating post-training and
fine-tuning-based magnitude pruning on an MNIST model, mirroring the
existing quantization and palettization tutorials. Also adds the
missing Pruning entry to the sidebar toctree.
* docs: use 70% sparsity for post-training pruning in MNIST tutorial
Aligns the post-training pruning section with the fine-tuning
section, which already targets 70% sparsity, instead of the default
50%.
* docs: use 50% sparsity in MNIST pruning tutorial, bake in outputs
Aligns post-training and fine-tuning sparsity at 50% and ships the
notebook with executed cell outputs, showing the actual effect of
pruning on accuracy end-to-end.
* docs: strip coremltools import warning from pruning tutorial output
Removes a local scikit-learn/coremltools version warning baked into
the notebook's output; it's environment noise, not tutorial content.
* docs: fix broken pruning config link in MNIST pruning tutorial1 parent d1e5d37 commit b1535b4
3 files changed
Lines changed: 739 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments