模型介绍
This is a modified version of google/translategemma-4b-it optimized for deployment with vLLM. The original TranslateGemma model requires a structured payload with dedicated `source_lang_code` and `target_lang_code` fields: However, vLLM does not support these custom content parameters. To maintain compatibility, the chat template has been modified to encode language codes directly in the message content using a delimiter-based format:
下方摘要由共用资料处理模型依据来源整理,非本站实测;选型结论请结合原始资料和实际业务验证。
主要特点
- Optimized for vLLM inference runtime
- Modified chat template embedding language codes in message content via delimiters
- Based on Google's TranslateGemma-4b-it model for translation tasks
局限与注意事项
- Does not support vLLM-native custom parameters like `source_lang_code` or `target_lang_code`
- Language codes must be manually encoded in input text using delimiter-based format
- Limited to translation functionality; no evidence of multilingual generation beyond source-target pairs
来源报价与费用分析
同一模型在不同渠道、地区和配置下可能采用不同价格。下表独立保留各渠道报价,不将渠道价格视为厂商官方统一价格。
| 来源 / 渠道 | 输入 | 输出 | 计费单位 | 采集时间 |
|---|---|---|---|---|
| 暂未取得可核验报价,请查阅来源渠道。 | ||||
按月估算基础 Token 费用
预估不包含缓存优惠、阶梯定价、多模态附加费用、网络检索、税费及推理额外输出。
公开评测与运行配置
暂无已采集的可核验公开评分。模型未上榜不代表能力较低。
查看完整已收录榜单 →常见问题
What is the purpose of the delimiter-based language code encoding?
To compensate for vLLM's lack of support for custom payload fields (e.g., `source_lang_code`, `target_lang_code`), language identifiers are embedded directly in the input text using delimiters.
Which base model is this variant derived from?
It is derived from Google's `translategemma-4b-it` model.
Why was the original chat template modified?
The chat template was modified to maintain translation functionality within vLLM's constraints, as vLLM does not accept structured parameters outside standard chat message content.
开放权重是否代表可以免费商用?
不一定。应核对具体版本许可证、商用门槛和使用政策。自部署还会产生算力和维护成本。
这些价格是实时结算价格吗?
不是实时结算价格,而是带采集时间的来源报价快照。请到对应渠道核对当前版本、区域、折扣和计费方式。
资料来源与可追溯记录
许可证:gemma。模型介绍与第三方评测均以原来源的具体版本和方法为准。