Tags: sql* + llm*

0 bookmark(s) - Sort by: Date ↓ / Title /

  1. This article exposes critical flaws in Text-to-SQL benchmarks like BIRD and Spider. An audit of gold queries reveals that several contain incorrect joins, causing mathematically wrong results to be established as ground truth. Since standard execution accuracy measures performance by comparing outputs against these faulty reference answers, models are often penalized for being correct and rewarded for mimicking human errors. To address this, the author proposes a constraint-aware evaluation method that validates SQL logic against declared data semantics rather than relying on potentially incorrect gold results.

    - Discrepancies between benchmark gold queries and database schema facts
    - The inherent risks of using execution accuracy as the primary metric
    - How annotation errors impact model rankings and enterprise deployments
    - Introduction of constraint-aware evaluation to ensure semantic validity
    2026-07-13 Tags: , , , , , , , by klotz
  2. This course takes you from Python fundamentals to AI Agent development, covering core Python, NumPy, Pandas, SQL, Flask, FastAPI, LLMs, and open-source models via HuggingFace.
  3. The article explores techniques to improve Large Language Model (LLM) accuracy, focusing on Lamini Memory Tuning. It discusses fine-tuning methods like Low-Rank Adaptation (LoRA), the advantages and disadvantages of fine-tuning, and practical steps using Lamini to achieve higher precision in SQL query generation. The author demonstrates a step-by-step approach to creating a high-quality dataset, fine-tuning, and evaluating model accuracy.
    2025-01-12 Tags: , , , , by klotz
  4. This article discusses methods to measure and improve the accuracy of Large Language Model (LLM) applications, focusing on building an SQL Agent where precision is crucial. It covers setting up the environment, creating a prototype, evaluating accuracy, and using techniques like self-reflection and retrieval-augmented generation (RAG) to enhance performance.
    2024-12-20 Tags: , , , , , by klotz
  5. A new plugin for sqlite-utils CLI tool called sqlite-utils-ask allows users to ask human-language questions directly of SQLite databases and CSV/JSON files, using an LLM to generate SQL queries and execute them.
    2024-11-25 Tags: , , , , , , , by klotz
  6. Learn how to automate AI embedding creation using PostgreSQL with pgai Vectorizer. Streamline your AI workflow with simple SQL commands.

    ntegration: PGAI Vectorizer integrates AI capabilities into PostgreSQL, enabling users to generate AI embeddings directly within the database.
    Ease of Use: It simplifies the process of creating embeddings using a single SQL command, eliminating the need for multiple tools and complex pipelines.
    Automatic Sync: Embeddings are automatically updated as data changes, ensuring that embeddings stay current without manual intervention.
    Model Flexibility: Users can quickly switch between different AI models without reprocessing data.
    Scalability: Optimizes search performance with vector indexes, making it suitable for large datasets.
    Customization: Allows users to define chunking and formatting rules to tailor embeddings to their specific needs.
    2024-11-22 Tags: , , , , by klotz
  7. This article discusses how to overcome limitations of retrieval-augmented generation (RAG) models by creating an AI assistant using advanced SQL vector queries. The author uses tools such as MyScaleDB, OpenAI, LangChain, Hugging Face and the HackerNews API to develop an application that enhances the accuracy and efficiency of data retrieval process.
  8. Quadratic is a modern spreadsheet that combines the familiarity of a spreadsheet with the power of code, allowing you to work with data and code collaboratively in real-time. It supports popular programming languages like Python, SQL, and JavaScript, and offers features such as dynamic charts, APIs, multi-line formulas, and AI integration.
  9. A prototype tool powered by Large Language Models to make querying your databases as easy as saying the word.

    - Introduction to QueryGPT, a tool using Large Language Models (LLMs) for natural language database queries
    - Focus on implementing a basic iteration of the system, with potential for significant enhancements
    - Aim is to provide the LLM with the database schema and have it answer questions based on that context
    - Discussion on prompt engineering, which is designing inputs for generative AI tools to produce optimal results
    2024-02-02 Tags: , , , , by klotz
  10. Tune a base LLama2 LLM to output SQL code. with Parameter Efficient Fine-Tuning techniques to optimise the process.
    2023-12-17 Tags: , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: tagged with "sql+llm"

About - Propulsed by SemanticScuttle