Skip to content

Commit

Permalink
Merge pull request #18 from Sagacify/remove-bleurt
Browse files Browse the repository at this point in the history
fix(pyproject): remove spacy language models too
  • Loading branch information
leonardo-remondini authored Jun 27, 2024
2 parents ab82e3e + 1e7881d commit 2148952
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 37 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Moreover, to use BLEURTScore, you first need to install BLEURT from the official

```pip install git+https://github.com/google-research/bleurt.git```

Finally, spaCy is required for some metrics. You can install spaCy language models as follows (as of now, only English and French are supported):

```python -m spacy download en_core_web_sm fr-core-news-sm```

## Usage

### Default use of the Scorer
Expand Down
36 changes: 1 addition & 35 deletions poetry.lock

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

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ tensorflow-macos = { version = "^2.14", markers = "sys_platform == 'darwin' and
elemeta = "1.0.7"
huggingface-hub = "^0.18.0"
llama-cpp-python = "^0.2.11"
en-core-web-sm = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.0/en_core_web_sm-3.7.0-py3-none-any.whl" }
fr-core-news-sm = { url = "https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.7.0/fr_core_news_sm-3.7.0-py3-none-any.whl" }
faiss-cpu = "^1.7.4"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 2148952

Please sign in to comment.