Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ dev = [
test = [
# Includes optional dependencies for full test coverage
"inference-endpoint[sql]",
"inference-endpoint[rouge]",
# Testing framework
"pytest==9.0.3",
"pytest-asyncio==1.3.0",
Expand All @@ -157,6 +158,18 @@ performance = [
"pytest-benchmark==5.2.3",
"memory-profiler==0.61.0",
]
rouge = [
# ROUGE text-generation scoring (eval_method: "rouge"), used by the Llama
# CNN-DailyMail / OpenOrca accuracy paths. Imported lazily in
# evaluation/scoring.py, so the base install stays lean. Resolves cleanly
# against the pinned datasets==5.0.1 - no conflicts fork needed, unlike bfcl.
# NOTE: not self-contained at runtime - nltk needs the punkt/punkt_tab
# corpora and evaluate.load("rouge") fetches its metric script from the HF
# Hub, so an offline image must prefetch both.
"nltk==3.10.3",
"evaluate==0.4.6",
"rouge-score==0.1.2",
]
bfcl = [
# BFCL v4 function-calling evaluation. Pins numpy==1.26.4, which is why
# the top-level numpy requirement is a lower bound (>=1.26.4).
Expand Down
Loading
Loading