Text Generation
PEFT
Safetensors
GGUF
PyTorch
English
afm-d
afm-dd
decision
system-1
minicpm
minicpm5
lora
semif
conversational
Instructions to use ariacompute/afm-dd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ariacompute/afm-dd with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openbmb/MiniCPM5-2B") model = PeftModel.from_pretrained(base_model, "ariacompute/afm-dd") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ariacompute/afm-dd 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 ariacompute/afm-dd:Q8_0 # Run inference directly in the terminal: llama cli -hf ariacompute/afm-dd:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ariacompute/afm-dd:Q8_0 # Run inference directly in the terminal: llama cli -hf ariacompute/afm-dd:Q8_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 ariacompute/afm-dd:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf ariacompute/afm-dd:Q8_0
Use Docker
docker model run hf.co/ariacompute/afm-dd:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use ariacompute/afm-dd with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ariacompute/afm-dd" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ariacompute/afm-dd", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ariacompute/afm-dd:Q8_0
- Ollama
How to use ariacompute/afm-dd with Ollama:
ollama run hf.co/ariacompute/afm-dd:Q8_0
- Unsloth Desktop
- Pi
How to use ariacompute/afm-dd with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ariacompute/afm-dd:Q8_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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ariacompute/afm-dd:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ariacompute/afm-dd with Docker Model Runner:
docker model run hf.co/ariacompute/afm-dd:Q8_0
- Lemonade
How to use ariacompute/afm-dd with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ariacompute/afm-dd:Q8_0
Run and chat with the model
lemonade run user.afm-dd-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use ariacompute/afm-dd with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ariacompute/afm-dd:Q8_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:8080/v1 hermes config set model.default ariacompute/afm-dd:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ariacompute/afm-dd with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ariacompute/afm-dd:Q8_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:8080/v1 \ --custom-model-id "ariacompute/afm-dd:Q8_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"
Download dd_config.json from ariacompute/afm-dd: direct link, hf CLI and curl.
- Browser
- Download file 1.67 kB
-
https://huggingface.co/ariacompute/afm-dd/resolve/main/dd_config.json
- Command line
-
hf download hf://ariacompute/afm-dd/dd_config.json
-
curl -L -o dd_config.json https://huggingface.co/ariacompute/afm-dd/resolve/main/dd_config.json
1.67 kB
| { | |
| "base_model": "openbmb/MiniCPM5-2B", | |
| "base_revision": "12a3808a956f869c767195e9266b59c4d21d92e2", | |
| "prompt_version": "afm-d-decoder-v2.1", | |
| "prompt_sha256": "4cadeb684fa95df9d07a1f4404639fd251df59fc39a55daa8243af6caed7d052", | |
| "training": "lora_option_letter_ce", | |
| "lora_r": 16, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.05, | |
| "lora_target_modules": [ | |
| "q_proj", | |
| "k_proj", | |
| "v_proj", | |
| "o_proj" | |
| ], | |
| "max_tokens": 4096, | |
| "lr": 5e-05, | |
| "epochs": 3, | |
| "micro_batch": 1, | |
| "data": "data/train_semif.jsonl", | |
| "n_train": 31569, | |
| "meta": { | |
| "source": "openbmb/MiniCPM5-2B", | |
| "revision": "12a3808a956f869c767195e9266b59c4d21d92e2", | |
| "dtype": "bfloat16", | |
| "device": "cuda:0", | |
| "torch_version": "2.8.0+cu128", | |
| "transformers_version": "5.17.0" | |
| }, | |
| "shuffle_options": true, | |
| "epoch_gold_letter_histograms": [ | |
| { | |
| "A": 10113, | |
| "B": 10065, | |
| "C": 5357, | |
| "D": 3308, | |
| "E": 1278, | |
| "F": 340, | |
| "G": 136, | |
| "H": 126, | |
| "I": 135, | |
| "J": 134, | |
| "K": 130, | |
| "L": 107, | |
| "M": 128, | |
| "N": 116, | |
| "O": 34, | |
| "P": 62 | |
| }, | |
| { | |
| "A": 9972, | |
| "B": 10168, | |
| "C": 5398, | |
| "D": 3226, | |
| "E": 1386, | |
| "F": 304, | |
| "G": 137, | |
| "H": 138, | |
| "I": 130, | |
| "J": 133, | |
| "K": 120, | |
| "L": 129, | |
| "M": 128, | |
| "N": 113, | |
| "O": 49, | |
| "P": 38 | |
| }, | |
| { | |
| "A": 10008, | |
| "B": 10226, | |
| "C": 5353, | |
| "D": 3208, | |
| "E": 1301, | |
| "F": 338, | |
| "G": 126, | |
| "H": 129, | |
| "I": 110, | |
| "J": 120, | |
| "K": 137, | |
| "L": 120, | |
| "M": 125, | |
| "N": 138, | |
| "O": 69, | |
| "P": 61 | |
| } | |
| ] | |
| } | |