Views
No views yet
config.json — RoPE parameters simplified for vLLMgeneration_config.json — Added temperature, bos_token_id, max_length; adjusted eos_token_id orderingchat_template.jinja — Replaced structured content format with delimiter-based string formatsource_lang_code and target_lang_code fields:1{
2 "role": "user",
3 "content": [
4 {
5 "type": "text",
6 "source_lang_code": "cs",
7 "target_lang_code": "de-DE",
8 "text": "V nejhorším případě i k prasknutí čočky."
9 }
10 ]
11}1{
2 "model": "model",
3 "messages": [
4 {
5 "role": "user",
6 "content": "<<<source>>>cs<<<target>>>de-DE<<<text>>>V nejhorším případě i k prasknutí čočky."
7 }
8 ]
9}<<<source>>>{source_lang}<<<target>>>{target_lang}<<<text>>>{text_to_translate}<<<custom>>>{text}1"rope_parameters": {
2 "full_attention": {
3 "factor": 8.0,
4 "rope_type": "linear"
5 },
6 "sliding_attention": {
7 "rope_type": "default"
8 }
9}1"rope_parameters": {
2 "factor": 8.0,
3 "rope_type": "linear"
4}temperature, bos_token_id, and max_length fields. The EOS token ordering was adjusted to [106, 1] for proper sequence termination.vllm serve chbae624/vllm-translategemma-12b-it --max-model-len 40961curl -s http://localhost:8000/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "chbae624/vllm-translategemma-12b-it",
5 "messages": [
6 {
7 "role": "user",
8 "content": "<<<source>>>en<<<target>>>ko<<<text>>>The weather is beautiful today."
9 }
10 ],
11 "temperature": 0.15,
12 "max_tokens": 256
13 }'1curl -s http://localhost:8000/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "chbae624/vllm-translategemma-12b-it",
5 "messages": [
6 {
7 "role": "user",
8 "content": "<<<custom>>>Translate the following Japanese text to English: 今日はいい天気ですね。"
9 }
10 ],
11 "temperature": 0.15,
12 "max_tokens": 256
13 }'NOTICE file included in this repository.1@article{gemmatranslate2026,
2 title={{TranslateGemma Technical Report}},
3 url={https://arxiv.org/pdf/2601.09012},
4 publisher={Google DeepMind},
5 author={{Google Translate Research Team}},
6 year={2026}
7}