Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Banaxi-Tech
/
LFM3-1.7B-Klein

Safetensors
GGUF
lfm3
distillation
ternary
quantization-aware-training
q2_0
custom_code
conversational
Model card Files Files and versions
xet
Community
1

Instructions to use Banaxi-Tech/LFM3-1.7B-Klein with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use Banaxi-Tech/LFM3-1.7B-Klein 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 Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    # Run inference directly in the terminal:
    llama cli -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    # Run inference directly in the terminal:
    llama cli -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama serve -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    Use Docker
    docker model run hf.co/Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
  • Llama new
  • LM Studio
  • Jan
  • Ollama

    How to use Banaxi-Tech/LFM3-1.7B-Klein with Ollama:

    ollama run hf.co/Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
  • Unsloth Desktop
  • Pi

    How to use Banaxi-Tech/LFM3-1.7B-Klein with Pi:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    Configure the model in Pi
    # Install Pi:
    npm install -g @earendil-works/pi-coding-agent
    # Add to ~/.pi/agent/models.json:
    {
      "providers": {
        "llama-cpp": {
          "baseUrl": "http://localhost:9931/v1",
          "api": "openai-completions",
          "apiKey": "none",
          "models": [
            {
              "id": "Banaxi-Tech/LFM3-1.7B-Klein:Q2_0"
            }
          ]
        }
      }
    }
    Run Pi
    # Start Pi in your project directory:
    pi
  • Docker Model Runner

    How to use Banaxi-Tech/LFM3-1.7B-Klein with Docker Model Runner:

    docker model run hf.co/Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
  • Lemonade

    How to use Banaxi-Tech/LFM3-1.7B-Klein with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    Run and chat with the model
    lemonade run user.LFM3-1.7B-Klein-Q2_0
    List all available models
    lemonade list
  • Hermes Agent

    How to use Banaxi-Tech/LFM3-1.7B-Klein with Hermes Agent:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    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:9931/v1
    hermes config set model.default Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    Run Hermes
    hermes
  • Atomic Chat
  • OpenClaw

    How to use Banaxi-Tech/LFM3-1.7B-Klein with OpenClaw:

    Start the llama.cpp server
    # Install llama.cpp:
    brew install llama.cpp
    # Start a local OpenAI-compatible server:
    llama serve -hf Banaxi-Tech/LFM3-1.7B-Klein:Q2_0
    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:9931/v1 \
      --custom-model-id "Banaxi-Tech/LFM3-1.7B-Klein:Q2_0" \
      --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"

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Internal Access Only. Requests will not be accepted. This repo is only gated because public storage is free.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • .gitattributes
    1.63 kB
    GGUF Q2_0 about 20 hours ago
  • LFM3-1.7B-Klein-Q2_0.gguf
    701 MB
    xet
    GGUF Q2_0 about 20 hours ago
  • README.md
    582 Bytes
    Repository notice about 19 hours ago
  • chat_template.jinja
    12.1 kB
    step 4960 (1.300B tokens) about 21 hours ago
  • config.json
    1.71 kB
    step 4960 (1.300B tokens) about 21 hours ago
  • configuration_lfm3.py
    6.11 kB
    step 4960 (1.300B tokens) about 21 hours ago
  • eval_results.json
    1.81 kB
    step 4960 (1.300B tokens) about 21 hours ago
  • generation_config.json
    328 Bytes
    step 4960 (1.300B tokens) about 21 hours ago
  • lfm3_conv.py
    8.53 kB
    step 4960 (1.300B tokens) about 21 hours ago
  • model.safetensors
    3.46 GB
    xet
    step 4960 (1.300B tokens) about 21 hours ago
  • modeling_lfm3.py
    42.4 kB
    step 4960 (1.300B tokens) about 21 hours ago
  • tokenizer.json
    17.9 MB
    xet
    step 4960 (1.300B tokens) about 21 hours ago
  • tokenizer_config.json
    1.86 kB
    step 4960 (1.300B tokens) about 21 hours ago