-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathcot_config.yaml
More file actions
19 lines (19 loc) · 928 Bytes
/
cot_config.yaml
File metadata and controls
19 lines (19 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
read:
input_file: resources/input_examples/txt_demo.txt # input file path, support json, jsonl, txt. See resources/input_examples for examples
split:
chunk_size: 1024 # chunk size for text splitting
chunk_overlap: 100 # chunk overlap for text splitting
search: # web search configuration
enabled: false # whether to enable web search
search_types: ["google"] # search engine types, support: google, bing, uniprot, wikipedia
quiz_and_judge: # quiz and test whether the LLM masters the knowledge points
enabled: false
partition: # graph partition configuration
method: leiden # leiden is a partitioner detection algorithm
method_params:
max_size: 20 # Maximum size of communities
use_lcc: false # whether to use the largest connected component
random_seed: 42 # random seed for partitioning
generate:
mode: cot # atomic, aggregated, multi_hop, cot
data_format: Sharegpt # Alpaca, Sharegpt, ChatML