1 2 hours ago

Hy-MT2 multilingual translation models designed for complex real-world scenarios. It includes three model sizes: 1.8B, 7B, and 30B-A3B (MoE), all of which support translation among 33 languages and effectively follow translation instructions.

1.8b 7b 30b
... /
template
ce76812f1438 · 510B
<|hy_begin▁of▁sentence|>
{{- if .System }}{{ .System }}<|hy_place▁holder▁no▁3|>{{ end }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 -}}
{{- if eq .Role "user" -}}
<|hy_User|>{{ .Content }}
{{- end }}
{{- if eq .Role "assistant" -}}
<|hy_Assistant|>{{ .Content }}<|hy_place▁holder▁no▁2|>
{{- end }}
{{- if and $last (ne .Role "assistant") -}}
<|hy_Assistant|>
{{- else -}}
<|hy_place▁holder▁no▁8|>
{{- end }}
{{- end -}}