File size: 567 Bytes
00ca03a
446f373
58d59c0
fccaaea
b37d0d4
 
 
 
 
5b37946
b37d0d4
 
 
e4c138e
a12b2b8
e4c138e
 
b37d0d4
 
 
 
 
 
 
e4c138e
b37d0d4
 
 
 
 
 
d0f2803
 
b37d0d4
 
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
# configuration for each task
source_lang: EN
target_lang: ZH
field: General

# ASR config
ASR:
  ASR_model: whisper
  whisper_config:
    whisper_model: large
    method: stable
  
# pre-process module config
pre_process: 
  sentence_form: True
  spell_check: False
  term_correct: True

# Translation module config
translation:
  model: gpt-4
  chunk_size: 1000

# post-process module config
post_process: 
  check_len_and_split: True
  remove_trans_punctuation: True

# output type that user receive
output_type: 
  subtitle: srt
  video: True
  bilingual: True