How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="mingxilei/lfm2-350M-ft",
	filename="lfm2-350M-ft-q4_k_m.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Uploaded finetuned model

  • Developed by: mingxilei
  • License: apache-2.0
  • Finetuned from model : LiquidAI/LFM2-350M

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

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

Model tree for mingxilei/lfm2-350M-ft

Quantized
(32)
this model