-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
104 lines (100 loc) · 2.44 KB
/
config.example.yaml
File metadata and controls
104 lines (100 loc) · 2.44 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
file2md:
output_root: "./output"
prefer:
txt: "txt"
docx: "mammoth" # mineru
excel: "excel"
html: "beautifulsoup"
pdf: "mineru"
pptx: "mineru"
image: "mineru"
llm:
default_model: "Gemma-3-12B-IT"
default_config_path: "./configs/models.example.yaml"
default_params:
temperature: 0.2
max_tokens: 10000
mineru_vlm:
default_server_url: "http://10.204.245.170:8963"
default_backend: "http-client"
providers:
mineru:
base_url: "http://10.204.245.170:8968/"
timeout_sec: 600
retry: 2
default_extra:
backend: "vlm-http-client" # pipeline, vlm-auto-engine
parse_method: "auto"
server_url: "http://10.204.245.170:8963" # only for vlm-http-client backend
converters:
txt:
txt:
extra:
wrap_in_codeblock: false
smart_format: true
normalize_line_endings: true
strip_trailing_spaces: true
docx:
mammoth:
extra:
extract_images: true
keep_output: true
default_convert_image_format: "png"
image_alt_text: ""
parse_image: false
mineru:
extra:
return_images: true
keep_unzipped: true
draw_layout_bbox: true
draw_span_bbox: true
return_images: true
return_middle_json: true
response_format_zip: true
parse_image: false
parse_table_w_VLM: false
table_quality_threshold: 0.55
pdf:
mineru:
extra:
return_images: true
keep_unzipped: true
draw_layout_bbox: true
draw_span_bbox: true
return_images: true
return_middle_json: true
response_format_zip: true
parse_image: false
parse_table_w_VLM: false
table_quality_threshold: 0.55
pptx:
mineru:
extra:
return_images: true
keep_unzipped: true
draw_layout_bbox: true
draw_span_bbox: true
return_images: true
return_middle_json: true
response_format_zip: true
parse_image: false
parse_table_w_VLM: false
table_quality_threshold: 0.55
html:
beautifulsoup:
extra:
extract_images: true
keep_output: true
convert_image_format: "png"
download_remote_images: false
image:
mineru:
extra:
return_images: true
keep_unzipped: true
return_images: true
return_middle_json: true
response_format_zip: true
excel:
excel:
extra: {}