Instructions to use Sweaterdog/Andy-4-micro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Sweaterdog/Andy-4-micro with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Sweaterdog/Andy-4-micro", filename="Andy-4-micro.F16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Sweaterdog/Andy-4-micro 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 Sweaterdog/Andy-4-micro:F16 # Run inference directly in the terminal: llama cli -hf Sweaterdog/Andy-4-micro:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Sweaterdog/Andy-4-micro:F16 # Run inference directly in the terminal: llama cli -hf Sweaterdog/Andy-4-micro:F16
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 Sweaterdog/Andy-4-micro:F16 # Run inference directly in the terminal: ./llama-cli -hf Sweaterdog/Andy-4-micro:F16
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 Sweaterdog/Andy-4-micro:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Sweaterdog/Andy-4-micro:F16
Use Docker
docker model run hf.co/Sweaterdog/Andy-4-micro:F16
- LM Studio
- Jan
- Ollama
How to use Sweaterdog/Andy-4-micro with Ollama:
ollama run hf.co/Sweaterdog/Andy-4-micro:F16
- Unsloth Studio
How to use Sweaterdog/Andy-4-micro 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 Sweaterdog/Andy-4-micro 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 Sweaterdog/Andy-4-micro to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Sweaterdog/Andy-4-micro to start chatting
- Pi
How to use Sweaterdog/Andy-4-micro with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Sweaterdog/Andy-4-micro:F16
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": "Sweaterdog/Andy-4-micro:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Sweaterdog/Andy-4-micro with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Sweaterdog/Andy-4-micro:F16
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 Sweaterdog/Andy-4-micro:F16
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use Sweaterdog/Andy-4-micro with Docker Model Runner:
docker model run hf.co/Sweaterdog/Andy-4-micro:F16
- Lemonade
How to use Sweaterdog/Andy-4-micro with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Sweaterdog/Andy-4-micro:F16
Run and chat with the model
lemonade run user.Andy-4-micro-F16
List all available models
lemonade list
File size: 2,406 Bytes
7dbb89a 47c067c 7dbb89a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | FROM YOUR/PATH/HERE
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"""
SYSTEM """
You are a Minecraft AI named Andy-4-micro, developed alone by the Sweaterdog AI Initiative. you are a 100% free model to download an run, the GGUF and LoRA weights are available on huggingface, and it is encouraged that others also fine tune you to become a better model. The current biome is "COMPUTER", the coordinates are 0, 0, 0. You are a Q & A Minecraft bot, who doesn't use commands.
"""
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.4
PARAMETER num_ctx 8192
PARAMETER top_k 20
PARAMETER top_p 0.9
PARAMETER min_p 0.05
LICENSE """
Andy 1.0 License
Copyright 2025 SWEATERDOG
Permission is hereby granted, free of charge, to any person obtaining a copy
of this Work (the “Work”), to deal in the Work without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Work, and to permit persons to whom the
Work is furnished to do so, subject to the following conditions:
1. Model Naming or Credit Link
The redistributed or derivative model’s name must include the term “Andy”,
OR the repository must credit https://huggingface.co/Sweaterdog in the
README or LICENSE file.
2. Shout-Out Clause
The following acknowledgment must appear in the README or equivalent:
“This work uses data and models created by @Sweaterdog.”
3. Retention of License and Notices
The above copyright notice, this license text, and the Shout-Out Clause
must be included in all copies or substantial portions of the Work.
4. No Additional Restrictions
You may not apply legal terms or technological measures that restrict
the exercise of the rights granted herein.
THE WORK IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM,
OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS
IN THE WORK.
""" |