Instructions to use wardner/LocateAnything-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RKLLM
How to use wardner/LocateAnything-3B 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/LocateAnything-3B 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/LocateAnything-3B # Run inference directly in the terminal: llama cli -hf wardner/LocateAnything-3B
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf wardner/LocateAnything-3B # Run inference directly in the terminal: llama cli -hf wardner/LocateAnything-3B
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/LocateAnything-3B # Run inference directly in the terminal: ./build/bin/llama cli -hf wardner/LocateAnything-3B
Use Docker
docker model run hf.co/wardner/LocateAnything-3B
- Llama new
- LM Studio
- Jan
- Ollama
How to use wardner/LocateAnything-3B with Ollama:
ollama run hf.co/wardner/LocateAnything-3B
- Unsloth Desktop
- Pi
How to use wardner/LocateAnything-3B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wardner/LocateAnything-3B
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": "wardner/LocateAnything-3B" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use wardner/LocateAnything-3B with Docker Model Runner:
docker model run hf.co/wardner/LocateAnything-3B
- Lemonade
How to use wardner/LocateAnything-3B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull wardner/LocateAnything-3B
Run and chat with the model
lemonade run user.LocateAnything-3B-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use wardner/LocateAnything-3B 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/LocateAnything-3B
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 wardner/LocateAnything-3B
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use wardner/LocateAnything-3B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wardner/LocateAnything-3B
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 "wardner/LocateAnything-3B" \ --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"
wade.weng commited on
Commit ·
4e0eae7
1
Parent(s): 9daee1a
Publish LocateAnything-3B RKNN artifacts + worker manifest
Browse files- .gitattributes +17 -0
- LICENSE +74 -0
- LocateAnything-3b.json +19 -0
- LocateAnything.embed.bin +3 -0
- LocateAnything.tokenizer.gguf +3 -0
- NOTICE +32 -0
- README.md +116 -0
- README_CN.md +109 -0
- SHA256SUMS +7 -0
- config.json +70 -0
- llm_LocateAnything.1828.rknn +3 -0
- llm_LocateAnything.weight +3 -0
- vision_LocateAnything.448x448.1828.rknn +3 -0
- vision_LocateAnything.448x448.weight +3 -0
.gitattributes
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
@@ -33,3 +42,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 本项目模型分发的 LFS 规则。
|
| 2 |
+
#
|
| 3 |
+
# 前半段 = Hub 新建仓的系统默认模板(保持一致,避免丢格式);
|
| 4 |
+
# 后半段 = 本仓库的权重,**按完整路径逐个点名**。
|
| 5 |
+
#
|
| 6 |
+
# 注意:worker manifest(<model_id>.json)必须保持**纯文本**
|
| 7 |
+
#(要能 diff / 审阅 / 网页预览),所以这里绝不能对 json 扩展名
|
| 8 |
+
# 做通配兜底。
|
| 9 |
+
|
| 10 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 11 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 12 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 42 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 43 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 44 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
|
| 46 |
+
# ---- 本仓库权重 ----
|
| 47 |
+
LocateAnything.embed.bin filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
LocateAnything.tokenizer.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
llm_LocateAnything.1828.rknn filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
llm_LocateAnything.weight filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
vision_LocateAnything.448x448.1828.rknn filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
vision_LocateAnything.448x448.weight filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
NVIDIA License
|
| 2 |
+
|
| 3 |
+
1. Definitions
|
| 4 |
+
|
| 5 |
+
“Licensor” means any person or entity that distributes its Work.
|
| 6 |
+
|
| 7 |
+
“Work” means (a) the original work of authorship made available under this license,
|
| 8 |
+
which may include software, documentation, or other files, and (b) any additions to or
|
| 9 |
+
derivative works thereof that are made available under this license.
|
| 10 |
+
|
| 11 |
+
The terms “reproduce,” “reproduction,” “derivative works,” and “distribution” have the
|
| 12 |
+
meaning as provided under U.S. copyright law; provided, however, that for the purposes
|
| 13 |
+
of this license, derivative works shall not include works that remain separable from, or
|
| 14 |
+
merely link (or bind by name) to the interfaces of, the Work.
|
| 15 |
+
|
| 16 |
+
Works are “made available” under this license by including in or with the Work either
|
| 17 |
+
(a) a copyright notice referencing the applicability of this license to the Work, or
|
| 18 |
+
(b) a copy of this license.
|
| 19 |
+
|
| 20 |
+
2. License Grant
|
| 21 |
+
|
| 22 |
+
2.1 Copyright Grant. Subject to the terms and conditions of this license, each Licensor
|
| 23 |
+
grants to you a perpetual, worldwide, non-exclusive, royalty-free, copyright license to
|
| 24 |
+
use, reproduce, prepare derivative works of, publicly display, publicly perform,
|
| 25 |
+
sublicense and distribute its Work and any resulting derivative works in any form.
|
| 26 |
+
|
| 27 |
+
3. Limitations
|
| 28 |
+
|
| 29 |
+
3.1 Redistribution. You may reproduce or distribute the Work only if (a) you do so under
|
| 30 |
+
this license, (b) you include a complete copy of this license with your distribution,
|
| 31 |
+
and (c) you retain without modification any copyright, patent, trademark, or attribution
|
| 32 |
+
notices that are present in the Work.
|
| 33 |
+
|
| 34 |
+
3.2 Derivative Works. You may specify that additional or different terms apply to the
|
| 35 |
+
use, reproduction, and distribution of your derivative works of the Work (“Your Terms”)
|
| 36 |
+
only if (a) Your Terms provide that the use limitation in Section 3.3 applies to your
|
| 37 |
+
derivative works, and (b) you identify the specific derivative works that are subject
|
| 38 |
+
to Your Terms. Notwithstanding Your Terms, this license (including the redistribution
|
| 39 |
+
requirements in Section 3.1) will continue to apply to the Work itself.
|
| 40 |
+
|
| 41 |
+
3.3 Use Limitation. The Work and any derivative works thereof only may be used or
|
| 42 |
+
intended for use non-commercially. Notwithstanding the foregoing, NVIDIA Corporation
|
| 43 |
+
and its affiliates may use the Work and any derivative works commercially. As used
|
| 44 |
+
herein, “non-commercially” means for research or evaluation purposes only.
|
| 45 |
+
|
| 46 |
+
3.4 Patent Claims. If you bring or threaten to bring a patent claim against any
|
| 47 |
+
Licensor (including any claim, cross-claim or counterclaim in a lawsuit) to enforce any
|
| 48 |
+
patents that you allege are infringed by any Work, then your rights under this license
|
| 49 |
+
from such Licensor (including the grant in Section 2.1) will terminate immediately.
|
| 50 |
+
|
| 51 |
+
3.5 Trademarks. This license does not grant any rights to use any Licensor’s or its
|
| 52 |
+
affiliates’ names, logos, or trademarks, except as necessary to reproduce the notices
|
| 53 |
+
described in this license.
|
| 54 |
+
|
| 55 |
+
3.6 Termination. If you violate any term of this license, then your rights under this
|
| 56 |
+
license (including the grant in Section 2.1) will terminate immediately.
|
| 57 |
+
|
| 58 |
+
4. Disclaimer of Warranty.
|
| 59 |
+
|
| 60 |
+
THE WORK IS PROVIDED “AS IS” WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
|
| 61 |
+
EXPRESS OR IMPLIED, INCLUDING WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR
|
| 62 |
+
A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT. YOU BEAR THE RISK OF UNDERTAKING ANY
|
| 63 |
+
ACTIVITIES UNDER THIS LICENSE.
|
| 64 |
+
|
| 65 |
+
5. Limitation of Liability.
|
| 66 |
+
|
| 67 |
+
EXCEPT AS PROHIBITED BY APPLICABLE LAW, IN NO EVENT AND UNDER NO LEGAL THEORY, WHETHER
|
| 68 |
+
IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE SHALL ANY LICENSOR BE LIABLE TO
|
| 69 |
+
YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
|
| 70 |
+
DAMAGES ARISING OUT OF OR RELATED TO THIS LICENSE, THE USE OR INABILITY TO USE THE WORK
|
| 71 |
+
(INCLUDING BUT NOT LIMITED TO LOSS OF GOODWILL, BUSINESS INTERRUPTION, LOST PROFITS OR
|
| 72 |
+
DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY OTHER DAMAGES OR LOSSES), EVEN IF THE
|
| 73 |
+
LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
| 74 |
+
|
LocateAnything-3b.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label": "[GD]视觉定位模型",
|
| 3 |
+
"capability_types": [
|
| 4 |
+
"swcap_vision_grounding"
|
| 5 |
+
],
|
| 6 |
+
"spec_factory": "locate_anything",
|
| 7 |
+
"worker_name": "ground",
|
| 8 |
+
"model_dir_name": "LocateAnything-3B",
|
| 9 |
+
"model_dir_env": "WDNAI_LOCATE_ANYTHING_DIR",
|
| 10 |
+
"instance_name": "llm-ground-3b",
|
| 11 |
+
"memory_estimate_mb": 5500,
|
| 12 |
+
"estimated_init_seconds": 60,
|
| 13 |
+
"description": "视觉定位模型,给定文本描述输出图像中目标区域",
|
| 14 |
+
"notes": "视觉定位(kind=\"grounding\",0-1000 归一化 bbox)。权重目录由 wdnai 内部的 _default_locate_anything_paths 解析,可用 WDNAI_LOCATE_ANYTHING_DIR 覆写。模型未部署时 load 会抛 FileNotFoundError,由 worker 的 load 流程转成 errored 状态。",
|
| 15 |
+
"available_targets": [
|
| 16 |
+
"182x"
|
| 17 |
+
],
|
| 18 |
+
"display_order": 70
|
| 19 |
+
}
|
LocateAnything.embed.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce1515f14bc5dec19664994e105e22f19d0c682c55a19b04260a15be17178654
|
| 3 |
+
size 625381376
|
LocateAnything.tokenizer.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca08804b1187ed778fd02ff9039cc3c7d2147d2e54723b3fe53b5f64e513e219
|
| 3 |
+
size 5942707
|
NOTICE
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Source model: nvidia/LocateAnything-3B
|
| 2 |
+
Source URL: https://huggingface.co/nvidia/LocateAnything-3B
|
| 3 |
+
Source artifact(s) and SHA-256:
|
| 4 |
+
assets/decoding_demo.mp4
|
| 5 |
+
SHA-256: 3f4083674bacb26f43d1f68f5529dac7ed4c713dca724d90b718358253453aba
|
| 6 |
+
assets/demo.mp4
|
| 7 |
+
SHA-256: 56e5c216d26741be466562e90bf6f3d576f6e3c7ac64341a9101cccf94af2335
|
| 8 |
+
model-00001-of-00002.safetensors
|
| 9 |
+
SHA-256: 923cfc10fed19808067da6df85a9a4220ddc1f9eb91ceee94c0fecd05d0f2d58
|
| 10 |
+
model-00002-of-00002.safetensors
|
| 11 |
+
SHA-256: 3459ba101f40594f3f62d3312014f1f8378b4ba3da3b1d562480045938fc7d47
|
| 12 |
+
Source revision: not recoverable from conversion records
|
| 13 |
+
Source license: NVIDIA License
|
| 14 |
+
|
| 15 |
+
The files in this repository are RKNN-converted derivatives, not unmodified upstream weights.
|
| 16 |
+
|
| 17 |
+
Artifact names and formats differ from upstream on purpose: the upstream checkpoint is a
|
| 18 |
+
single safetensors file per stage and is split here into RKNN graphs plus their
|
| 19 |
+
companion .weight files, and the upstream tokenizer.json was converted into a GGUF
|
| 20 |
+
tokenizer. The SHA-256 values above identify the **upstream** artifacts, not the files
|
| 21 |
+
in this repository — use SHA256SUMS for the latter.
|
| 22 |
+
|
| 23 |
+
Files added by this repository (not part of the upstream model)
|
| 24 |
+
--------------------------------------------------------------
|
| 25 |
+
LocateAnything-3b.json wdnwebui worker manifest — the "manual" of this distribution unit.
|
| 26 |
+
Deliberately plain text so it can be diffed, reviewed and
|
| 27 |
+
previewed on the Hub.
|
| 28 |
+
config.json Release metadata and file manifest. This is NOT the upstream
|
| 29 |
+
architecture config.json.
|
| 30 |
+
SHA256SUMS SHA-256 checksums of every model file in this repository.
|
| 31 |
+
README.md,
|
| 32 |
+
README_CN.md Documentation.
|
README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
library_name: rkllm
|
| 4 |
+
tags:
|
| 5 |
+
- rk182x
|
| 6 |
+
- rockchip
|
| 7 |
+
- rknpu
|
| 8 |
+
- vlm
|
| 9 |
+
- qwen
|
| 10 |
+
- edge-ai
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# LocateAnything-3B — [GD]视觉定位模型
|
| 14 |
+
|
| 15 |
+
[English](README.md) | [简体中文](README_CN.md)
|
| 16 |
+
|
| 17 |
+
## 1. Overview
|
| 18 |
+
|
| 19 |
+
视觉定位模型,给定文本描述输出图像中目标区域
|
| 20 |
+
|
| 21 |
+
This repository ships the RK182x deployment artifacts (RKNN graphs +
|
| 22 |
+
weights) **together with the wdnwebui worker manifest**
|
| 23 |
+
(`LocateAnything-3b.json`).
|
| 24 |
+
|
| 25 |
+
| Item | Value |
|
| 26 |
+
| --- | --- |
|
| 27 |
+
| Model ID | `wardner/LocateAnything-3B` |
|
| 28 |
+
| Display name | LocateAnything-3B |
|
| 29 |
+
| Model type | VLM |
|
| 30 |
+
| Compute target | RK182x |
|
| 31 |
+
| Host platform | RK3588 |
|
| 32 |
+
| Runtime | RKLLM + RKNN |
|
| 33 |
+
| Capabilities | `swcap_vision_grounding` |
|
| 34 |
+
| Worker factory | `locate_anything` |
|
| 35 |
+
| Memory estimate | ~5500 MB |
|
| 36 |
+
| Init time | ~60 s |
|
| 37 |
+
| Cards required | 1 |
|
| 38 |
+
| Total weight size | 3.27 GB |
|
| 39 |
+
|
| 40 |
+
## 2. Files
|
| 41 |
+
|
| 42 |
+
| Path | Description | Size |
|
| 43 |
+
| --- | --- | --- |
|
| 44 |
+
| `LocateAnything.embed.bin` | fp16 embedding table (vocab × hidden) | 596.4 MB |
|
| 45 |
+
| `LocateAnything.tokenizer.gguf` | Tokenizer (GGUF, GPT-2 BPE + ByteLevel) | 5.7 MB |
|
| 46 |
+
| `llm_LocateAnything.1828.rknn` | RKNN graph (RK182x compute card, 1.82 TOPS generation) | 43.0 MB |
|
| 47 |
+
| `llm_LocateAnything.weight` | Weights paired with the RKNN graph above | 1848.4 MB |
|
| 48 |
+
| `vision_LocateAnything.448x448.1828.rknn` | RKNN graph (RK182x compute card, 1.82 TOPS generation) | 8.1 MB |
|
| 49 |
+
| `vision_LocateAnything.448x448.weight` | Weights paired with the RKNN graph above | 847.5 MB |
|
| 50 |
+
| `LocateAnything-3b.json` | **worker manifest** — deliberately plain text | 793 B |
|
| 51 |
+
|
| 52 |
+
> `LocateAnything-3b.json` is **deliberately not** in Git LFS. It is the
|
| 53 |
+
> manual of this distribution unit and must stay plain text so it can be
|
| 54 |
+
> diffed, reviewed and previewed on the Hub.
|
| 55 |
+
|
| 56 |
+
## 3. Download
|
| 57 |
+
|
| 58 |
+
```bash
|
| 59 |
+
hf download wardner/LocateAnything-3B --local-dir ./LocateAnything-3B
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
Or with git (requires Git LFS):
|
| 63 |
+
|
| 64 |
+
```bash
|
| 65 |
+
git clone https://huggingface.co/wardner/LocateAnything-3B
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
If `huggingface.co` is unreachable from your network (DNS interception /
|
| 69 |
+
blocked access), point the client at a mirror instead:
|
| 70 |
+
|
| 71 |
+
```bash
|
| 72 |
+
HF_ENDPOINT=https://hf-mirror.com hf download wardner/LocateAnything-3B \
|
| 73 |
+
--local-dir ./LocateAnything-3B
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
Note: with `git clone` the weights are Git LFS **pointers** until
|
| 77 |
+
`git lfs pull` completes. `hf download` fetches the real files directly, and
|
| 78 |
+
does not create a `.git` directory — neither is required for the model to
|
| 79 |
+
work; see §4.
|
| 80 |
+
|
| 81 |
+
## 4. Installation (wdnwebui)
|
| 82 |
+
|
| 83 |
+
Clone the repository into the model root so the folder holds **both** the
|
| 84 |
+
weights and the worker manifest:
|
| 85 |
+
|
| 86 |
+
```bash
|
| 87 |
+
git clone https://huggingface.co/wardner/LocateAnything-3B /userdata/models/LocateAnything-3B
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
Then open the web UI → **Compute** → the card appears under "local compute"
|
| 91 |
+
(the backend rescans the model root every ~2 s, **no restart needed**) →
|
| 92 |
+
click "enable".
|
| 93 |
+
|
| 94 |
+
The directory name does not have to match the model name: the SDK follows
|
| 95 |
+
"the folder the manifest was found in", located through the
|
| 96 |
+
`WDNAI_LOCATE_ANYTHING_DIR` environment variable declared in the manifest.
|
| 97 |
+
|
| 98 |
+
## 5. SHA-256 verification
|
| 99 |
+
|
| 100 |
+
```bash
|
| 101 |
+
cd ./LocateAnything-3B
|
| 102 |
+
sha256sum -c SHA256SUMS
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
All entries must report `OK` before deployment.
|
| 106 |
+
|
| 107 |
+
## 6. Caveats and limits
|
| 108 |
+
|
| 109 |
+
See the `notes` field of `LocateAnything-3b.json` — it records the
|
| 110 |
+
per-model specifics (sampling defaults, capability layout, side effects).
|
| 111 |
+
|
| 112 |
+
## 7. License
|
| 113 |
+
|
| 114 |
+
The upstream model is released under the Apache License 2.0. The files here
|
| 115 |
+
are RKNN-converted derivatives, not unmodified upstream weights. See
|
| 116 |
+
[LICENSE](LICENSE) and [NOTICE](NOTICE).
|
README_CN.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
library_name: rkllm
|
| 4 |
+
tags:
|
| 5 |
+
- rk182x
|
| 6 |
+
- rockchip
|
| 7 |
+
- rknpu
|
| 8 |
+
- vlm
|
| 9 |
+
- qwen
|
| 10 |
+
- edge-ai
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# LocateAnything-3B —— [GD]视觉定位模型
|
| 14 |
+
|
| 15 |
+
[English](README.md) | [简体中文](README_CN.md)
|
| 16 |
+
|
| 17 |
+
## 1. 模型简介
|
| 18 |
+
|
| 19 |
+
视觉定位模型,给定文本描述输出图像中目标区域
|
| 20 |
+
|
| 21 |
+
本仓库提供 RK182x 协卡上的部署产物(RKNN 图 + 权重),**并且带上
|
| 22 |
+
wdnwebui 算力层需要的 worker 配置**(`LocateAnything-3b.json`)。
|
| 23 |
+
|
| 24 |
+
| 项 | 值 |
|
| 25 |
+
| --- | --- |
|
| 26 |
+
| 模型 ID | `wardner/LocateAnything-3B` |
|
| 27 |
+
| 显示名 | LocateAnything-3B |
|
| 28 |
+
| 模型类型 | VLM |
|
| 29 |
+
| 目标协卡 | RK182x |
|
| 30 |
+
| 宿主平台 | RK3588 |
|
| 31 |
+
| 运行时 | RKLLM + RKNN |
|
| 32 |
+
| 能力 | `swcap_vision_grounding` |
|
| 33 |
+
| worker 工厂 | `locate_anything` |
|
| 34 |
+
| 显存预估 | 约 5500 MB |
|
| 35 |
+
| 初始化耗时 | 约 60 秒 |
|
| 36 |
+
| 占用卡数 | 1 |
|
| 37 |
+
| 权重总大小 | 3.27 GB |
|
| 38 |
+
|
| 39 |
+
## 2. 文件说明
|
| 40 |
+
|
| 41 |
+
| 路径 | 说明 | 大小 |
|
| 42 |
+
| --- | --- | --- |
|
| 43 |
+
| `LocateAnything.embed.bin` | fp16 embedding 表(vocab × hidden) | 596.4 MB |
|
| 44 |
+
| `LocateAnything.tokenizer.gguf` | 分词器(GGUF,GPT-2 BPE + ByteLevel) | 5.7 MB |
|
| 45 |
+
| `llm_LocateAnything.1828.rknn` | RKNN 图(RK182x 协卡,1.82 TOPS 代) | 43.0 MB |
|
| 46 |
+
| `llm_LocateAnything.weight` | 与上面 RKNN 图配套的权重 | 1848.4 MB |
|
| 47 |
+
| `vision_LocateAnything.448x448.1828.rknn` | RKNN 图(RK182x 协卡,1.82 TOPS 代) | 8.1 MB |
|
| 48 |
+
| `vision_LocateAnything.448x448.weight` | 与上面 RKNN 图配套的权重 | 847.5 MB |
|
| 49 |
+
| `LocateAnything-3b.json` | **worker 配置** —— 刻意保持纯文本 | 793 B |
|
| 50 |
+
|
| 51 |
+
> `LocateAnything-3b.json` **刻意不**放进 Git LFS。它是这个分发单元的
|
| 52 |
+
> 「说明书」,必须保持纯文本,才能被 diff、被审阅、也能在 Hub 网页上直接预览。
|
| 53 |
+
|
| 54 |
+
## 3. 下载
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
hf download wardner/LocateAnything-3B --local-dir ./LocateAnything-3B
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
或者用 git(需要安装 Git LFS):
|
| 61 |
+
|
| 62 |
+
```bash
|
| 63 |
+
git clone https://huggingface.co/wardner/LocateAnything-3B
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
如果你的网络访问不了 `huggingface.co`(DNS 污染 / 访问被阻断),改用镜像:
|
| 67 |
+
|
| 68 |
+
```bash
|
| 69 |
+
HF_ENDPOINT=https://hf-mirror.com hf download wardner/LocateAnything-3B \
|
| 70 |
+
--local-dir ./LocateAnything-3B
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
注意:用 `git clone` 时,权重在 `git lfs pull` 完成前只是 **LFS 指针**;
|
| 74 |
+
而 `hf download` 直接下载真实文件,**不会生成 `.git` 目录**。两种方式都
|
| 75 |
+
不需要 `.git` —— 见 §4。
|
| 76 |
+
|
| 77 |
+
## 4. 安装(wdnwebui)
|
| 78 |
+
|
| 79 |
+
把仓库克隆到模型根目录,让这个文件夹**同时**包含权重和 worker 配置:
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
git clone https://huggingface.co/wardner/LocateAnything-3B /userdata/models/LocateAnything-3B
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
然后打开网页 → **算力配置** → 卡片会出现在「本地算力」里(后端每 ~2 秒
|
| 86 |
+
重扫一次模型根目录,**不需要重启服务**)→ 点「启用」即可。
|
| 87 |
+
|
| 88 |
+
目录名不必和模型名一致:SDK 跟随的是「manifest 所在的那个文件夹」,
|
| 89 |
+
通过 manifest 里声明的 `WDNAI_LOCATE_ANYTHING_DIR` 环境变量定位。
|
| 90 |
+
|
| 91 |
+
## 5. SHA-256 校验
|
| 92 |
+
|
| 93 |
+
```bash
|
| 94 |
+
cd ./LocateAnything-3B
|
| 95 |
+
sha256sum -c SHA256SUMS
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
部署前所有条目都必须报 `OK`。
|
| 99 |
+
|
| 100 |
+
## 6. 注意事项与限制
|
| 101 |
+
|
| 102 |
+
- 视觉定位(kind="grounding",0-1000 归一化 bbox)
|
| 103 |
+
- 权重目录由 wdnai 内部的 _default_locate_anything_paths 解析,可用 WDNAI_LOCATE_ANYTHING_DIR 覆写
|
| 104 |
+
- 模型未部署时 load 会抛 FileNotFoundError,由 worker 的 load 流程转成 errored 状态。
|
| 105 |
+
|
| 106 |
+
## 7. 版权与许可
|
| 107 |
+
|
| 108 |
+
上游模型以 Apache License 2.0 发布。本仓库中的文件是 RKNN 转换后的衍生
|
| 109 |
+
产物,并非未经修改的上游权重。详见 [LICENSE](LICENSE) 与 [NOTICE](NOTICE)。
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
7670ab40a6d5898ee69e7e1556a87b65b178507e4211a3085f396446d055c7a2 LocateAnything-3b.json
|
| 2 |
+
ce1515f14bc5dec19664994e105e22f19d0c682c55a19b04260a15be17178654 LocateAnything.embed.bin
|
| 3 |
+
ca08804b1187ed778fd02ff9039cc3c7d2147d2e54723b3fe53b5f64e513e219 LocateAnything.tokenizer.gguf
|
| 4 |
+
06141c21ace8465c8e49cbeb84370f875d5cefe592ba312e39dab617a263d5cd llm_LocateAnything.1828.rknn
|
| 5 |
+
37b4ec3ca6725fed3f5c755a5248dc4b7c4fe8c84e9c37c7ea05e95185b4b2cd llm_LocateAnything.weight
|
| 6 |
+
777f2cf4dd7245f85f009d8bb375962294f274ec985aba75454e3162cf77140e vision_LocateAnything.448x448.1828.rknn
|
| 7 |
+
5e930ed7e27ccb361063fd51c56039b99047f29ae83942e8f793b3c3962858b4 vision_LocateAnything.448x448.weight
|
config.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "1.0",
|
| 3 |
+
"model_id": "wardner/LocateAnything-3B",
|
| 4 |
+
"display_name": "LocateAnything-3B",
|
| 5 |
+
"model_type": "VLM",
|
| 6 |
+
"chip_label": "RK182x",
|
| 7 |
+
"supported_chips": [
|
| 8 |
+
"RK182x"
|
| 9 |
+
],
|
| 10 |
+
"host_platform": "RK3588",
|
| 11 |
+
"runtime_type": "rkllm+rknn",
|
| 12 |
+
"worker": {
|
| 13 |
+
"id": "locate_anything",
|
| 14 |
+
"label": "[GD]视觉定位模型",
|
| 15 |
+
"capability_types": [
|
| 16 |
+
"swcap_vision_grounding"
|
| 17 |
+
],
|
| 18 |
+
"model_dir_env": "WDNAI_LOCATE_ANYTHING_DIR",
|
| 19 |
+
"model_dir_name": "LocateAnything-3B",
|
| 20 |
+
"available_targets": [
|
| 21 |
+
"182x"
|
| 22 |
+
],
|
| 23 |
+
"memory_estimate_mb": 5500,
|
| 24 |
+
"estimated_init_seconds": 60
|
| 25 |
+
},
|
| 26 |
+
"files": [
|
| 27 |
+
{
|
| 28 |
+
"path": "LocateAnything.embed.bin",
|
| 29 |
+
"size": 625381376,
|
| 30 |
+
"lfs": true,
|
| 31 |
+
"sha256": "ce1515f14bc5dec19664994e105e22f19d0c682c55a19b04260a15be17178654"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"path": "LocateAnything.tokenizer.gguf",
|
| 35 |
+
"size": 5942707,
|
| 36 |
+
"lfs": true,
|
| 37 |
+
"sha256": "ca08804b1187ed778fd02ff9039cc3c7d2147d2e54723b3fe53b5f64e513e219"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"path": "llm_LocateAnything.1828.rknn",
|
| 41 |
+
"size": 45101424,
|
| 42 |
+
"lfs": true,
|
| 43 |
+
"sha256": "06141c21ace8465c8e49cbeb84370f875d5cefe592ba312e39dab617a263d5cd"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"path": "llm_LocateAnything.weight",
|
| 47 |
+
"size": 1938139648,
|
| 48 |
+
"lfs": true,
|
| 49 |
+
"sha256": "37b4ec3ca6725fed3f5c755a5248dc4b7c4fe8c84e9c37c7ea05e95185b4b2cd"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"path": "vision_LocateAnything.448x448.1828.rknn",
|
| 53 |
+
"size": 8544688,
|
| 54 |
+
"lfs": true,
|
| 55 |
+
"sha256": "777f2cf4dd7245f85f009d8bb375962294f274ec985aba75454e3162cf77140e"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"path": "vision_LocateAnything.448x448.weight",
|
| 59 |
+
"size": 888622592,
|
| 60 |
+
"lfs": true,
|
| 61 |
+
"sha256": "5e930ed7e27ccb361063fd51c56039b99047f29ae83942e8f793b3c3962858b4"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"path": "LocateAnything-3b.json",
|
| 65 |
+
"size": 793,
|
| 66 |
+
"lfs": false,
|
| 67 |
+
"sha256": "7670ab40a6d5898ee69e7e1556a87b65b178507e4211a3085f396446d055c7a2"
|
| 68 |
+
}
|
| 69 |
+
]
|
| 70 |
+
}
|
llm_LocateAnything.1828.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06141c21ace8465c8e49cbeb84370f875d5cefe592ba312e39dab617a263d5cd
|
| 3 |
+
size 45101424
|
llm_LocateAnything.weight
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37b4ec3ca6725fed3f5c755a5248dc4b7c4fe8c84e9c37c7ea05e95185b4b2cd
|
| 3 |
+
size 1938139648
|
vision_LocateAnything.448x448.1828.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:777f2cf4dd7245f85f009d8bb375962294f274ec985aba75454e3162cf77140e
|
| 3 |
+
size 8544688
|
vision_LocateAnything.448x448.weight
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e930ed7e27ccb361063fd51c56039b99047f29ae83942e8f793b3c3962858b4
|
| 3 |
+
size 888622592
|