Instructions to use SHSemi/dama-aibrain 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 SHSemi/dama-aibrain 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 SHSemi/dama-aibrain:F16 # Run inference directly in the terminal: llama cli -hf SHSemi/dama-aibrain:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SHSemi/dama-aibrain:F16 # Run inference directly in the terminal: llama cli -hf SHSemi/dama-aibrain:F16
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 SHSemi/dama-aibrain:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf SHSemi/dama-aibrain:F16
Use Docker
docker model run hf.co/SHSemi/dama-aibrain:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use SHSemi/dama-aibrain with Ollama:
ollama run hf.co/SHSemi/dama-aibrain:F16
- Unsloth Desktop
- Pi
How to use SHSemi/dama-aibrain with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SHSemi/dama-aibrain:F16
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": "SHSemi/dama-aibrain:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use SHSemi/dama-aibrain with Docker Model Runner:
docker model run hf.co/SHSemi/dama-aibrain:F16
- Lemonade
How to use SHSemi/dama-aibrain with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SHSemi/dama-aibrain:F16
Run and chat with the model
lemonade run user.dama-aibrain-F16
List all available models
lemonade list
- Hermes Agent
How to use SHSemi/dama-aibrain with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SHSemi/dama-aibrain: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:9931/v1 hermes config set model.default SHSemi/dama-aibrain:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use SHSemi/dama-aibrain with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SHSemi/dama-aibrain:F16
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 "SHSemi/dama-aibrain:F16" \ --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"
Unsloth Model Card
Browse files
README.md
CHANGED
|
@@ -1,32 +1,21 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
-
-
|
| 4 |
-
-
|
| 5 |
-
-
|
| 6 |
-
-
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
#
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
|
| 15 |
-
- For text only LLMs: `llama-cli -hf SHSemi/dama-aibrain --jinja`
|
| 16 |
-
- For multimodal models: `llama-mtmd-cli -hf SHSemi/dama-aibrain --jinja`
|
| 17 |
|
| 18 |
-
## Available Model files:
|
| 19 |
-
- `gemma-4-E2B-it.Q8_0.gguf`
|
| 20 |
-
- `gemma-4-E2B-it.F16-mmproj.gguf`
|
| 21 |
-
|
| 22 |
-
## ⚠️ Ollama Note for Vision Models
|
| 23 |
-
**Important:** Ollama currently does not support separate mmproj files for vision models.
|
| 24 |
-
|
| 25 |
-
To create an Ollama model from this vision model:
|
| 26 |
-
1. Place the `Modelfile` in the same directory as the finetuned bf16 merged model
|
| 27 |
-
3. Run: `ollama create model_name -f ./Modelfile`
|
| 28 |
-
(Replace `model_name` with your desired name)
|
| 29 |
-
|
| 30 |
-
This will create a unified bf16 model that Ollama can use.
|
| 31 |
-
This was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
|
| 32 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: unsloth/gemma-4-E2B-it-unsloth-bnb-4bit
|
| 3 |
tags:
|
| 4 |
+
- text-generation-inference
|
| 5 |
+
- transformers
|
| 6 |
+
- unsloth
|
| 7 |
+
- gemma4
|
| 8 |
+
license: apache-2.0
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Uploaded finetuned model
|
| 14 |
|
| 15 |
+
- **Developed by:** SHSemi
|
| 16 |
+
- **License:** apache-2.0
|
| 17 |
+
- **Finetuned from model :** unsloth/gemma-4-E2B-it-unsloth-bnb-4bit
|
| 18 |
|
| 19 |
+
This gemma4 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
|
|
|
|
|
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|