Download config/frontiers/run_code_above_all_codes.py from TTOPM/belel-protocol: direct link, hf CLI and curl.
- Browser
- Download file 890 Bytes
-
https://huggingface.co/TTOPM/belel-protocol/resolve/main/config/frontiers/run_code_above_all_codes.py
- Command line
-
hf download hf://TTOPM/belel-protocol/config/frontiers/run_code_above_all_codes.py
-
curl -L -o run_code_above_all_codes.py https://huggingface.co/TTOPM/belel-protocol/resolve/main/config/frontiers/run_code_above_all_codes.py
890 Bytes
| """ | |
| Frontiers Runner | |
| ================ | |
| This script provides a simple command-line entrypoint for invoking the | |
| `CodeAboveAllCodes` meta-orchestrator. It accepts a query as command-line | |
| arguments, falling back to a default prompt if none is provided, and prints | |
| the resulting JSON response to stdout. | |
| """ | |
| from __future__ import annotations | |
| import json | |
| import sys | |
| from src.frontiers.meta.code_above_all_codes import CodeAboveAllCodes | |
| def main() -> int: | |
| meta = CodeAboveAllCodes() | |
| # Default query now targets the sentience module to showcase emergent | |
| # behaviour. You can override this by passing your own query on the | |
| # command line. | |
| query = " ".join(sys.argv[1:]).strip() or "Explain sentience emergence." | |
| result = meta.guide(query) | |
| print(json.dumps(result, indent=2, ensure_ascii=False)) | |
| return 0 | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) |