-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: separate out parquet to kazu docs conversion
* now annotate_with_llm takes kazu docs as an input * deals with duplicate documents rather than just blindly overwriting them
- Loading branch information
Showing
6 changed files
with
226 additions
and
146 deletions.
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
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
6 changes: 6 additions & 0 deletions
6
scripts/examples/conf/convert_parquet_to_kazu_docs/default.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,6 @@ | ||
_convert_: "all" | ||
ParquetDocumentLoader: | ||
_target_: __main__.ParquetDocumentLoader | ||
source_dir: /Users/krmr097/code/KAZU/training/raw/percentile=1 | ||
batch_size: 1 | ||
out_dir: /Users/krmr097/code/KAZU/training/kazu_docs |
Oops, something went wrong.