Skip to content

Commit

Permalink
ColQwen2 example (#944)
Browse files Browse the repository at this point in the history
* Add ColQwen2 notebook example

* Add ColQwen2 notebook example

* Add to TOC

* Add tqdm as explicit dep and rename app

---------

Co-authored-by: Thomas Hjelde Thoresen <[email protected]>
  • Loading branch information
Jo Kristian Bergum and thomasht86 authored Oct 1, 2024
1 parent 55a0872 commit e3b1f3b
Show file tree
Hide file tree
Showing 4 changed files with 6,437 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/sphinx/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ Examples
examples/simplified-retrieval-with-colpali-vlm_Vespa-cloud.ipynb
examples/colpali-document-retrieval-vision-language-models-cloud.ipynb
examples/colpali-benchmark-vqa-vlm_Vespa-cloud.ipynb
examples/pdf-retrieval-with-ColQwen2-vlm_Vespa-cloud.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"\n",
"For a simpler example where we use one vespa document = One PDF page, see [simplified-retrieval-with-colpali](https://pyvespa.readthedocs.io/en/latest/examples/simplified-retrieval-with-colpali-vlm_Vespa-cloud.html).\n",
"\n",
"Consider following the [ColQWen2](https://pyvespa.readthedocs.io/en/latest/examples/pdf-retrieval-with-ColQwen2-vlm_Vespa-cloud.html) notebook instead as it\n",
"use a better model with improved performance (Both accuracy and speed).\n",
"\n",
"We also store the base64 encoded image, and page meta data like title and url so that we can display it in the result page, but also\n",
"use it for RAG with powerful LLMs with vision capabilities. \n",
"\n",
Expand Down
Loading

0 comments on commit e3b1f3b

Please sign in to comment.