Instructions to use FMA03/cube-ultra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use FMA03/cube-ultra with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'FMA03/cube-ultra'); - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use FMA03/cube-ultra 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 FMA03/cube-ultra:Q4_K_M # Run inference directly in the terminal: llama cli -hf FMA03/cube-ultra:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf FMA03/cube-ultra:Q4_K_M # Run inference directly in the terminal: llama cli -hf FMA03/cube-ultra:Q4_K_M
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 FMA03/cube-ultra:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf FMA03/cube-ultra:Q4_K_M
Use Docker
docker model run hf.co/FMA03/cube-ultra:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use FMA03/cube-ultra with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FMA03/cube-ultra" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FMA03/cube-ultra", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FMA03/cube-ultra:Q4_K_M
- Ollama
How to use FMA03/cube-ultra with Ollama:
ollama run hf.co/FMA03/cube-ultra:Q4_K_M
- Unsloth Desktop
- Pi
How to use FMA03/cube-ultra with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FMA03/cube-ultra:Q4_K_M
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": "FMA03/cube-ultra:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use FMA03/cube-ultra with Docker Model Runner:
docker model run hf.co/FMA03/cube-ultra:Q4_K_M
- Lemonade
How to use FMA03/cube-ultra with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FMA03/cube-ultra:Q4_K_M
Run and chat with the model
lemonade run user.cube-ultra-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use FMA03/cube-ultra with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FMA03/cube-ultra:Q4_K_M
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 FMA03/cube-ultra:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use FMA03/cube-ultra with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FMA03/cube-ultra:Q4_K_M
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 "FMA03/cube-ultra:Q4_K_M" \ --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"
Cube Ultra
Cube Ultra は、自作AIチャット「Cube」シリーズの最上位モデルです。 ベースモデル Qwen/Qwen2.5-1.5B-Instruct(Alibaba、Apache 2.0)に、 佑眞(FMA03)が独自データ 21,041 件(定義QA 10,000/雑談 6,500/厳選QA+計算ドリル 3,043/読解 1,498)で LoRA 追加学習(r16 / alpha32 / 全線形層、2エポック)を行い、統合したものです。
Cube Ultra is a LoRA fine-tune of Qwen2.5-1.5B-Instruct (Alibaba, Apache 2.0), trained by 佑眞 (FMA03) on 21,041 self-made Japanese QA/reading pairs. It powers the top tier of the "Cube" series of homemade AI chats.
実測スコア(自作モデル共通の物差しで測定)
| 形式 | 初見40(未学習の質問) | 読解30(文章を読んで答える) |
|---|---|---|
| fp16(原本) | 30/40 | 29/30 |
| GGUF Q4_K_M(このリポジトリ) | 30/40 | 29/30(劣化ゼロ、全問判定一致) |
- 文章題の計算(掛け算・おつり・割り算)は初見でも全問正解でした。
- 1段小さい Q3_K_M は初見 25/40 まで劣化したため採用していません。Q4_K_M が「劣化しない限界」です。
ファイル
| ファイル | 内容 |
|---|---|
cube-ultra-q4_k_m.gguf |
GGUF Q4_K_M(986,048,320 B)。llama.cpp 系ランタイム(PocketPal 等)でそのまま動作 |
onnx/model_q4f16.onnx ほか |
ブラウザ版:transformers.js(@huggingface/transformers v3、WebGPU)用 ONNX int4 |
config.json / tokenizer.json 等 |
transformers.js が読み込む設定・トークナイザ |
正直な注意点(得意・不得意)
- 読む力(文章の内容を答える)と比較的一般的な知識は強い一方、日本の細かい事実 (地名・人物・名物の産地など)を、自信ありげに間違えることがあります。 実際にイオン本社の所在地・千円札の肖像・讃岐うどんの産地などを捏造した例があります。 事実確認が必要な用途では、検索・索引と組み合わせてください(Cube 本体はその設計です)。
- 答えが文章に書かれていない場合の「分からない」と言う棄権は弱めです。
ライセンスと帰属
- このモデルは Apache License 2.0 で公開します。
- ベースモデル Qwen2.5 は Alibaba(Qwen team)の成果物であり、著作権は同社に帰属します。 本リポジトリはそのファインチューン版であり、Qwen 公式の配布物ではありません。
- 学習・量子化の詳細は作成者のレポート(ULTRA_LIGHT.md 等)に基づきます。
- Downloads last month
- 152