인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

compression-learners

compression-learners

Select and configure PocketFlow full-precision, distillation, pruning, sparsification, quantization, and RL compression learners.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: compression-learners description: "Select and configure PocketFlow full-precision, distillation, pruning, sparsification, quantization, and RL compression learners." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

PocketFlow Compression Learners

Use this sub-skill when the user asks how to choose or configure a PocketFlow learner for full-precision baselines, model compression, distillation, pruning, sparsification, quantization, or reinforcement-learning-based hyperparameter search.

Route first

  • For path.conf, Python/TensorFlow setup, command preview, local/docker/seven launch modes, or AutoML text adapters, read execution-config.
  • For adding a dataset or ModelHelper, read custom-models-data.
  • For checkpoint export, TensorFlow Lite conversion, and inference benchmarks after training, read deployment-conversion.

Quick learner selection

  1. Start with a full-precision baseline (full-prec) when no pretrained checkpoint exists or the user needs an accuracy reference.
  2. Use learner-catalog to map the requested compression method to the exact learner id and key flags.
  3. Add --enbl_dst only when a teacher/original model path is available and the task benefits from distillation.
  4. For automated layer-wise ratios or bit widths, read rl-and-automl before increasing rollout counts; RL search is expensive.
  5. Generate a safe command preview with build_learner_command.py and then route launch details to execution-config.
  6. Treat full training/performance cases as long-running, data-dependent, and usually GPU-dependent. Do not run them without explicit user approval and available data/model paths.

Main references

  • Learner catalog - learner ids, classes, algorithms, and important flags.
  • Workflows - practical command patterns for baseline, pruning, sparsification, quantization, distillation, and evaluation.
  • RL and AutoML - DDPG search, rollout counts, reward types, and AutoML bridge boundaries.
  • Troubleshooting - invalid learner ids, TensorFlow/contrib failures, missing checkpoints, data paths, GPU/runtime problems, and unstable hyperparameters.

Boundaries and verification status

The generated skill verified TensorFlow 1.10 importability, tf.contrib.lite, learner id mapping, and source-level flag facts. It did not run full compression training or reproduce performance tables because those require datasets, checkpoints, long training, and often GPUs.

When users ask for real training, make the prerequisites explicit:

  • A compatible TensorFlow 1.x environment.
  • Dataset paths in path.conf.
  • A selected run script/model helper.
  • GPU/multi-GPU readiness when using the official launcher.
  • Pretrained checkpoints for warm-start, distillation, or evaluation workflows.
저장한 Skills