Skip to content

Commit

Permalink
chore: add description for retrieval playground (#834)
Browse files Browse the repository at this point in the history
* chore: add description for retrieval playground

* chore: use copilot to polish docs

* chore: polish words based on copilot
  • Loading branch information
jemmyshin authored Oct 9, 2022
1 parent a26a883 commit 54e9978
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/playground/searching.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Text & Image Searching

CLIP-as-service enables us to encode text and images into a common space. This is a powerful tool for many applications, such as cross-modality search.

[CLIP search](../user-guides/retriever.md) is a new feature provided by CLIP-as-service. It enables us to search for images based on text/image. It calculates the similarity score based on the embeddings of the text and image. The higher the score, the more similar they are.

This demo demonstrates the text-to-image and image-to-image searching in CLIP search. You can type text query or upload the local image as a query, and it will return the top 10 similar images for you.

In this demo, we use [``Open-Image-Dataset``](https://storage.googleapis.com/openimages/web/download.html) dataset (consist of 125,346 images) to demonstrate Text & Image retrieval.

<iframe frameborder="0" allowtransparency="true" scrolling="no" src="https://jemmyshin-laion5b-streamlit-streamlit-demo-rddbqz.streamlitapp.com?embedded=true" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100vh;width:100%"></iframe>

```{button-link} https://jemmyshin-laion5b-streamlit-streamlit-demo-rddbqz.streamlitapp.com/
Expand Down

0 comments on commit 54e9978

Please sign in to comment.