| |
| project: |
| name: "UsTwo" |
| version: "0.1.0" |
|
|
| paths: |
| data_dir: "data" |
| samples_dir: "data/samples" |
| models_dir: "data/models" |
| output_dir: "data" |
|
|
| |
| stage1: |
| output_path: "data/stage1_output.json" |
| segments_dir: "data/segments" |
|
|
| preprocessing: |
| target_sample_rate: 16000 |
| max_duration_sec: 300 |
| min_duration_sec: 3 |
| target_peak: 0.95 |
|
|
| diarization: |
| model: "pyannote/speaker-diarization-3.1" |
| num_speakers: 2 |
| merge_gap_sec: 0.15 |
|
|
| asr: |
| model: "large-v3-turbo" |
| compute_type: "int8" |
| language: null |
| batch_size: 16 |
|
|
| alignment: |
| enabled: true |
|
|
| language_id: |
| enabled: true |
| |
| |
| |
|
|
| |
| stage2: |
| input_path: "data/stage1_output.json" |
| output_path: "data/stage2_output.json" |
| audio_emotion: |
| model: "iic/emotion2vec_plus_base" |
| lora_onnx_path: "data/models/lora_emotion2vec_7class/model.onnx" |
| finetuned_checkpoint: null |
| text_emotion: |
| korean_model: "searle-j/kote_for_easygoing_people" |
| korean_lora_onnx_path: "data/models/lora_kcelectra_7class/model.onnx" |
| korean_lora_tokenizer: "data/models/lora_kcelectra_7class/best_model" |
| english_model: "j-hartmann/emotion-english-distilroberta-base" |
| fusion: |
| mode: "emotion_specific" |
| audio_weight: 0.6 |
| text_weight: 0.4 |
|
|
| |
| stage3: |
| input_path: "data/stage2_output.json" |
| output_path: "data/stage3_output.json" |
| recap: |
| llm_provider: "anthropic" |
| model: "claude-sonnet-4-20250514" |
| max_tokens: 500 |
| garden: |
| growth_per_call: 5 |
| max_level: 5 |
|
|
| |
| stage4: |
| input_path: "data/stage3_output.json" |
| host: "0.0.0.0" |
| port: 8000 |
| max_upload_size_mb: 50 |
| allowed_extensions: [".wav", ".mp3", ".m4a", ".ogg"] |
|
|
| |
| api: {} |
|
|
| |
| logging: |
| level: "INFO" |
| format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s" |
|
|