Skip to content

Commit

Permalink
Merge pull request #25 from russellb/config-rename
Browse files Browse the repository at this point in the history
Rename instructlab.config to instructlab.configuration
  • Loading branch information
russellb authored Jun 17, 2024
2 parents 6e504f5 + c6955d7 commit 7e3a83e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ openai>=1.13.3,<2.0.0
rouge_score
tqdm>=4.66.2,<5.0.0
# TODO: remove 'instructlab' once https://github.com/instructlab/sdg/issues/6 is resolved
instructlab
instructlab>=0.17.0
2 changes: 1 addition & 1 deletion src/instructlab/sdg/generate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Third Party
# instructlab - All of these need to go away (other than sdg) - issue #6
from instructlab.config import get_model_family
from instructlab.configuration import get_model_family
from instructlab.utils import (
chunk_document,
max_seed_example_tokens,
Expand Down
2 changes: 1 addition & 1 deletion src/instructlab/sdg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Third Party
# instructlab - TODO these need to go away, issue #6
from instructlab.config import DEFAULT_API_KEY, DEFAULT_MODEL_OLD
from instructlab.configuration import DEFAULT_API_KEY, DEFAULT_MODEL_OLD
from instructlab.utils import get_sysprompt
from openai import OpenAI, OpenAIError
import httpx
Expand Down

0 comments on commit 7e3a83e

Please sign in to comment.