How to use from
Hermes Agent
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama-server -hf BenjaminHelle/LFM2-350M-code: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 BenjaminHelle/LFM2-350M-code:Q4_K_M
Run Hermes
hermes
Quick Links

LFM2-350M-Code : GGUF

Finetuned using the Code-Feedback dataset. Original model.

This model was finetuned and converted to GGUF format using Unsloth.

Example usage:

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

Available Model files:

  • LFM2-350M.Q8_0.gguf
  • LFM2-350M.Q4_K_M.gguf This was trained 2x faster with Unsloth
Downloads last month
128
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-350M-code

Quantized
(33)
this model

Dataset used to train BenjaminHelle/LFM2-350M-code