Safetensors
GGUF
lfm2
conversational
How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
# Run inference directly in the terminal:
llama-cli -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
# Run inference directly in the terminal:
llama-cli -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
# Run inference directly in the terminal:
./llama-cli -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
Use Docker
docker model run hf.co/Trilogix1/Hugston_Lobotomized-LFM2.5-350M_f32:
Quick Links

This is an Abliterated version of LMF2.5-350M using a modified version of Prometheus, then using Quanta and HugstonOne.

The aim is to understand the safety mechanism of different llm models for research purposes.

Here we show proof of concept of how we can change the model behaviour preserving accuracy and lowering the refusal rate with very few trial which run in relatively small datasets. As a matter of fact it can run in a cheap laptop in cpu narrowing it down to 5-20 min for a small model.

6 trials Refusals: 10/1000, KL divergence: 0.2577


Credit to LiquidAI for the model creation

Credit to https://huggingface.co/wangzhang for abliteration method

Credit to LLama.cpp team for the great contribution

Credit to Hugston Team for Abliteration, Converting, Quantizing, Testing, Benching and other...

Credit to Huggingface for the amazing hosting platform


Keep away from children

Here we show the behaviour running the model in HugstonOne (the 0.8b, as an example). image

The quantization in GGUF was made in f32 for beter quants.
Here we show Quanta our convertor and Quantizer tool.

image

Downloads last month
202
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