instructlab / sdg

Python library for Synthetic Data Generation
https://pypi.org/project/instructlab-sdg/
Apache License 2.0
24 stars 37 forks source link

Gather data on model performance per SDG Pipeline #313

Open ktam3 opened 1 month ago

ktam3 commented 1 month ago

Feature Overview (mandatory - Complete while in New status)

The various InstructLab experiences use different SDG pipelines, which, even when fine-tuning a full-resolution model, the performance & quality of the resulting fine-tuned models are different.

This card is for creating an evaluation flow that takes SDG generated by the three default pipelines, fine-tunes a full-resolution model with them, and evaluates the performance of the fine-tuned model.

Goals (mandatory - Complete while in New status)

Provide quantitative evidence of the model performance impact based on the SDG pipeline used to fine-tune the model.

Requirements (mandatory -_ Complete while in Refinement status):

Generate SDG using the three default pipelines: laptop (a simplified self-instruct) (pipeline=simple) upstream (SDG 1.0) (pipeline=full) downstream RHEL AI (SDG 1.5) (pipeline=agentic) Use the multi-stage agentic fine-tuning pipeline to generate a fine-tune model for each SDG pipeline Evaluate each of the resulting models on the domain-specific knowledge (e.g. MMLU_branch) Use the task-dir from the agentic pipeline? Note: Consider repeating the experiment with various distinct runs of each SDG pipeline to identify the expected range or an average number of the performance differences.

Done - Acceptance Criteria (mandatory - Complete while in Refinement status):

Provide a report on model performance differences of the three default pipelines Provide a pipeline or scripts users can execute on-premise should they want to replicate the evaluation for their use cases

Tasks/Epics Tracker:

ktam3 commented 2 weeks ago

Current Update: progress on SDG pipeline effectiveness testing > 2/3 complete, last run is in progress

cc. @alimaredia - please provide any additional info / update you have on this thank you!