-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'IBM:dev' into dev-pankaj
- Loading branch information
Showing
8 changed files
with
190 additions
and
7 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
56 changes: 56 additions & 0 deletions
56
transforms/language/doc_chunk/python/test-data/expected_token_text/metadata.json
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,56 @@ | ||
{ | ||
"pipeline": "pipeline_id", | ||
"job details": { | ||
"job category": "preprocessing", | ||
"job name": "doc_chunk", | ||
"job type": "pure python", | ||
"job id": "job_id", | ||
"start_time": "2024-10-04 14:00:40", | ||
"end_time": "2024-10-04 14:00:41", | ||
"status": "success" | ||
}, | ||
"code": { | ||
"github": "github", | ||
"commit_hash": "12345", | ||
"path": "path" | ||
}, | ||
"job_input_params": { | ||
"chunking_type": "li_token_text", | ||
"content_column_name": "contents", | ||
"doc_id_column_name": "document_id", | ||
"dl_min_chunk_len": null, | ||
"output_chunk_column_name": "chunk_text", | ||
"output_source_doc_id_column_name": "source_document_id", | ||
"output_jsonpath_column_name": "doc_jsonpath", | ||
"output_pageno_column_name": "page_number", | ||
"output_bbox_column_name": "bbox", | ||
"chunk_size_tokens": 128, | ||
"chunk_overlap_tokens": 30, | ||
"checkpointing": false, | ||
"max_files": -1, | ||
"random_samples": -1, | ||
"files_to_use": [ | ||
".parquet" | ||
], | ||
"num_processors": 0 | ||
}, | ||
"job_output_stats": { | ||
"source_files": 1, | ||
"source_size": 17749, | ||
"result_files": 1, | ||
"result_size": 8827, | ||
"processing_time": 0.194, | ||
"nfiles": 1, | ||
"nrows": 10, | ||
"source_doc_count": 2, | ||
"result_doc_count": 10 | ||
}, | ||
"source": { | ||
"name": "/Users/jmcappi/git/ai-foundation/data-prep-kit/transforms/language/doc_chunk/python/test-data/input_token_text", | ||
"type": "path" | ||
}, | ||
"target": { | ||
"name": "/Users/jmcappi/git/ai-foundation/data-prep-kit/transforms/language/doc_chunk/python/output", | ||
"type": "path" | ||
} | ||
} |
Binary file added
BIN
+8.62 KB
transforms/language/doc_chunk/python/test-data/expected_token_text/sample1.parquet
Binary file not shown.
Binary file added
BIN
+17.3 KB
transforms/language/doc_chunk/python/test-data/input_token_text/sample1.parquet
Binary file not shown.
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