androidli's picture
Add model/dataset card (README.md)
a9733ad verified
|
Raw History Blame Contribute Delete
1.32 kB
---
license: mit
base_model: BAAI/bge-small-zh-v1.5
base_model_relation: quantized
library_name: onnx
language:
- zh
tags:
- onnx
- int8
- feature-extraction
- color-picker
- embed
---
# bge-small-zh-v1.5 · INT8 ONNX (colour search embedder, zh)
Single-file INT8 ONNX export of [`BAAI/bge-small-zh-v1.5`](https://huggingface.co/BAAI/bge-small-zh-v1.5)
for **Chinese / Chinese-character queries** in toolve colour-search tools. 24 MB,
lazy-loaded client-side (transformers.js / onnxruntime-web) on the first non-Latin query,
so English-only users never download it — the Latin counterpart lives in
[`androidli/colorpicker-models`](https://huggingface.co/androidli/colorpicker-models).
## Files
| File | Size | Notes |
|---|---|---|
| `onnx/model_int8.onnx` | 24 MB | INT8 dynamic-quantized BertModel (4 layers) |
| `tokenizer.json` / `config.json` / `tokenizer_config.json` | — | unchanged from upstream |
| `manifest.json` | — | sha256 + size of every file |
## Usage (transformers.js)
```js
import { pipeline } from '@xenova/transformers';
const extractor = await pipeline('feature-extraction', 'androidli/colorpicker-models-zh', { quantized: true });
const emb = await extractor('黛蓝', { pooling: 'cls', normalize: true });
```
## License
Inherited from upstream: **MIT** (BAAI bge-small-zh-v1.5).