Skip to content

Commit 0bf4456

Browse files
committed
1.2 update in doc
1 parent b5d698c commit 0bf4456

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Loading a model with `byaldi` is extremely straightforward:
6060
```python3
6161
from byaldi import RAGMultiModalModel
6262
# Optionally, you can specify an `index_root`, which is where it'll save the index. It defaults to ".byaldi/".
63-
RAG = RAGMultiModalModel.from_pretrained("vidore/colpali")
63+
RAG = RAGMultiModalModel.from_pretrained("vidore/colpali-v1.2")
6464
```
6565

6666
If you've already got an index, and wish to load it along with the model necessary to query it, you can do so just as easily:
@@ -77,7 +77,7 @@ Creating an index with `byaldi` is simple and flexible. **You can index a single
7777
```python3
7878
from byaldi import RAGMultiModalModel
7979
# Optionally, you can specify an `index_root`, which is where it'll save the index. It defaults to ".byaldi/".
80-
RAG = RAGMultiModalModel.from_pretrained("vidore/colpali")
80+
RAG = RAGMultiModalModel.from_pretrained("vidore/colpali-v1.2")
8181
RAG.index(
8282
input_path="docs/", # The path to your documents
8383
index_name=index_name, # The name you want to give to your index. It'll be saved at `index_root/index_name/`.

byaldi/RAGModel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class RAGMultiModalModel:
2626
```python
2727
from byaldi import RAGMultiModalModel
2828
29-
RAG = RAGMultiModalModel.from_pretrained("vidore/colpali")
29+
RAG = RAGMultiModalModel.from_pretrained("vidore/colpali-v1.2")
3030
```
3131
3232
Both methods will load a fully initialised instance of ColPali, which you can use to build and query indexes.

0 commit comments

Comments
 (0)