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 3030from instructlab .sdg .eval_data import generate_eval_task_data , mmlubench_pipe_init
3131from instructlab .sdg .pipeline import (
3232 FULL_PIPELINES_PACKAGE ,
33+ LLAMA_PIPELINES_PKG ,
3334 SIMPLE_PIPELINES_PACKAGE ,
3435 Pipeline ,
3536 PipelineContext ,
@@ -254,6 +255,8 @@ def _sdg_init(ctx, pipeline):
254255 pipeline_pkg = FULL_PIPELINES_PACKAGE
255256 elif pipeline == "simple" :
256257 pipeline_pkg = SIMPLE_PIPELINES_PACKAGE
258+ elif pipeline == "llama" :
259+ pipeline_pkg = LLAMA_PIPELINES_PKG
257260 else :
258261 # Validate that pipeline is a valid directory and that it contains the required files
259262 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