Platform structure

Platform structure#

Pipeline#

The LLM4AD pipeline is demonstrated in the figure below.

../_images/structure.png

🛠️ Project structure#

|—-[llm4ad]

        |—-[base] basic package for modifying code, secure evaluation.

                |—-code.py implements two classes, Function and Program, to record the evolved heuristic.

                |—-evaluate.py implements evaluate interface for user, and implements the secure evaluator.

                |—-modify_code.py implements methods two modify heuristic’s code using ast.

                |—-sample.py implements sampler interface for the user, and also response content trimmer.

        |—-[method] package for implementation classes of various LLM-EPS methods.

        |—-[tool] package for LLM interfaces and profiler.

                |—-[llm] package for examples to use local LLMs, and use API interfaces.

                |—-[profiler] package for base implementations of Tensorboard and WandB profiler (logger).

        |—-[task] package for AHD task examples.

        |—-[gui] user interfaces.