Close Menu
techwavedispatch.com

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Welcome fastText to the Hugging Face Hub

    November 13, 2026

    A Theoretical Framework for Diagnosing Physical Hallucinations in Weather Foundation Models

    November 13, 2026

    analyze 50,000+ datasets stored on the Hugging Face Hub

    November 13, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Welcome fastText to the Hugging Face Hub
    • A Theoretical Framework for Diagnosing Physical Hallucinations in Weather Foundation Models
    • analyze 50,000+ datasets stored on the Hugging Face Hub
    • Some International Physical Copies Of GTA VI Can Allegedly Be Redeemed Without Opening The Box
    • Route coding agent requests to the right model on Amazon Bedrock with NVIDIA NeMo Switchyard
    • Jensen Huang’s departure blasts big hole in AI startup funding, VCs and founders say
    • Can foundation models label data like humans?
    • Best Early Black Friday AirPods Deals (2026)
    Facebook X (Twitter) Instagram
    techwavedispatch.com
    Subscribe
    Friday, November 13
    • Home
    • AI Tools & Software
    • Machine Learning
    • Generative AI
    • Robotics & Automation
    • Future Tech & Hardware
    • AI in Business
    • Ethics & Regulations
    • More
      • Gadgets & Smart Devices
      • Cybersecurity & AI
      • Tech Breakthroughs
    techwavedispatch.com
    Home»AI Tools & Software»analyze 50,000+ datasets stored on the Hugging Face Hub
    AI Tools & Software

    analyze 50,000+ datasets stored on the Hugging Face Hub

    adminBy adminNovember 13, 2026No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    analyze 50,000+ datasets stored on the Hugging Face Hub
    Share
    Facebook Twitter LinkedIn Pinterest Email

    The Hugging Face Hub is dedicated to providing open access to datasets for everyone and giving users the tools to explore and understand them. You can find many of the datasets used to train popular large language models (LLMs) like Falcon, Dolly, MPT, and StarCoder. There are tools for addressing fairness and bias in datasets like Disaggregators, and tools for previewing examples inside a dataset like the Dataset Viewer.

    A preview of the OpenAssistant dataset with the Dataset Viewer.

    We are happy to share that we recently added another feature to help you analyze datasets on the Hub; you can run SQL queries with DuckDB on any dataset stored on the Hub! According to the 2022 StackOverflow Developer Survey, SQL is the 3rd most popular programming language. We also wanted a fast database management system (DBMS) designed for running analytical queries, which is why we’re excited about integrating with DuckDB. We hope this allows even more users to access and analyze datasets on the Hub!



    TLDR

    The dataset viewer automatically converts all public datasets on the Hub to Parquet files, that you can see by clicking on the “Auto-converted to Parquet” button at the top of a dataset page. You can also access the list of the Parquet files URLs with a simple HTTP call.

    r = requests.get("https://datasets-server.huggingface.co/parquet?dataset=blog_authorship_corpus")
    j = r.json()
    urls = [f['url'] for f in j['parquet_files'] if f['split'] == 'train']
    urls
    ['https://huggingface.co/datasets/blog_authorship_corpus/resolve/refs%2Fconvert%2Fparquet/blog_authorship_corpus/blog_authorship_corpus-train-00000-of-00002.parquet',
     'https://huggingface.co/datasets/blog_authorship_corpus/resolve/refs%2Fconvert%2Fparquet/blog_authorship_corpus/blog_authorship_corpus-train-00001-of-00002.parquet']
    

    Create a connection to DuckDB and install and load the httpfs extension to allow reading and writing remote files:

    import duckdb
    
    url = "https://huggingface.co/datasets/blog_authorship_corpus/resolve/refs%2Fconvert%2Fparquet/blog_authorship_corpus/blog_authorship_corpus-train-00000-of-00002.parquet"
    
    con = duckdb.connect()
    con.execute("INSTALL httpfs;")
    con.execute("LOAD httpfs;")
    

    Once you’re connected, you can start writing SQL queries!

    con.sql(f"""SELECT horoscope, 
        count(*), 
        AVG(LENGTH(text)) AS avg_blog_length 
        FROM '{url}' 
        GROUP BY horoscope 
        ORDER BY avg_blog_length 
        DESC LIMIT(5)"""
    )
    

    To learn more, check out the documentation.



    From dataset to Parquet

    Parquet files are columnar, making them more efficient to store, load and analyze. This is especially important when you’re working with large datasets, which we’re seeing more and more of in the LLM era. To support this, the dataset viewer automatically converts and publishes any public dataset on the Hub as Parquet files. The URL to the Parquet files can be retrieved with the /parquet endpoint.



    Analyze with DuckDB

    DuckDB offers super impressive performance for running complex analytical queries. It is able to execute a SQL query directly on a remote Parquet file without any overhead. With the httpfs extension, DuckDB is able to query remote files such as datasets stored on the Hub using the URL provided from the /parquet endpoint. DuckDB also supports querying multiple Parquet files which is really convenient because the dataset viewer shards big datasets into smaller 500MB chunks.



    Looking forward

    Knowing what’s inside a dataset is important for developing models because it can impact model quality in all sorts of ways! By allowing users to write and execute any SQL query on Hub datasets, this is another way for us to enable open access to datasets and help users be more aware of the datasets contents. We are excited for you to try this out, and we’re looking forward to what kind of insights your analysis uncovers!

    analyze datasets Face Hub Hugging stored
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    Welcome fastText to the Hugging Face Hub

    November 13, 2026

    Can foundation models label data like humans?

    November 13, 2026

    The Hugging Face Hub for Galleries, Libraries, Archives and Museums

    November 13, 2026
    Leave A Reply Cancel Reply

    Top Posts

    NVIDIA Is Investigating Reports That CEO Jensen Huang Was The Target Of Chinese Spy Efforts

    November 8, 202619 Views

    ADIndex: Layer-Adaptive Sparse Attention Indexing via Group-Level Distillation

    November 11, 20265 Views

    Anthropic releases new Mythos and Fable models amid RSI concerns

    November 9, 20265 Views

    Anthropic says AI is eroding Nvidia’s CUDA lead, cutting an AMD chip switch from months to three days

    November 11, 20264 Views
    Don't Miss
    AI Tools & Software

    Welcome fastText to the Hugging Face Hub

    By adminNovember 13, 20260

    fastText is a library for efficient learning of text representation and classification. Open-sourced by Meta…

    A Theoretical Framework for Diagnosing Physical Hallucinations in Weather Foundation Models

    November 13, 2026

    analyze 50,000+ datasets stored on the Hugging Face Hub

    November 13, 2026

    Some International Physical Copies Of GTA VI Can Allegedly Be Redeemed Without Opening The Box

    November 13, 2026
    About Us

    Welcome to TechWave Dispatch

    At TechWave Dispatch, we bring you the latest news, insights, and developments from the ever-evolving world of technology. Our mission is to keep readers informed about the innovations shaping our digital future.

    From artificial intelligence and machine learning to cybersecurity, robotics, smart devices, and groundbreaking technologies, we cover the topics that matter in today's fast-moving tech landscape.

    Our Picks

    Welcome fastText to the Hugging Face Hub

    November 13, 2026

    A Theoretical Framework for Diagnosing Physical Hallucinations in Weather Foundation Models

    November 13, 2026

    analyze 50,000+ datasets stored on the Hugging Face Hub

    November 13, 2026
    Most Popular

    Who Controls Scientific Discovery? – O’Reilly

    November 6, 20260 Views

    After blocking Muse, Amazon now lets users text Alexa to help them shop

    November 6, 20260 Views

    A controlled world for robot learning and evaluation

    November 6, 20260 Views
    Facebook X (Twitter) Instagram Pinterest
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • About Us
    © 2026 TechWave Dispatch. All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.