Instructions to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with 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 Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
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 Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
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 Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
- SGLang
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with Ollama:
ollama run hf.co/Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
- Unsloth Studio
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF to start chatting
- Pi
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
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 "Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M" \ --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"
- Docker Model Runner
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with Docker Model Runner:
docker model run hf.co/Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
- Lemonade
How to use Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF-Q4_K_M
List all available models
lemonade list
LFM2.5-1.2B-Instruct-Korean
Model Overview
LFM2.5-1.2B-Instruct-Korean is a Korean instruction-following language model based on LiquidAI/LFM2.5-1.2B-Instruct.
This model was fine-tuned on Korean-centered datasets with the goal of improving performance on Korean question answering, general conversation, and instruction-following tasks.
The model is designed to generate responses that are more natural, consistent, and contextually appropriate in Korean.
Base Model
- Base model:
LiquidAI/LFM2.5-1.2B-Instruct
Training Data
This model was fine-tuned using the following Korean-centered datasets:
maywell/koVastCarrotAI/ko-instruction-datasetMarkrAI/KoCommercial-DatasetJongsim/claude-opus-4.6-reasoning-12k-ko-filtered-v2
The training data includes Korean instruction-response pairs, general conversational data, and commercially or practically oriented text.
This setup was intended to help the model learn a broad range of Korean expressions, styles, and contexts.
Training Details
The model was trained for 3 full epochs over the entire dataset.
Training proceeded for a total of 2,160 steps and was completed successfully without interruption.
Training Summary
- Number of epochs: 3
- Total training steps: 2,160
- Training completion status: Completed
- Training status: Stable
Evaluation Results
The final evaluation metrics are as follows:
- training_loss: 0.9999
- eval_loss: 1.0480
- eval_mean_token_accuracy: 0.7445
These results show that the training loss and evaluation loss remained at nearly the same level, suggesting that the model demonstrated relatively stable generalization performance on the validation set without a clear sign of overfitting.
Result Interpretation
One notable point in this experiment is the very small gap between training loss and evaluation loss.
- training_loss = 0.9999
- eval_loss = 1.0480
In general, a large gap between these two values may indicate overfitting.
However, in this experiment, the difference was very small, which suggests that the model adapted to the training data in a stable manner while maintaining a similar level of performance on the validation set.
In addition, the result of eval_mean_token_accuracy = 0.7445 indicates that the model predicts the next token in a relatively stable and consistent way.
Taken together, these results suggest that the model successfully learned the major patterns in the training data and converged stably without severe instability.
Overall Conclusion
This fine-tuning was completed successfully and showed overall solid results.
The close alignment between training loss and evaluation loss suggests that the model did not significantly overfit during training and that the optimization process remained stable.
Moreover, no sharp divergence in loss values was observed throughout the training process.
Therefore, this experiment can be regarded as a fine-tuning run that converged stably overall.
Limitations and Future Work
While these metrics are useful for assessing training stability and convergence, they do not fully reflect response quality, factuality, instruction-following accuracy, or real-world usability.
To obtain a more comprehensive evaluation of the model, the following additional assessments are planned:
- evaluation on real user question-answer examples
- downstream task performance evaluation
- qualitative analysis of generated responses
- safety and hallucination checks
Through these follow-up evaluations, we aim to verify whether the model can go beyond stable training-time metrics and provide reliable and consistent performance in real-world usage scenarios.
License
This model is a fine-tuned derivative of LiquidAI/LFM2.5-1.2B-Instruct.
Use and distribution of this model are subject to the terms of the LFM Open License v1.0 applicable to the base model.
Please also review any additional obligations arising from the datasets used during fine-tuning.
Feedback
This model will continue to be improved through further evaluation and refinement.
If you have any feedback on your experience using the model or notice areas that need improvement, your input will be carefully considered and reflected in future quality improvements.
Your feedback will be a great source of support in improving and further developing the model.
- Downloads last month
- 139
4-bit
5-bit
8-bit
16-bit
Model tree for Yoro9381/LFM2.5-1.2B-Instruct-Korean-Opus-4.6-Distill-GGUF
Base model
LiquidAI/LFM2.5-1.2B-Base