Instructions to use wardner/Intern_Decision-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RKLLM
How to use wardner/Intern_Decision-0.8B with RKLLM:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use wardner/Intern_Decision-0.8B 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 wardner/Intern_Decision-0.8B # Run inference directly in the terminal: llama cli -hf wardner/Intern_Decision-0.8B
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf wardner/Intern_Decision-0.8B # Run inference directly in the terminal: llama cli -hf wardner/Intern_Decision-0.8B
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 wardner/Intern_Decision-0.8B # Run inference directly in the terminal: ./build/bin/llama cli -hf wardner/Intern_Decision-0.8B
Use Docker
docker model run hf.co/wardner/Intern_Decision-0.8B
- Llama new
- LM Studio
- Jan
- vLLM
How to use wardner/Intern_Decision-0.8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "wardner/Intern_Decision-0.8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "wardner/Intern_Decision-0.8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/wardner/Intern_Decision-0.8B
- Ollama
How to use wardner/Intern_Decision-0.8B with Ollama:
ollama run hf.co/wardner/Intern_Decision-0.8B
- Unsloth Desktop
- Pi
How to use wardner/Intern_Decision-0.8B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wardner/Intern_Decision-0.8B
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": "wardner/Intern_Decision-0.8B" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use wardner/Intern_Decision-0.8B with Docker Model Runner:
docker model run hf.co/wardner/Intern_Decision-0.8B
- Lemonade
How to use wardner/Intern_Decision-0.8B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull wardner/Intern_Decision-0.8B
Run and chat with the model
lemonade run user.Intern_Decision-0.8B-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use wardner/Intern_Decision-0.8B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wardner/Intern_Decision-0.8B
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 wardner/Intern_Decision-0.8B
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use wardner/Intern_Decision-0.8B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wardner/Intern_Decision-0.8B
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 "wardner/Intern_Decision-0.8B" \ --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"
Intern-Decision-0.8B โ Rockchip RKNN ้จ็ฝฒๅ
Intern-Decision-0.8B ็ RKNN ๅฏผๅบ๏ผ ไพ Rockchip ๅๅค็ๅจ๏ผRK1820 / RK3588๏ผไธ็ NPU ๆจ็ไฝฟ็จใ
ไธๆธธๆฏๅๅงๆ้๏ผๆฌไปๅบๅชๅ
ๅซ RKNN ้ๅๅฏผๅบๅ็่ฟ่กๆๆไปถ๏ผไธ่ฝ็ดๆฅ็จ
transformers ๅ ่ฝฝ๏ผ้่ฆ้่ฟไธ้ข็ wdnai SDK ๅ ่ฝฝใ
๐ก ไฝ็งฏ็บฆไธบ 4B ็็ 1/4๏ผ้ๅบฆๆดๅฟซใๆพๅญๅ ็จๆดไฝ๏ผๅฏไธๅ ถๅฎๆจกๅๅๅกๅ ฑ้ฉปใ ไธค่ ่งๆ ผๅฎๅ จไธ่ด๏ผๅไธไธช tokenizerใๅไธๅฅๆงๅถ tokenใๅไธๅฅ prompt ๅ่ฎฎ๏ผ๏ผ ่ฟ็งปๆถๅช้ๆข็ฎๅฝๅ factoryใ
โ ๏ธ ่ฟไธๆฏๅฏน่ฏๆจกๅ
Intern-Decision ไธ็ๆๆๆฌใๅฎๅฏนไปปๅก้็ๆฏไธชใๅณ็ญๅญๆฎตใ่พๅบ 62 ไธชๅ้็ฌฆๅท
๏ผA-Z + a-z + 0-9๏ผ็ logits๏ผ็ฑ CPU ไพงๆข็ฎๆ้้กนๆฆ็๏ผ
| ๅญๆฎต็ฑปๅ | ่ฏญไน | ่พๅบ |
|---|---|---|
choice |
้ไธ้กน | ้้กนๆฆ็๏ผๅฝไธๅ๏ผๅ่ฎกไธบ 1๏ผ |
score |
ๆๅ | ๆฆ็ๅ ๆ่ฏๅ |
noul |
ๆฏๅฆ | ่ฏๅฎๆฆ็๏ผไธๅฝไธๅ๏ผๅ้กน็ฌ็ซ๏ผ |
่ฐ็จๆนๅฟ
้กปไผ ไปปๅก้
็ฝฎ๏ผtask=๏ผใ็ญๆกๅฝขๅฆ {"category": "account", "urgency": 0.7676}๏ผ
ๅฎๆดๆฆ็ / logits ้ๆๆฌ้ไปถไธ่ตทๅไผ ใ
ๆไปถ่ฏดๆ
| ๆไปถ | ๅคงๅฐ | ่ฏดๆ |
|---|---|---|
Intern-Decision-0.8B-llm.rknn |
15.8 MB | LLM ่ฎก็ฎๅพ |
Intern-Decision-0.8B-llm.weight |
293.5 MB | LLM ๆ้ |
Intern-Decision-0.8B-llm.embed.bin |
485.0 MB | LLM embedding ่กจ๏ผ่ฏ่กจ 248320๏ผ |
Intern-Decision-0.8B-llm.tokenizer.gguf |
10.4 MB | GGUF ้ขๅ่ฏๅจ |
Intern-Decision-0.8B-vision.rknn |
3.1 MB | ่ง่ง็ผ็ ๅจ่ฎก็ฎๅพ๏ผ384ร384๏ผ |
Intern-Decision-0.8B-vision.weight |
202.1 MB | ่ง่ง็ผ็ ๅจๆ้ |
intern-decision-0.8b.json |
3.2 KB | ๆจกๅๆธ
ๅ๏ผwdnai SDK ็จ๏ผ |
Intern-Decision-0.8B-llm_report/model_report.html |
192.6 KB | LLM ่ฝฌๆขๆฅๅ๏ผRKNX ๅฏ่งๅ๏ผ |
Intern-Decision-0.8B-vision_report/model_report.html |
83.2 KB | ่ง่ง่ฝฌๆขๆฅๅ |
ๆ้่ตฐ Git LFS๏ผ
intern-decision-0.8b.jsonไธไธคไปฝ่ฝฌๆขๆฅๅๆฏๆฎ้ๆๆฌ๏ผ ๅฏๅจ Hub ็ฝ้กตไธ็ดๆฅ้ข่งใๅ ้ๅ่ฎฐๅพgit lfs pullใ
ไฝฟ็จ
1. ๆพ็ฝฎ็ฎๅฝ
้ป่ฎค็ฎๅฝ /userdata/models/Intern_Decision-0.8B๏ผไนๅฏไปฅ็จ็ฏๅขๅ้ๆๅฎ๏ผ
export WDNAI_INTERN_DECISION_0_8B_DIR=/path/to/Intern_Decision-0.8B
2. ๅ ่ฝฝ
from wdnai.model import SystemLanguageModel
spec = SystemLanguageModel.intern_decision_0_8b()
session = spec.session() # LLM + ่ง่ง็ผ็ ๅจๅธธ้ฉป๏ผ็บฆ 900 MB ๆพๅญ
3. ไธๅณ็ญไปปๅก
from wdnai.decision import parse_decision_task
task = parse_decision_task({
"questions": {
"ๅนฟๅ": {"type": "noul", "criteria": {"no": "ๆฒกๆๅนฟๅ", "yes": "ๅซๅนฟๅ"}},
"่ฏ้ช": {"type": "noul", "criteria": {"no": "ๆฒกๆ่ฏ้ช", "yes": "ๅซ่ฏ้ช"}},
}
})
text, attachments = session.run_prompt(
prompt="้ๆถไผๆ ๏ผๅ ๅพฎไฟก้ข็บขๅ
",
attachment=[image], # ๅฏ้
task=task,
)
้จ็ฝฒๆณจๆไบ้กน
- โ ๏ธ ๆฏไธชๅญๆฎตๅฟ
้กปๆขไธๆฌก LLM session๏ผๆจกๅๆ linear-attention ๅฑ๏ผ้ๅฝ็ถๆ่ทจ่ฐ็จ
ๆฎ็๏ผ
keep_history=0ๅชๆธ KV cache ไธๆธ ้ๅฝ็ถๆ โ ๆฏไธชๅญๆฎต้ฝ่ฆrecreate_llm_session()ใๅฎๆน C++ ๅ่ๅฎ็ฐๅ็๏ผๆฏๅญๆฎตrknn3_session_init/destroy๏ผใ - โ ๏ธ prompt ้็ ChatML ๆ ่ฎฐๆฏใๅ่ฟๆๆฌใ็๏ผไธๆฏ chat template๏ผๅฏผๅบๆจกๅ็
chat_templateๆฏ็ฉบ็๏ผC ไพงๅฟ ้กปไฟๆset_chat_template("", "", "")ใ - โ ๏ธ ๆงๅถ token ๅฟ
้กปๆฏๅ token๏ผ
<decision>=248077ใ<think>=248068ใ</think>=248069ใ ByteLevel ้ขๅ่ฏๅจไผๆ<decision>ๆๅผ๏ผๆไปฅ SDK ๅจๆฌๆจกๅ็ tokenizer ๅฎไพไธ ๅ็ฌๆณจๅ๏ผไธๅจ Qwen ๅ จๅฑ tokenizer๏ผ๏ผ่ฟฝๅ ๆถๅฟ ้กปๅๅนถ่ไธๆฏๆฟๆขadditional_special_tokens๏ผๆฟๆขไผๆ Qwen ็<|vision_start|>/<|image_pad|>่ธขๆ โ C ๅบๅฎไฝไธๅฐๅพ็ๅ ไฝๅบ โ ๅพๆ prompt ๅฐๅ 6 ไธช token๏ผใ - โ ๏ธ ้ขๅ่ฏๆญฃๅๆ GGUF ็
tokenizer.ggml.pre้๏ผไธ่ฆ็จ ByteLevel ่ชๅธฆ็ GPT-2 ๆญฃๅ๏ผๅฆๅ token id ๆดไฝ้ไฝใ - โ ๏ธ ๆฆ็ๆ กๅๆธฉๅบฆ้ embedding ๅฎฝๅบฆๅๅ๏ผๆฌๆจกๅ embedding ๅฎฝๅบฆ 1024
๏ผ4B ๆฏ 2560๏ผโ ๆธฉๅบฆ 2.747760550703๏ผ4B ๆฏ 1.99241824๏ผใๆธฉๅบฆๆฏ่ฟ่กๆถ
ไป RKNN ๅ
ๅต็
LLM_CONFIG่ฏปๅบembedding_dimๅๆฅ่กจๅพๅฐ็๏ผไปฃ็ ้ๆฒกๆๅๆญปใ - โ ๏ธ ่ง่งๆจกๅๅธธ้ฉป๏ผspec ๆๅผ
keep_vision_residentโ ๅธฆๅพ่ฏทๆฑๆฒกๆ้ฆๆฌกๅ ่ฝฝ็ ็ญๅพ ๏ผๆพๅญๅ ็จ็จณๅฎๅฏ้ขๆใ - โ ไธ 4B ็ๅฎๅ จๅ่งๆ ผ๏ผๅไธไธช qwen35 tokenizer๏ผvocab 248320ใeos 248046๏ผ๏ผ ๆงๅถ token id ๅฎๅ จไธ่ด โ prompt ๅ่ฎฎใ่ง่ง้ขๅค็๏ผๆดๅน ๆไผธ resize 384ร384 + RGA ็ผฉๆพ๏ผๅ จ้จ็ งๆฌ 4Bใ
- โ ๅฏไธๅ ถๅฎๆจกๅๅๅกๅ ฑ้ฉป๏ผๆพๅญๅ ็จไฝ๏ผ้ๅไธ็ฟป่ฏ็ญๆจกๅๅ ฑ็จไธๅผ ๅๅกใ
- โ ๏ธ ๆพๅญ 900 MB ไธๅๅงๅ 30 ็งๆฏไผฐ็ฎๅผ๏ผๆ 4B ็ๅฎๆตๅฃๅพๅคๆจ๏ผ๏ผๆฌๆจกๅๅฐๆช ้้กนๅฎๆต๏ผ4B ็ 3200 MB / 60 ็งๆฏๅฎๆตๅฃๅพใ
License
Apache-2.0 โโ ไธไธๆธธ internlm/Intern-Decision-0.8B
ไธ่ดใไธๆธธๅๆถๆไพไธคไปฝ Apache-2.0๏ผไธๆตทไบบๅทฅๆบ่ฝๅฎ้ชๅฎค / Alibaba Cloud๏ผ๏ผ
ๆฌไปๅบๅๆ ทไฟ็๏ผ่ง LICENSE ไธ LICENSE-QWENใ
ๆฌไปๅบ็ RKNN ๅฏผๅบ็ฑ wdnai / wardner ๅทฅๅ
ท้พ็ๆใๆบฏๆบไฟกๆฏ่ง NOTICEใ
- Downloads last month
- 224
We're not able to determine the quantization variants.
Model tree for wardner/Intern_Decision-0.8B
Base model
Qwen/Qwen3.5-0.8B-Base