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

Uploaded finetuned model

  • Developed by: smjain
  • License: apache-2.0
  • Finetuned from model : unsloth/LFM2.5-230M

This lfm2 model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
22
Safetensors
Model size
0.2B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for smjain/sap-archgen-lfm2-230M

Finetuned
(4)
this model