How to use from
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 "kurakurai/Luth-LFM2-1.2B-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": "kurakurai/Luth-LFM2-1.2B-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 "kurakurai/Luth-LFM2-1.2B-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": "kurakurai/Luth-LFM2-1.2B-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Luth x LFM2

Luth-LFM2-1.2B-GGUF

Luth-LFM2 are French fine-tuned versions of LFM2 models by Kurakura AI, trained on the Luth-SFT dataset. The models have improved their French capabilities in instruction following, math, and general knowledge. Additionally, their English capabilities have remained stable.

Find more details in the original model card: https://huggingface.co/kurakurai/Luth-LFM2-1.2B

🏃 How to run Luth-LFM2

Example usage with llama.cpp:

llama-cli -hf kurakurai/Luth-LFM2-1.2B-GGUF
Downloads last month
123
GGUF
Model size
1B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for kurakurai/Luth-LFM2-1.2B-GGUF

Quantized
(36)
this model

Dataset used to train kurakurai/Luth-LFM2-1.2B-GGUF

Collections including kurakurai/Luth-LFM2-1.2B-GGUF