summaryrefslogtreecommitdiff
path: root/candle-examples/examples/colpali/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'candle-examples/examples/colpali/README.md')
-rw-r--r--candle-examples/examples/colpali/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/candle-examples/examples/colpali/README.md b/candle-examples/examples/colpali/README.md
new file mode 100644
index 00000000..e6a55798
--- /dev/null
+++ b/candle-examples/examples/colpali/README.md
@@ -0,0 +1,18 @@
+# Colpali
+
+[HuggingFace Model Card](https://huggingface.co/vidore/colpali-v1.2-merged)
+
+```
+wget https://arxiv.org/pdf/1706.03762.pdf
+cargo run --features cuda,pdf2image --release --example colpali -- --prompt "What is Positional Encoding" --pdf "1706.03762.pdf"
+```
+
+```
+Prompt: what is position encoding?
+top 3 page numbers that contain similarity to the prompt
+-----------------------------------
+Page: 6
+Page: 11
+Page: 15
+-----------------------------------
+``` \ No newline at end of file