openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > ELPA

Orchestrate real ELPA-style ensemble forecasting workflows by triggering external sub-model training jobs (for example PyTorch/Prophet/TiDE/transformers), th...

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 93 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:anonymouscodemaker/elpa

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's code and runtime instructions are consistent with its stated purpose (orchestrating real model training and computing ELPA weights); it requires no external credentials or installs, but it will execute arbitrary training commands from user-provided configs so you must only run it on trusted configs and in a controlled environment.

综合结论

This skill is coherent for orchestrating real training, but it will execute whatever shell commands appear in the JSON config. Only use configs and train_cmd templates from trusted sources. Recommended precautions: - Always run a dry-run first and inspect the generated manifest and train_cmd strings before using --execute. - Use a dedicated, sandboxed environment (container or isolated VM) with controlled dataset and filesystem access for exec…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「ELPA」。简介:Orchestrate real ELPA-style ensemble forecasting workflows by triggering extern…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/anonymouscodemaker/elpa/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: elpa
description: "Orchestrate real ELPA-style ensemble forecasting workflows by triggering external sub-model training jobs (for example PyTorch/Prophet/TiDE/transformers), then computing ELPA online/offline weights from validation errors. Use when you need production-oriented ensemble training instead of lightweight simulation adapters."
---

# ELPA

## Overview

This skill does not train toy adapters. It triggers real sub-model training commands from your own training codebases and then builds ELPA routing/weights from real validation errors.

Default model pool is intentionally larger than 4 and can be expanded freely.

## Workflow

1. Prepare a training config JSON (see `assets/elpa_train_template.json`).
2. Dry-run the command plan to verify all sub-model commands.
3. Execute real sub-model training when resources are available.
4. Prepare validation error inputs per model.
5. Build ELPA ensemble policy JSON from those errors.

## 1) Prepare Config

Create a config based on `assets/elpa_train_template.json`.

- Put your real training entrypoints in each model `train_cmd`.
- Keep each model tagged as `online` or `offline`.
- Add as many models as needed; ELPA is not limited to 4.

## 2) Dry-Run Plan (No Training)

```bash
python3 scripts/elpa_orchestrator.py 
  --config assets/elpa_train_template.json 
  --run-dir .runtime/elpa_run 
  --manifest-out .runtime/elpa_run/train_manifest.json
```

This prints and records the commands that would run, without training.

## 3) Execute Real Training

```bash
python3 scripts/elpa_orchestrator.py 
  --config /path/to/your_train_config.json 
  --run-dir .runtime/elpa_run 
  --manifest-out .runtime/elpa_run/train_manifest.json 
  --execute
```

Use this only in an environment that has the required ML dependencies and hardware.

## 4) Build ELPA Integration Policy

After each sub-model produces validation errors, run:

```bash
python3 scripts/elpa_integrator.py 
  --config /path/to/your_integrate_config.json 
  --output .runtime/elpa_run/elpa_policy.json
```

The output includes:

- `scores` for each model from validation errors
- `online_weights` and `offline_weights`
- `best_online_model` and `best_offline_model`
- ELPA control fields (`beta`, `dirty_interval`, `amplitude_window`, `mutant_epsilon`)

## Model Scaling

To support more models, append model blocks in your config with:

- unique `name`
- `group` as `online` or `offline`
- real `train_cmd`

No script changes are needed for adding models.

## Files

- `scripts/elpa_orchestrator.py`: real sub-model training command planner/executor
- `scripts/elpa_integrator.py`: ELPA score/weight builder from validation errors
- `assets/elpa_train_template.json`: >4-model real training template
- `assets/elpa_integrate_template.json`: ELPA integration template
- `references/config-schema.md`: config field reference and placeholders