Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary print statement from sdg_op #224

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1556,8 +1556,7 @@ deploymentSpec:
\ http_client=custom_http_client\n )\n else:\n client =\
\ openai.OpenAI(base_url=endpoint, api_key=api_key)\n\n taxonomy_base\
\ = \"main\" if repo_branch or (repo_pr and int(repo_pr) > 0) else \"empty\"\
\n\n print(\"Generating synthetic dataset for:\")\n print()\n print(read_taxonomy(taxonomy_path,\
\ taxonomy_base))\n\n set_precomputed_skills_data_ratio(sampling_size=sdg_sampling_size)\n\
\n\n set_precomputed_skills_data_ratio(sampling_size=sdg_sampling_size)\n\
\n # generate_data has a magic word for its taxonomy_base argument -\
\ 'empty'\n # it allows generating from the whole repo, see:\n # https://github.com/instructlab/sdg/blob/c6a9e74a1618b1077cd38e713b8aaed8b7c0c8ce/src/instructlab/sdg/utils/taxonomy.py#L230\n\
\ generate_data(\n client=client,\n num_instructions_to_generate=num_instructions_to_generate,\n\
Expand Down
4 changes: 0 additions & 4 deletions sdg/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ def set_precomputed_skills_data_ratio(sampling_size: float):

taxonomy_base = "main" if repo_branch or (repo_pr and int(repo_pr) > 0) else "empty"

print("Generating synthetic dataset for:")
print()
print(read_taxonomy(taxonomy_path, taxonomy_base))

set_precomputed_skills_data_ratio(sampling_size=sdg_sampling_size)

# generate_data has a magic word for its taxonomy_base argument - 'empty'
Expand Down
Loading