VoxSum / src /utils.py
Luigi's picture
Update src/utils.py
494af84 verified
# utils.py
import opencc
model_names = {
"tiny English":"tiny",
"tiny Arabic":"tiny-ar",
"tiny Chinese":"tiny-zh",
"tiny Japanese":"tiny-ja",
"tiny Korean":"tiny-ko",
"tiny Ukrainian":"tiny-uk",
"tiny Vietnamese":"tiny-vi",
"base English":"base",
"base Spanish":"base-es"
}
available_gguf_llms = {
"Gemma-3-1B": ("bartowski/google_gemma-3-1b-it-qat-GGUF", "google_gemma-3-1b-it-qat-Q4_0.gguf"),
"Gemma-3-3N-E2B": ("unsloth/gemma-3n-E2B-it-GGUF", "gemma-3n-E2B-it-Q4_0.gguf"),
"Gemma-3-3N-E4B": ("unsloth/gemma-3n-E4B-it-GGUF", "gemma-3n-E4B-it-Q4_0.gguf"),
}
s2tw_converter = opencc.OpenCC('s2twp')