# shift-ctrl-f **Repository Path**: cat_ci/shift-ctrl-f ## Basic Information - **Project Name**: shift-ctrl-f - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-29 - **Last Updated**: 2021-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Shift-Ctrl-F: Semantic Search for the Browser ![Shift-Ctrl-F](./assets/chrome-store-banner.png) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Chrome Web Store Link](https://developer.chrome.com/webstore/images/ChromeWebStore_BadgeWBorder_v2_340x96.png)](https://chrome.google.com/webstore/detail/shift-ctrl-f-semantic-sea/alnafbdjkoiljlomnbcknehahbjoiped) Search the information available on a webpage using natural language instead of an exact string match. Uses [MobileBERT](https://arxiv.org/abs/2004.02984) fine-tuned on [SQuAD](https://rajpurkar.github.io/SQuAD-explorer/) via [TensorFlowJS](https://www.tensorflow.org/js) to search for answers and mark relevant elements on the web page. ![Shift-Ctrl-F Demo](./assets/demo.gif) **This extension is an experiment.** Deep learning models like BERT are powerful but may return unpredictable and/or biased results that are tough to interpret. Please apply best judgement when analyzing search results. ### Why? Ctrl-F uses exact string-matching to find information within a webpage. String match is inherently a proxy heuristic for the true content -- in most cases it works very well, but in some cases it can be a bad proxy. In our example above we search [https://stripe.com/docs/testing](https://stripe.com/docs/testing), aiming to understand the **difference between test mode and live mode**. With string matching, you might search through some relevant phrases `"live mode"`, `"test mode"`, and/or `"difference"` and scan through results. With semantic search, you can directly phrase your question `"What is the difference between live mode and test mode?"`. We see that the model returns a relevant result, even though the page does not contain the term "`difference`". ### How It Works Every time a user executes a search: 1. The content script collects all `

`, `