-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix for the type hints checking when args were specified in yaml f…
…ile (#302) * bugfix for the type hints checking when args specified in yaml file * bugfix for the type hints checking when args specified in yaml file * bugfix for the type hints checking when args specified in yaml file * bugfix for the type hints checking when args specified in yaml file
- Loading branch information
Showing
4 changed files
with
102 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Process config example for Arxiv dataset | ||
|
||
# global parameters | ||
project_name: 'test_demo' | ||
dataset_path: './demos/data/demo-dataset.jsonl' # path to your dataset directory or file | ||
np: 4 # number of subprocess to process your dataset | ||
|
||
export_path: './outputs/demo/demo-processed.parquet' | ||
|
||
# process schedule | ||
# a list of several process operators with their arguments | ||
process: | ||
- whitespace_normalization_mapper: | ||
- language_id_score_filter: | ||
lang: 'zh' | ||
min_score: 1.1 # !! a bad value !! | ||
- document_deduplicator: # deduplicate text samples using md5 hashing exact matching method | ||
lowercase: false # whether to convert text to lower case | ||
ignore_non_character: false |
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