Skip to content

Commit 926bc03

Browse files
author
Daniel Lorch
committed
chore: fix paths
1 parent fb53f18 commit 926bc03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

notebooks/misc/test_few_shot_extraction.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
],
8282
"source": [
8383
"# Load the few-shot configuration\n",
84-
"config_path = f'{ROOTDIR}/config_library/pattern-2/few_shot_example_with_multimodal_page_classification/config.yaml'\n",
84+
"config_path = f'{ROOTDIR}/config_library/pattern-2/rvl-cdip-package-sample-with-few-shot-examples/config.yaml'\n",
8585
"with open(config_path, 'r') as f:\n",
8686
" config = yaml.safe_load(f)\n",
8787
"\n",
@@ -240,16 +240,16 @@
240240
" Attributes Prompt: expected attributes are:\n",
241241
" \"sender_name\": \"Will E. Clark\",\n",
242242
" \"sender_address\": \"206 Maple Street...\n",
243-
" Image Path: config_library/pattern-2/few_shot_example_with_multimodal_page_classification/example-images/letter1.jpg\n",
244-
" S3 URI: config_library/pattern-2/few_shot_example_with_multimodal_page_classification/example-images/letter1.jpg\n",
243+
" Image Path: config_library/pattern-2/rvl-cdip-package-sample-with-few-shot-examples/example-images/letter1.jpg\n",
244+
" S3 URI: config_library/pattern-2/rvl-cdip-package-sample-with-few-shot-examples/example-images/letter1.jpg\n",
245245
" Example 2:\n",
246246
" Name: Letter2\n",
247247
" Class Prompt: This is an example of the class 'letter'\n",
248248
" Attributes Prompt: expected attributes are:\n",
249249
" \"sender_name\": \"William H. W. Anderson\",\n",
250250
" \"sender_address\": \"P O. BO...\n",
251-
" Image Path: config_library/pattern-2/few_shot_example_with_multimodal_page_classification/example-images/letter2.png\n",
252-
" S3 URI: config_library/pattern-2/few_shot_example_with_multimodal_page_classification/example-images/letter2.png\n",
251+
" Image Path: config_library/pattern-2/rvl-cdip-package-sample-with-few-shot-examples/example-images/letter2.png\n",
252+
" S3 URI: config_library/pattern-2/rvl-cdip-package-sample-with-few-shot-examples/example-images/letter2.png\n",
253253
"\n",
254254
"Class: form\n",
255255
"Number of examples: 0\n",
@@ -303,7 +303,7 @@
303303
"\n",
304304
"Environment variables:\n",
305305
" CONFIGURATION_BUCKET: Not set - using ROOT_DIR to resolve paths locally\n",
306-
" ROOT_DIR: ../../\n"
306+
" ROOT_DIR: ../..\n"
307307
]
308308
}
309309
],

0 commit comments

Comments
 (0)