计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
encrypted-distilbert【效率与协作】Run and troubleshoot Nesa's encrypted DistilBERT sentiment demo and local Hugging Face model workflow.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to run, adapt, or debug the small Nesa Equivariant Encryption sentiment-classification demo.
Typical triggers:
nesaorg/distilbert-sentiment-encrypted"The demo is a client/server simulation:
The public demo is educational. The model card says the community version is an approximation of the enterprise implementation and may reproduce the original model's output only about 92% of the time.
config.json, tokenizer files, and model weights. Validate it with
scripts/validate_model_dir.py before loading.For a CPU-only local check:
python -m pip install torch transformers safetensors
Add accelerate only if the selected model-loading path or web UI requires it.
Do not install GPU wheels unless the user needs GPU verification.
Clarify whether the user has a local model directory or wants a Hugging Face model id.
If using a local directory, run the bundled validator:
python scripts/validate_model_dir.py /path/to/model-dir
Run the bundled demo wrapper with a short prompt:
python scripts/run_local_demo.py --model /path/to/model-dir --prompt "I love private AI"
Or, when network access is allowed:
python scripts/run_local_demo.py --model nesaorg/distilbert-sentiment-encrypted --prompt "I love private AI"
Report the encrypted token IDs, label probabilities, highest label, and any assumptions about local vs network model loading.
If a load fails, read references/troubleshooting.md before changing dependencies or model paths.
web-ui-runtime.backend-protocol.security-contest.