Instructions to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/LiquidAI-LFM2.5-230M-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/LiquidAI-LFM2.5-230M-GGUF", dtype="auto") - llama-cpp-python
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="prithivMLmods/LiquidAI-LFM2.5-230M-GGUF", filename="LFM2.5-230M.BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
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 prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
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 prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with Ollama:
ollama run hf.co/prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
- Unsloth Studio
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for prithivMLmods/LiquidAI-LFM2.5-230M-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for prithivMLmods/LiquidAI-LFM2.5-230M-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for prithivMLmods/LiquidAI-LFM2.5-230M-GGUF to start chatting
- Pi
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF: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 prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/LiquidAI-LFM2.5-230M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/LiquidAI-LFM2.5-230M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LiquidAI-LFM2.5-230M-GGUF-Q4_K_M
List all available models
lemonade list
Add files using upload-large-folder tool
Browse files- .gitattributes +15 -0
- LFM2.5-230M.BF16.gguf +3 -0
- LFM2.5-230M.F16.gguf +3 -0
- LFM2.5-230M.F32.gguf +3 -0
- LFM2.5-230M.Q2_K.gguf +3 -0
- LFM2.5-230M.Q3_K_L.gguf +3 -0
- LFM2.5-230M.Q3_K_M.gguf +3 -0
- LFM2.5-230M.Q3_K_S.gguf +3 -0
- LFM2.5-230M.Q4_0.gguf +3 -0
- LFM2.5-230M.Q4_K_M.gguf +3 -0
- LFM2.5-230M.Q4_K_S.gguf +3 -0
- LFM2.5-230M.Q5_0.gguf +3 -0
- LFM2.5-230M.Q5_K_M.gguf +3 -0
- LFM2.5-230M.Q5_K_S.gguf +3 -0
- LFM2.5-230M.Q6_K.gguf +3 -0
- LFM2.5-230M.Q8_0.gguf +3 -0
|
@@ -33,3 +33,18 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
LFM2.5-230M.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
LFM2.5-230M.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
LFM2.5-230M.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
LFM2.5-230M.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
LFM2.5-230M.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
LFM2.5-230M.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
LFM2.5-230M.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
LFM2.5-230M.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
LFM2.5-230M.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
LFM2.5-230M.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
LFM2.5-230M.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
LFM2.5-230M.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
LFM2.5-230M.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
LFM2.5-230M.F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
LFM2.5-230M.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1923372a8abc82b39fcdfa72d8236914e7a44db35f5bf56f338a316f6b86986a
|
| 3 |
+
size 461884256
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2ed0ade4e43256be20f23d8050614262a387bd81abdf95107545d583e2c3781
|
| 3 |
+
size 461884256
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ace90f83c48048204e25655a244f4e5837ab0001417f2d5855bc749e0a070ab9
|
| 3 |
+
size 921160544
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da647398b466adee7bfa2cc9e3c5bc359108672268e73f29a83bea5abcec79ab
|
| 3 |
+
size 115673952
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d46ae1b4acb5344f3047bb7c99f28a9cfa9bc301a84395787afca00da6c62aa
|
| 3 |
+
size 139389792
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36031e6dcc6050fc200f0274005f25b871cebbf15075937d847268e4ec204741
|
| 3 |
+
size 133753696
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24ced83e8ab199a3b37f8cd3b319730e5b3d9d10d2ec5af5a7e79e34e5f1dbc8
|
| 3 |
+
size 127495008
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79a11c3f83f2f5568b98973a8cf88d2eb4a3714b6ccdbabb4c8281505af84fc0
|
| 3 |
+
size 149080928
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c71b257ebeb63b37e73ecc70f57655bfbc8cf8ed57514b7ec04378039299632e
|
| 3 |
+
size 153406304
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db2d747e26559a4d6f451283af0691d6ae09afa699a6d6c0c55ef004a544a5b0
|
| 3 |
+
size 149670752
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6978e185fcb5bbbe6a301ec7c26f90db253000f999e347d315e66e49995078d5
|
| 3 |
+
size 169397088
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67402c69cb08f04dc668ac83060462f85e69b264575f4d6e09731cedcffdb05c
|
| 3 |
+
size 171625312
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15aea233605e2e1fffac1d05ecb042f63c81045182ca17fbd4c66ee15e54d2f4
|
| 3 |
+
size 169397088
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03a42bf2cd13ad3b42081f3e79829ff1a8b1baba45c8de3943cd885510322271
|
| 3 |
+
size 190983008
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ac7c9bf5999c276aff7475bcf1ff46012cee9ac1da54770d73b49561c7cfb14
|
| 3 |
+
size 246598496
|