shibing624 / sentence-similarity updated 1 year ago

text2vec-base-chinese

It maps sentences to a 768 dimensional dense vector space and can be used for tasks like sentence embeddings, text matching or semantic search.

Params
100 M
Context
512
Downloads 30d
992 K
Likes
803
Commercial use: allowed apache-2.0 Not gated SAFETENSORS 1 languages View on Hugging Face ↗

Download history

daily snapshots · 55 days
▲ 8 K in the last 30 days (0.8%)
1.1 M784 K
Jul 28Aug 15Sep 2Sep 20

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors f32 0.4 GB 1.0 GB ✅ Runs comfortably
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Specifications

Architecture
BertModel
Parameters
100 M
Tensor type
F32
Context length
512
Vocabulary
21,128
Layers / heads
12 / 12
Licence
apache-2.0
First seen on the Hub
2022-03-02
Training datasets
shibing624/nli_zh
Added to our catalog
2026-07-28
Compare with any sentence-similarity model