File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Loading a model with `byaldi` is extremely straightforward:
6060``` python3
6161from 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
6666If 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
7878from 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 " )
8181RAG .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/`.
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments