vllm
/

hmellor HF Staff commited on
Commit
cbdab3c
·
verified ·
1 Parent(s): 7238977

Match athrael-soju/ColUltraVBERT@509adba (revision pinned by vLLM CI)

Browse files
Files changed (3) hide show
  1. README.md +4 -4
  2. config.json +1 -1
  3. config_sentence_transformers.json +1 -1
README.md CHANGED
@@ -29,7 +29,7 @@ library_name: sentence-transformers
29
 
30
  <!-- vllm-ci-copy -->
31
  > [!NOTE]
32
- > This is a copy of [athrael-soju/ColUltraVBERT](https://huggingface.co/athrael-soju/ColUltraVBERT) at commit `486d2f2`, made on 2026-10-30. vLLM CI uses this checkpoint and the original is on a personal account, so we keep a copy here to reduce supply-chain risk.
33
 
34
 
35
  <img src="colultravbert-hero.png" width="100%" alt="ColUltraVBERT">
@@ -67,14 +67,14 @@ index.
67
 
68
  ## Usage
69
 
70
- Requires `sentence-transformers>=6.1` and `transformers>=5.21`, which supports UltraVBERT natively
71
- ([docs](https://huggingface.co/docs/transformers/model_doc/ultravbert)). On 5.20.x, pass `trust_remote_code=True` to load the code in this repository.
72
 
73
  ```python
74
  from PIL import Image
75
  from sentence_transformers import MultiVectorEncoder
76
 
77
- model = MultiVectorEncoder("athrael-soju/ColUltraVBERT")
78
 
79
  pages = [Image.open("page1.png"), Image.open("page2.png")]
80
  queries = ["What was the 2023 revenue?", "Which table lists regional margins?"]
 
29
 
30
  <!-- vllm-ci-copy -->
31
  > [!NOTE]
32
+ > This is a copy of [athrael-soju/ColUltraVBERT](https://huggingface.co/athrael-soju/ColUltraVBERT) at commit `509adba`, made on 2026-11-03. vLLM CI uses this checkpoint and the original is on a personal account, so we keep a copy here to reduce supply-chain risk.
33
 
34
 
35
  <img src="colultravbert-hero.png" width="100%" alt="ColUltraVBERT">
 
67
 
68
  ## Usage
69
 
70
+ Requires `sentence-transformers>=6.1` and `transformers>=5.20`. Native UltraVBERT support ([huggingface/transformers#49685](https://github.com/huggingface/transformers/pull/49685)) ships in the
71
+ first transformers release after 5.20.2; from that release the model loads without `trust_remote_code=True`.
72
 
73
  ```python
74
  from PIL import Image
75
  from sentence_transformers import MultiVectorEncoder
76
 
77
+ model = MultiVectorEncoder("athrael-soju/ColUltraVBERT", trust_remote_code=True)
78
 
79
  pages = [Image.open("page1.png"), Image.open("page2.png")]
80
  queries = ["What was the 2023 revenue?", "Which table lists regional margins?"]
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "architectures": [
3
- "UltraVBertModel"
4
  ],
5
  "auto_map": {
6
  "AutoConfig": "configuration_ultravbert.UltraVBertConfig",
 
1
  {
2
  "architectures": [
3
+ "ColUltraVBertForRetrieval"
4
  ],
5
  "auto_map": {
6
  "AutoConfig": "configuration_ultravbert.UltraVBertConfig",
config_sentence_transformers.json CHANGED
@@ -14,7 +14,7 @@
14
  "requirements": {
15
  "transformers": {
16
  "specifier": ">=5.20",
17
- "reason": "Native `ultravbert` support ships from 5.21; on 5.20.x, load with `trust_remote_code=True` to use the remote code in this repository."
18
  },
19
  "sentence-transformers": ">=6.1"
20
  }
 
14
  "requirements": {
15
  "transformers": {
16
  "specifier": ">=5.20",
17
+ "reason": "The remote code builds on the `modernvbert` and `ultrabert` model types; `ultrabert` ships from 5.20."
18
  },
19
  "sentence-transformers": ">=6.1"
20
  }