← All models
Tencent · Language model
Hy-MT2-7B
tencent/hy-mt2-7b- Language
Hy-MT2-7B is a 7B-parameter translation model from Tencent. It supports 33 language pairs and five Chinese dialect and minority-language pairs, with workflows for structured, delimiter-based, contextual, glossary-based, and style-guided translation.
Specifications
- Context window
- 8,192 tokens
- Max output
- 4,096 tokens
- Input
- text
- Output
- text
- Tokenizer
- Other
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- max_completion_tokens
- max_tokens
- response_format
- stop
- structured_outputs
- temperature
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"tencent/hy-mt2-7b","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'