Skip to content

Commit

Permalink
add a dependency group for finetuning
Browse files Browse the repository at this point in the history
this will be ignored in the docker image
  • Loading branch information
josephjclark committed May 15, 2024
1 parent f0e6af1 commit d55723f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 40 deletions.
38 changes: 1 addition & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,20 @@ package-mode = false

[tool.poetry.dependencies]
python = "^3.11"
requests = "^2.31.0"
fastapi = "^0.110.2"
spacy = "^3.7.4"
en-core-web-sm = { path = "models/en_core_web_sm-3.7.1-py3-none-any.whl" }
openai = "^1.23.3"
transformers = "^4.40.1"
torch = "^2.3.0"
black = "^24.4.2"
python-dotenv = "^1.0.1"

# These dependencies should only be needed for fine tuning
# use poetry install --with ft
[tool.poetry.group.ft]
optional = true

[tool.poetry.group.ft.dependencies]
torch = "^2.3.0"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit d55723f

Please sign in to comment.