File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
nemoguardrails/library/factchecking/align_score Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,12 @@ WORKDIR /app
99
1010# Clone and install the alignscore package
1111RUN git clone https://github.com/yuh-zha/AlignScore.git
12+
13+ COPY constraints.txt /app/AlignScore
14+
1215WORKDIR /app/AlignScore
13- RUN pip install --no-cache-dir .
1416
17+ RUN pip install --no-cache-dir -c constraints.txt .
1518# Download the Spacy en_core_web_sm model
1619RUN python -m spacy download en_core_web_sm
1720
Original file line number Diff line number Diff line change 1+
2+ spacy==3.7.5
3+ # transformers>=4.20.1,<4.30 # resolve issue with alignscore pyproject.toml
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ fastapi>=0.109.1
44starlette >= 0.36.2
55typer >= 0.7.0
66uvicorn >= 0.23.2
7+
8+ torch == 2.0.1
You can’t perform that action at this time.
0 commit comments