Skip to content

Commit

Permalink
✅ updating test script imports
Browse files Browse the repository at this point in the history
Signed-off-by: shiv <[email protected]>
  • Loading branch information
shivchander committed Jul 3, 2024
1 parent bada90e commit d5fc59d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
7 changes: 4 additions & 3 deletions scripts/test_freeform_skills.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
from openai import OpenAI

# First Party
from src.instructlab.sdg import SDG
from src.instructlab.sdg.default_flows import SynthSkillsFlow
from src.instructlab.sdg.pipeline import Pipeline
from instructlab.sdg import SDG
from instructlab.sdg.default_flows import SynthSkillsFlow
from instructlab.sdg.pipeline import Pipeline


# for vLLM endpoints, the api_key remains "EMPTY"
openai_api_key = "EMPTY"
Expand Down
7 changes: 4 additions & 3 deletions scripts/test_grounded_skills.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
from openai import OpenAI

# First Party
from src.instructlab.sdg import SDG
from src.instructlab.sdg.default_flows import SynthGroundedSkillsFlow
from src.instructlab.sdg.pipeline import Pipeline
from instructlab.sdg import SDG
from instructlab.sdg.default_flows import SynthGroundedSkillsFlow
from instructlab.sdg.pipeline import Pipeline


# for vLLM endpoints, the api_key remains "EMPTY"
openai_api_key = "EMPTY"
Expand Down
9 changes: 5 additions & 4 deletions scripts/test_knowledge.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
from openai import OpenAI

# First Party
from src.instructlab.sdg import SDG
from src.instructlab.sdg.default_flows import MMLUBenchFlow, SynthKnowledgeFlow
from src.instructlab.sdg.pipeline import Pipeline
from instructlab.sdg import SDG
from instructlab.sdg.default_flows import MMLUBenchFlow, SynthKnowledgeFlow
from instructlab.sdg.pipeline import Pipeline

# Please don't add you vLLM endpoint key here

# for vLLM endpoints, the api_key remains "EMPTY"
openai_api_key = "EMPTY"
openai_api_base = "Add model endpoint here"

Expand Down

0 comments on commit d5fc59d

Please sign in to comment.