How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf LiquidAI/LFM2-350M-ENJP-MT-GGUF:
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "LiquidAI/LFM2-350M-ENJP-MT-GGUF:" \
  --custom-provider-id llama-cpp \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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
2,263
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