ComfyUI Node
translator_m2m100(mki-多语言翻译-m2m100)
Translate text using the M2M100 model. 使用M2M100模型翻译文本。
translator_m2m100(mki-多语言翻译-m2m100)
- STRING
◄query_text—►
◄modelfacebook/m2m100_418M►
◄from_languageauto►
◄to_languageEnglish (en)►
◄quantization8bit►
◄attentionsdpa►
CategoryMakkiTools
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| query_text | STRING | Text to translate 要翻译的文本 | |
| model | COMBO | facebook/m2m100_418M | M2M100 model to use 要使用的M2M100模型 |
| from_language | COMBO | auto | Source language (auto for automatic detection) 源语言(auto为自动检测) |
| to_language | COMBO | English (en) | Target language 目标语言 |
| quantization | COMBO | 8bit | Model quantization level 模型量化级别 |
| attention | COMBO | sdpa | Attention implementation to use 要使用的注意力实现 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |