-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'File partition' option and 'document' directory specification (#213)
--------- Co-authored-by: Tyler Murray <[email protected]>
- Loading branch information
1 parent
c029e94
commit 4615d34
Showing
11 changed files
with
157 additions
and
18 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "dolma" | ||
version = "1.0.9" | ||
version = "1.1.0" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
|
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
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,28 @@ | ||
{ | ||
"documents": [ | ||
"tests/data/provided/deduper/pathnotd0cumentz/000.json.gz" | ||
], | ||
"work_dir": { | ||
"input": "tests/work/temp/dedupe-para/input", | ||
"output": "tests/work/temp/dedupe-para/output" | ||
}, | ||
"dedupe": { | ||
"name": "dedupe_paragraph_ngrams", | ||
"paragraphs": { | ||
"attribute_name": "bff_duplicate_paragraph_spans", | ||
"by_ngram": { | ||
"ngram_length": 6, | ||
"stride": 3, | ||
"overlap_threshold": 0.5 | ||
} | ||
} | ||
}, | ||
"bloom_filter": { | ||
"file": "tests/work/para_bloom_filter.bin", | ||
"size_in_bytes": 0, | ||
"read_only": false, | ||
"estimated_doc_count": 1000, | ||
"desired_false_positive_rate": 0.001 | ||
}, | ||
"processes": 1 | ||
} |
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,29 @@ | ||
{ | ||
"documents": [ | ||
"tests/data/provided/deduper/pathnotd0cumentz/000.json.gz" | ||
], | ||
"work_dir": { | ||
"input": "tests/work/temp/dedupe-para/input", | ||
"output": "tests/work/temp/dedupe-para/output" | ||
}, | ||
"dedupe": { | ||
"name": "dedupe_paragraph_ngrams", | ||
"document_dir": "pathnotd0cumentz", | ||
"paragraphs": { | ||
"attribute_name": "bff_duplicate_paragraph_spans", | ||
"by_ngram": { | ||
"ngram_length": 6, | ||
"stride": 3, | ||
"overlap_threshold": 0.5 | ||
} | ||
} | ||
}, | ||
"bloom_filter": { | ||
"file": "tests/work/para_bloom_filter.bin", | ||
"size_in_bytes": 0, | ||
"read_only": false, | ||
"estimated_doc_count": 1000, | ||
"desired_false_positive_rate": 0.001 | ||
}, | ||
"processes": 1 | ||
} |
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