Tutor SQL (@TutorSql) profile picture

Find answers to commonly asked SQL interview questions.

Joined July 2023
The database optimizer never ceases to blow my mind. TIL that we can refactor some DECODEs into simpler expressions. #database #sql 🔥
4
10
72
6,269
A master class in creating Synthetic datasets with LLMs! 🐐 ToolLLM paper has been popular for creating the strongest API following models. I think there’s an incredibly underrated side to it, here’s my summary: - The paper aims to improve API following capabilities of open source models - The first step is to collect a large set of API call examples along with its documentation - Low quality ones that don’t work are filtered out - ChatGPT is used to annotate and provide reasoning for examples - Depth First Search, a new prompting strategy is the key to making the above step work - The open source models are fine tuned on these - Finally a retrieval model is trained to fetch the correct APIs to call during inference The paper has many other interesting angles as well. For me the pipeline above was a master class on how to create synthetic datasets with Large Language Models: arxiv.org/abs/2307.16789
3
37
4
217
45,695