Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

whcl412
/
LycheeAI-coder-1b-II

MLX
Safetensors
llama
code
minicpm
chinese
conversational
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use whcl412/LycheeAI-coder-1b-II with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use whcl412/LycheeAI-coder-1b-II with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir LycheeAI-coder-1b-II whcl412/LycheeAI-coder-1b-II
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Pi

    How to use whcl412/LycheeAI-coder-1b-II with Pi:

    Start the MLX server
    # Install MLX LM:
    uv tool install mlx-lm
    # Start a local OpenAI-compatible server:
    mlx_lm.server --model "whcl412/LycheeAI-coder-1b-II"
    Configure the model in Pi
    # Install Pi:
    npm install -g @earendil-works/pi-coding-agent
    # Add to ~/.pi/agent/models.json:
    {
      "providers": {
        "mlx-lm": {
          "baseUrl": "http://localhost:8080/v1",
          "api": "openai-completions",
          "apiKey": "none",
          "models": [
            {
              "id": "whcl412/LycheeAI-coder-1b-II"
            }
          ]
        }
      }
    }
    Run Pi
    # Start Pi in your project directory:
    pi
  • Hermes Agent

    How to use whcl412/LycheeAI-coder-1b-II with Hermes Agent:

    Start the MLX server
    # Install MLX LM:
    uv tool install mlx-lm
    # Start a local OpenAI-compatible server:
    mlx_lm.server --model "whcl412/LycheeAI-coder-1b-II"
    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 whcl412/LycheeAI-coder-1b-II
    Run Hermes
    hermes
  • Atomic Chat
  • OpenClaw

    How to use whcl412/LycheeAI-coder-1b-II with OpenClaw:

    Start the MLX server
    # Install MLX LM:
    uv tool install mlx-lm
    # Start a local OpenAI-compatible server:
    mlx_lm.server --model "whcl412/LycheeAI-coder-1b-II"
    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 "whcl412/LycheeAI-coder-1b-II" \
      --custom-provider-id mlx-lm \
      --custom-compatibility openai \
      --custom-text-input \
      --accept-risk \
      --skip-health
    Run OpenClaw
    openclaw agent --local --agent main --message "Hello from Hugging Face"
LycheeAI-coder-1b-II
618 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
whcl412's picture
whcl412
docs: V4
fcc3282 verified 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 6 days ago
  • .ms_upload_cache
    1.3 kB
    v4: code polish 4 days ago
  • README.md
    5.54 kB
    docs: V4 4 days ago
  • chat_template.jinja
    9.06 kB
    v3: LycheeAI-coder-1b-II (MLX 4bit) 6 days ago
  • config.json
    886 Bytes
    v3: LycheeAI-coder-1b-II (MLX 4bit) 6 days ago
  • generation_config.json
    201 Bytes
    v3: LycheeAI-coder-1b-II (MLX 4bit) 6 days ago
  • model.safetensors
    608 MB
    xet
    v4: code polish 4 days ago
  • model.safetensors.index.json
    39.4 kB
    v3: LycheeAI-coder-1b-II (MLX 4bit) 6 days ago
  • tokenizer.json
    9.89 MB
    v3: LycheeAI-coder-1b-II (MLX 4bit) 6 days ago
  • tokenizer_config.json
    417 Bytes
    v3: LycheeAI-coder-1b-II (MLX 4bit) 6 days ago