File size: 951 Bytes
d57f5f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
"""
Configuration file for Women Empowerment Voice Assistant
"""

# Model Configuration
BHARATGEN_MODEL = "bharatgenai/Param-1-2.9B-Instruct"
STT_MODEL = "ai4bharat/conformer_multilingual"

# Supported Languages (current)
SUPPORTED_LANGUAGES = [
    "Hindi (हिंदी)",
    "English (अंग्रेजी)",
    "Marathi (मराठी)",
    "Tamil (தமிழ்)",
    "Malayalam (മലയാളം)",
    "Bengali (বাংলা)",
    "Punjabi (ਪੰਜਾਬੀ)",
    "Gujarati (ગુજરાતી)",
    "Telugu (తెలుగు)",
    "Kannada (ಕನ್ನಡ)"
]

# Emergency Contacts
HELPLINES = {
    "women_helpline": "181",
    "police_emergency": "100, 112",
    "child_helpline": "1098",
    "mental_health": "080-46110007",
    "domestic_violence": "181"
}

# Generation Parameters
GEN_CONFIG = {
    "max_new_tokens": 250,
    "temperature": 0.7,
    "top_k": 50,
    "top_p": 0.95,
    "do_sample": True
}