How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "BenjaminHelle/LFM2.5-350M-coder"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "BenjaminHelle/LFM2.5-350M-coder",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/BenjaminHelle/LFM2.5-350M-coder:Q4_K_M
Quick Links

LFM2.5-350M-coder : GGUF

This model was finetuned and converted to GGUF format using Unsloth. Dataset used: https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1

Example usage:

  • For text only LLMs: llama-cli -hf BenjaminHelle/LFM2.5-350M-coder --jinja
  • For multimodal models: llama-mtmd-cli -hf BenjaminHelle/LFM2.5-350M-coder --jinja

Available Model files:

  • LFM2.5-350M.Q8_0.gguf
  • LFM2.5-350M.Q4_K_M.gguf This was trained 2x faster with Unsloth
Downloads last month
273
GGUF
Model size
0.4B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

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

Model tree for BenjaminHelle/LFM2.5-350M-coder

Quantized
(46)
this model

Dataset used to train BenjaminHelle/LFM2.5-350M-coder