diff --git a/nerval/cli.py b/nerval/cli.py
index 8604b7fdd49d8de76593cd9ef787909f2ff37471..1f465038c47c8d6aae33eb71e6911c0a409afd41 100644
--- a/nerval/cli.py
+++ b/nerval/cli.py
@@ -27,6 +27,7 @@ def parse_args():
         "-a",
         "--annot",
         help="Annotation in BIO format.",
+        type=Path,
     )
     group.add_argument(
         "-c",
@@ -38,6 +39,7 @@ def parse_args():
         "-p",
         "--predict",
         help="Prediction in BIO format.",
+        type=Path,
     )
     parser.add_argument(
         "-f",