How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
# Run inference directly in the terminal:
llama cli -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
# Run inference directly in the terminal:
llama cli -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
Use Docker
docker model run hf.co/LiquidAI/LFM2-350M-ENJP-MT-GGUF:
Quick Links
Liquid AI
Try LFM β€’ Docs β€’ LEAP β€’ Discord

LFM2-350M-ENJP-MT-GGUF

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.

Find more details in the original model card: https://huggingface.co/LiquidAI/LFM2-350M-ENJP-MT

πŸƒ How to run LFM2

Example usage with llama.cpp:

Translating to English.

llama-cli -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF -sys "Translate to English." -st

Translate to Japanese.

llama-cli -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF -sys "Translate to Japanese." -st

Quantized model.

llama-cli -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:Q4_0 -sys "Translate to Japanese." -st
Downloads last month
1,944
GGUF
Model size
0.4B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for LiquidAI/LFM2-350M-ENJP-MT-GGUF

Quantized
(5)
this model

Space using LiquidAI/LFM2-350M-ENJP-MT-GGUF 1

Collections including LiquidAI/LFM2-350M-ENJP-MT-GGUF