Based on the
LFM2-350M
model, this checkpoint has been fine-tuned for near real-time
bi-directional Japanese/English translation
of short-to-medium inputs.
LFM2-350M-ENJP-MT delivers translation quality that is on par with models more than 10 times its size.
📄 Model details
Generation parameters
: We strongly recommend using greedy decoding with a
temperature=0
.
System prompts
: LFM2-ENJP-MT
requires
one of the two following system prompts:
"Translate to Japanese." for English to Japanese translation.
"Translate to English." for Japanese to English translation.
⚠️ The model cannot work as intended without one of these two system prompts.
Chat template
: LFM2-ENJP-MT uses a ChatML-like chat template as follows:
<|startoftext|><|im_start|>system
Translate to Japanese.<|im_end|>
<|im_start|>user
What is C. elegans?<|im_end|>
<|im_start|>assistant
C. elegansとは何ですか?<|im_end|>
You can automatically apply it using the dedicated
.apply_chat_template()
function from Hugging Face transformers.
⚠️ The model is intended for single turn conversations.
LFM2-350M-ENJP-MT huggingface.co is an AI model on huggingface.co that provides LFM2-350M-ENJP-MT's model effect (), which can be used instantly with this LiquidAI LFM2-350M-ENJP-MT model. huggingface.co supports a free trial of the LFM2-350M-ENJP-MT model, and also provides paid use of the LFM2-350M-ENJP-MT. Support call LFM2-350M-ENJP-MT model through api, including Node.js, Python, http.
LFM2-350M-ENJP-MT huggingface.co is an online trial and call api platform, which integrates LFM2-350M-ENJP-MT's modeling effects, including api services, and provides a free online trial of LFM2-350M-ENJP-MT, you can try LFM2-350M-ENJP-MT online for free by clicking the link below.
LiquidAI LFM2-350M-ENJP-MT online free url in huggingface.co:
LFM2-350M-ENJP-MT is an open source model from GitHub that offers a free installation service, and any user can find LFM2-350M-ENJP-MT on GitHub to install. At the same time, huggingface.co provides the effect of LFM2-350M-ENJP-MT install, users can directly use LFM2-350M-ENJP-MT installed effect in huggingface.co for debugging and trial. It also supports api for free installation.