Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
davebulaval committed Nov 14, 2023
1 parent e6b29cb commit 03f4629
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ our [article](https://www.frontiersin.org/articles/10.3389/frai.2023.1223924/ful
## To Reproduce our Article Results

The `src` directory is public to make our results more reproducible. One can reproduce our results by
using the codebase.
using the codebase. It was coded in Python 3.11.

Note that this codebase is different from the one used for our article. In our article, we create ten different
train/dev/test splits using a different seed each time, and we also create, on run-time, data augmentation generation
Expand Down
3 changes: 3 additions & 0 deletions src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ wandb
scikit-learn
accelerate
python2latex
poutyne
torchmetrics
torch>=1.6.0,<2
git+https://github.com/google-research/bleurt.git

# Install a modified version of the LENS codebase by fixing PyPi broken build
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/training/few_shot_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)

from metrics.metrics import compute_metrics, eval_compute_metrics_identical, eval_compute_metrics_unrelated
from src.training.evaluate import compute_other_metrics_performance
from evaluate_metrics import compute_other_metrics_performance
from tools import (
bool_parse,
)
Expand Down

0 comments on commit 03f4629

Please sign in to comment.