This repository was archived by the owner on Apr 30, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 "SetToMajorityValueBlock" ,
2929 "FULL_PIPELINES_PACKAGE" ,
3030 "SIMPLE_PIPELINES_PACKAGE" ,
31+ "LLAMA_PIPELINES_PKG" ,
3132 "generate_data" ,
3233 "mix_datasets" ,
3334)
5455from .generate_data import generate_data , mix_datasets
5556from .pipeline import (
5657 FULL_PIPELINES_PACKAGE ,
58+ LLAMA_PIPELINES_PKG ,
5759 SIMPLE_PIPELINES_PACKAGE ,
5860 EmptyDatasetError ,
5961 Pipeline ,
Original file line number Diff line number Diff line change 2929from instructlab .sdg .eval_data import generate_eval_task_data , mmlubench_pipe_init
3030from instructlab .sdg .pipeline import (
3131 FULL_PIPELINES_PACKAGE ,
32+ LLAMA_PIPELINES_PKG ,
3233 SIMPLE_PIPELINES_PACKAGE ,
3334 Pipeline ,
3435 PipelineContext ,
@@ -253,6 +254,8 @@ def _sdg_init(ctx, pipeline):
253254 pipeline_pkg = FULL_PIPELINES_PACKAGE
254255 elif pipeline == "simple" :
255256 pipeline_pkg = SIMPLE_PIPELINES_PACKAGE
257+ elif pipeline == "llama" :
258+ pipeline_pkg = LLAMA_PIPELINES_PKG
256259 else :
257260 # Validate that pipeline is a valid directory and that it contains the required files
258261 if not os .path .exists (pipeline ):
Original file line number Diff line number Diff line change @@ -323,3 +323,4 @@ def _parse_pipeline_config_file(pipeline_yaml):
323323SIMPLE_PIPELINES_PACKAGE = "instructlab.sdg.pipelines.simple"
324324FULL_PIPELINES_PACKAGE = "instructlab.sdg.pipelines.full"
325325EVAL_PIPELINES_PKG = "instructlab.sdg.pipelines.eval"
326+ LLAMA_PIPELINES_PKG = "instructlab.sdg.pipelines.llama"
You can’t perform that action at this time.
0 commit comments