Skip to content

Commit

Permalink
build: remove direct deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Feb 14, 2024
1 parent 4621156 commit f2be308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ To run evaluations on the dev set, you will need to run a couple more steps:

```shell
pip install "fanoutqa[eval]"
python -m spacy download en_core_web_sm
pip install "bleurt @ git+https://github.com/google-research/bleurt.git@master"
wget https://storage.googleapis.com/bleurt-oss-21/BLEURT-20.zip
unzip BLEURT-20.zip
rm BLEURT-20.zip
Expand Down
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ dependencies = [
"httpx>=0.26.0,<1.0.0",
"markdownify~=0.11.6",
"spacy>=3.7.2,<4.0.0",
# spacy model
"en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl",
]

[project.optional-dependencies]
Expand All @@ -41,7 +39,6 @@ retrieval = [
eval = [
"kani[openai]~=0.7.2",
"rouge-score~=0.1.2",
"bleurt @ git+https://github.com/google-research/bleurt.git@master",
]

[project.urls]
Expand All @@ -61,6 +58,3 @@ known_first_party = ["fanoutqa"]
no_lines_before = "LOCALFOLDER"
reverse_relative = true
combine_as_imports = true

[tool.hatch.metadata]
allow-direct-references = true

0 comments on commit f2be308

Please sign in to comment.