zeekay commited on
Commit
54a0fe2
·
verified ·
1 Parent(s): 188871f

docs: honest base_model attribution, drop marketing

Browse files
Files changed (1) hide show
  1. README.md +16 -12
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  license: apache-2.0
3
- library_name: transformers
 
4
  pipeline_tag: feature-extraction
5
  language:
6
  - en
@@ -11,25 +12,28 @@ tags:
11
  - zenlm
12
  - hanzo
13
  - embedding
 
 
14
  ---
15
 
16
  # Zen Embedding 4B
17
 
18
- 4B-parameter sentence-embedding model for retrieval-augmented generation, semantic search, and dense retrieval. Part of the Zen embedding family.
19
 
20
- ## Hosted via Hanzo gateway
21
 
22
- Served at `api.hanzo.ai` as `zen-embedding-4b`.
23
-
24
- ## Files
25
-
26
- Native HuggingFace `safetensors` weights, loadable directly with `transformers`:
27
 
28
  ```python
29
- from transformers import AutoModel, AutoTokenizer
30
- m = AutoModel.from_pretrained("zenlm/zen-embedding-4B")
31
- t = AutoTokenizer.from_pretrained("zenlm/zen-embedding-4B")
 
 
32
  ```
33
 
34
- For GGUF / Ollama deployment, see [zenlm/zen-embedding-4B-GGUF](https://huggingface.co/zenlm/zen-embedding-4B-GGUF).
 
 
35
 
 
 
1
  ---
2
  license: apache-2.0
3
+ base_model: Qwen/Qwen3-Embedding-4B
4
+ library_name: sentence-transformers
5
  pipeline_tag: feature-extraction
6
  language:
7
  - en
 
12
  - zenlm
13
  - hanzo
14
  - embedding
15
+ - sentence-transformers
16
+ - retrieval
17
  ---
18
 
19
  # Zen Embedding 4B
20
 
21
+ 4B-parameter text-embedding model for retrieval-augmented generation, semantic search, and dense retrieval. Part of the Zen embedding line.
22
 
23
+ Repackaged from [Qwen/Qwen3-Embedding-4B](https://huggingface.co/Qwen/Qwen3-Embedding-4B) (apache-2.0, Alibaba Qwen). Native HuggingFace `safetensors`, re-hosted under the Zen embedding line. **Not trained from scratch** — a permissively-licensed redistribution for the OSS-clean Zen model line.
24
 
25
+ ## Usage
 
 
 
 
26
 
27
  ```python
28
+ from sentence_transformers import SentenceTransformer
29
+
30
+ model = SentenceTransformer("zenlm/zen-embedding-4B")
31
+ emb = model.encode(["The weather is lovely today.", "It's so sunny outside!"])
32
+ print(model.similarity(emb, emb))
33
  ```
34
 
35
+ Hosted via the Hanzo gateway (`api.hanzo.ai`) as `zen-embedding-4b`.
36
+
37
+ ## License
38
 
39
+ `apache-2.0`. Upstream: **Qwen/Qwen3-Embedding-4B** by Alibaba Qwen. This repository redistributes the weights under the same license.