Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,8 @@ tags: []
|
|
| 5 |
|
| 6 |
# BiModernVBERT
|
| 7 |
|
|
|
|
|
|
|
| 8 |
## Model
|
| 9 |
This is the model card for `BiModernVBERT` the dense encoder version of ModernVBERT that is fine-tuned for visual document retrieval tasks.
|
| 10 |
|
|
@@ -58,7 +60,6 @@ model = BiModernVBert.from_pretrained(
|
|
| 58 |
trust_remote_code=True
|
| 59 |
)
|
| 60 |
|
| 61 |
-
# image = load_image("https://huggingface.co/spaces/HuggingFaceTB/SmolVLM/resolve/main/example_images/rococo.jpg")
|
| 62 |
image = Image.open(hf_hub_download("HuggingFaceTB/SmolVLM", "example_images/rococo.jpg", repo_type="space"))
|
| 63 |
text = "This is a text"
|
| 64 |
|
|
@@ -77,6 +78,9 @@ print("Similarity scores:", scores)
|
|
| 77 |
```
|
| 78 |
|
| 79 |
## Evaluation
|
|
|
|
|
|
|
|
|
|
| 80 |
ColModernVBERT matches the performance of models nearly 10x larger on visual document benchmarks. Additionally, it provides an interesting inference speed on CPU compared to the models of similar performance.
|
| 81 |
|
| 82 |
## License
|
|
|
|
| 5 |
|
| 6 |
# BiModernVBERT
|
| 7 |
|
| 8 |
+

|
| 9 |
+
|
| 10 |
## Model
|
| 11 |
This is the model card for `BiModernVBERT` the dense encoder version of ModernVBERT that is fine-tuned for visual document retrieval tasks.
|
| 12 |
|
|
|
|
| 60 |
trust_remote_code=True
|
| 61 |
)
|
| 62 |
|
|
|
|
| 63 |
image = Image.open(hf_hub_download("HuggingFaceTB/SmolVLM", "example_images/rococo.jpg", repo_type="space"))
|
| 64 |
text = "This is a text"
|
| 65 |
|
|
|
|
| 78 |
```
|
| 79 |
|
| 80 |
## Evaluation
|
| 81 |
+
|
| 82 |
+

|
| 83 |
+
|
| 84 |
ColModernVBERT matches the performance of models nearly 10x larger on visual document benchmarks. Additionally, it provides an interesting inference speed on CPU compared to the models of similar performance.
|
| 85 |
|
| 86 |
## License
|