-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add two unit tests for docling model path
These simple unit tests just test the cases where we found a config.yaml to parse for the docling model path and where we didn't. Signed-off-by: Ben Browning <[email protected]> (cherry picked from commit 0e9d75d)
- Loading branch information
1 parent
5244929
commit a6689e3
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/testdata/mock_xdg_data_dir/instructlab/sdg/models/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
models: | ||
- path: /mock/docling-models | ||
source: https://huggingface.co/ds4sd/docling-models | ||
revision: main |