Visual Document Retrieval
ColPali
Safetensors
English
modernvbert
vidore-experimental
vidore
paultltc commited on
Commit
1d1bece
·
verified ·
1 Parent(s): 8765824

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -19
README.md CHANGED
@@ -18,25 +18,26 @@ pipeline_tag: visual-document-retrieval
18
 
19
  ![bg](https://cdn-uploads.huggingface.co/production/uploads/6720a87e392e9cea0187fde6/nRa7iE30dqCUHGblnK8GQ.png)
20
 
21
- ## 🚨 Migration guide to official `transformers` modeling
22
-
23
- ModernVBERT is part of `transformers` since v5.3.0!
24
-
25
- This becomes the official modeling for the model.
26
-
27
- If you have a model based on the initial modeling, you can adapt the weigths to the new format supported by `transformers`.
28
- We provide a conversion script in this repo, you simply need to run:
29
-
30
- ```bash
31
- python convert_model_weights.py \
32
- /path/to/legacy-modernvbert \
33
- /path/to/converted-modernvbert \
34
- ```
35
-
36
- The converted model:
37
- - merges the split token embedding tables
38
- - rewrites `model.connector.modality_projection.proj.weight`
39
- - nests `model.vision_model...` under `model.vision_model.vision_model...`
 
40
 
41
  ## Model
42
  This is the model card for `modernvbert`.
 
18
 
19
  ![bg](https://cdn-uploads.huggingface.co/production/uploads/6720a87e392e9cea0187fde6/nRa7iE30dqCUHGblnK8GQ.png)
20
 
21
+ > [!WARNING]
22
+ >🚨 **Migration guide to official `transformers` modeling**
23
+ >
24
+ >ModernVBERT is part of `transformers` since v5.3.0!
25
+ >
26
+ >This becomes the official modeling for the model.
27
+ >
28
+ >If you have a model based on the initial modeling, you can adapt the weigths to the new format supported by `transformers`.
29
+ >We provide a conversion script in this repo, you simply need to run:
30
+ >
31
+ >```bash
32
+ >python convert_model_weights.py \
33
+ > /path/to/legacy-modernvbert \
34
+ > /path/to/converted-modernvbert \
35
+ >```
36
+ >
37
+ >The converted model:
38
+ >- merges the split token embedding tables
39
+ >- rewrites `model.connector.modality_projection.proj.weight`
40
+ >- nests `model.vision_model...` under `model.vision_model.vision_model...`
41
 
42
  ## Model
43
  This is the model card for `modernvbert`.