forked from modelscope/data-juicer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alpaca-cot-en-refine.yaml
37 lines (33 loc) · 1 KB
/
alpaca-cot-en-refine.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# global parameters
project_name: 'Data-Juicer-recipes-alpaca-cot-en'
dataset_path: '/path/to/your/dataset' # path to your dataset directory or file
export_path: '/path/to/your/dataset.jsonl'
np: 50 # number of subprocess to process your dataset
open_tracer: true
# process schedule
# a list of several process operators with their arguments
process:
- document_deduplicator: # 104636705
lowercase: true
ignore_non_character: true
- alphanumeric_filter: # 104636381
tokenization: false
min_ratio: 0.1
- character_repetition_filter: # 104630030
rep_len: 10
max_ratio: 0.6
- flagged_words_filter: # 104576967
lang: en
tokenization: true
max_ratio: 0.017
- maximum_line_length_filter: # 104575811
min_len: 20
- text_length_filter: # 104573711
min_len: 30
- document_simhash_deduplicator: # 72855345
tokenization: space
window_size: 3
lowercase: true
ignore_pattern: '\p{P}'
num_blocks: 9
hamming_distance: 7