# doc2Query We start with some input document, and then have some sequence to sequence model (in red, such as the [T5 model](https://huggingface.co/docs/transformers/model_doc/t5)). Given than input, the model produces *queries* (queries that it predicts that a user could ask that it would then be happy if it retrieved this document). ![](Introduction%20-%20Recent%20Developments%20in%20Neural%20Search%2011-6%20screenshot.png) --- Date: 20230607 Links to: Tags: References: * []()