Instructions to use FLvdW/Zeroth42-4B 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 FLvdW/Zeroth42-4B 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 FLvdW/Zeroth42-4B:Q4_K_M # Run inference directly in the terminal: llama cli -hf FLvdW/Zeroth42-4B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf FLvdW/Zeroth42-4B:Q4_K_M # Run inference directly in the terminal: llama cli -hf FLvdW/Zeroth42-4B: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 FLvdW/Zeroth42-4B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf FLvdW/Zeroth42-4B: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 FLvdW/Zeroth42-4B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf FLvdW/Zeroth42-4B:Q4_K_M
Use Docker
docker model run hf.co/FLvdW/Zeroth42-4B:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use FLvdW/Zeroth42-4B with Ollama:
ollama run hf.co/FLvdW/Zeroth42-4B:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use FLvdW/Zeroth42-4B with Docker Model Runner:
docker model run hf.co/FLvdW/Zeroth42-4B:Q4_K_M
- Lemonade
How to use FLvdW/Zeroth42-4B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FLvdW/Zeroth42-4B:Q4_K_M
Run and chat with the model
lemonade run user.Zeroth42-4B-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download scripts/rules.json from FLvdW/Zeroth42-4B: direct link, hf CLI and curl.
- Browser
- Download file 2.17 kB
-
https://huggingface.co/FLvdW/Zeroth42-4B/resolve/main/scripts/rules.json
- Command line
-
hf download hf://FLvdW/Zeroth42-4B/scripts/rules.json
-
curl -L -o rules.json https://huggingface.co/FLvdW/Zeroth42-4B/resolve/main/scripts/rules.json
2.17 kB
| { | |
| "version": 1, | |
| "_comment": "Golden decision table for the #42 OS installer guardrail. Single source of truth for the eval, the guardrail, and the trace matrix.", | |
| "constraints": { | |
| "esp_mib_min": 512, | |
| "fs_allowlist_root": ["ext4", "btrfs", "xfs", "f2fs"], | |
| "fs_esp": "vfat", | |
| "mounts_allowed": ["/", "/boot", "/boot/efi", "/home", "swap"], | |
| "install_modes": ["erase", "alongside", "manual"], | |
| "encryption_modes": ["none", "luks"], | |
| "swap_mib_per_gib_ram_hib": 1024 | |
| }, | |
| "profiles": [ | |
| { | |
| "id": "nvme-500-16g-uefi", | |
| "firmware": "uefi", | |
| "ram_gb": 16, | |
| "hibernation": true, | |
| "scheme": "gpt", | |
| "mounts": ["/", "/home", "swap"], | |
| "root_fs": "ext4", | |
| "swap_gb_min": 16, | |
| "esp_mib_min": 512, | |
| "bootloader_target": "internal", | |
| "encryption": "optional_luks" | |
| }, | |
| { | |
| "id": "nvme-1tb-32g-uefi-dualboot", | |
| "firmware": "uefi", | |
| "ram_gb": 32, | |
| "hibernation": true, | |
| "scheme": "gpt", | |
| "mounts": ["/", "/home", "swap"], | |
| "root_fs": "ext4_or_btrfs", | |
| "swap_gb_min": 32, | |
| "esp_mib_min": 512, | |
| "bootloader_target": "internal_separate_esp", | |
| "encryption": "optional" | |
| }, | |
| { | |
| "id": "hdd-120-4g-bios", | |
| "firmware": "bios", | |
| "ram_gb": 4, | |
| "hibernation": false, | |
| "scheme": "mbr", | |
| "mounts": ["/", "swap"], | |
| "root_fs": "ext4", | |
| "swap_gb_min": 4, | |
| "esp_mib_min": null, | |
| "bootloader_target": "bios_disk", | |
| "encryption": "no" | |
| }, | |
| { | |
| "id": "external-usb-uefi", | |
| "firmware": "uefi", | |
| "ram_gb": 16, | |
| "hibernation": false, | |
| "scheme": "gpt", | |
| "mounts": ["/", "/boot/efi", "swap"], | |
| "root_fs": "ext4", | |
| "swap_gb_min": 8, | |
| "esp_mib_min": 512, | |
| "bootloader_target": "usb_disk", | |
| "encryption": "no" | |
| }, | |
| { | |
| "id": "laptop-8g-kde-nohib", | |
| "firmware": "uefi", | |
| "ram_gb": 8, | |
| "hibernation": false, | |
| "scheme": "gpt", | |
| "mounts": ["/", "swap"], | |
| "root_fs": "ext4", | |
| "swap_gb_min": 8, | |
| "esp_mib_min": 512, | |
| "bootloader_target": "internal", | |
| "encryption": "optional" | |
| } | |
| ] | |
| } | |