Close Menu
techwavedispatch.com

    Subscribe to Updates

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

    What's Hot

    Goal Encoding in LLMs

    November 14, 2026

    up to 40% faster training and tuning of Large Language Models

    November 14, 2026

    Multi-Objective Optimization via Objective Space Navigation with Reinforcement Learning

    November 14, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Goal Encoding in LLMs
    • up to 40% faster training and tuning of Large Language Models
    • Multi-Objective Optimization via Objective Space Navigation with Reinforcement Learning
    • Training a language model with 🤗 Transformers using TensorFlow and TPUs
    • STeP-C: Real-Time Neural Compression for Distributed Fiber-Optic Sensing at Scale
    • How to Install and Use the Hugging Face Unity API
    • DGPExplainer: Generating Prototype Sequence Explanations for Dynamic Graph Neural Networks
    • A State-of-the-Art LLM for Code
    Facebook X (Twitter) Instagram
    techwavedispatch.com
    Subscribe
    Saturday, November 14
    • 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»up to 40% faster training and tuning of Large Language Models
    AI Tools & Software

    up to 40% faster training and tuning of Large Language Models

    adminBy adminNovember 14, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    up to 40% faster training and tuning of Large Language Models
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Generative AI has been taking the world by storm. As the data and AI company, we have been on this journey with the release of the open source large language model Dolly, as well as the internally crowdsourced dataset licensed for research and commercial use that we used to fine-tune it, the databricks-dolly-15k. Both the model and dataset are available on Hugging Face. We’ve learned a lot throughout this process, and today we’re excited to announce our first of many official commits to the Hugging Face codebase that allows users to easily create a Hugging Face Dataset from an Apache Spark™ dataframe.



    “It’s been great to see Databricks release models and datasets to the community, and now we see them extending that work with direct open source commitment to Hugging Face. Spark is one of the most efficient engines for working with data at scale, and it’s great to see that users can now benefit from that technology to more effectively fine tune models from Hugging Face.”

    — Clem Delange, Hugging Face CEO



    Hugging Face gets first-class Spark support

    Over the past few weeks, we’ve gotten many requests from users asking for an easier way to load their Spark dataframe into a Hugging Face dataset that can be utilized for model training or tuning. Prior to today’s release, to get data from a Spark dataframe into a Hugging Face dataset, users had to write data into Parquet files and then point the Hugging Face dataset to these files to reload them. For example:

    from datasets import load_dataset
    
    train_df = train.write.parquet(train_dbfs_path, mode="overwrite")
    
    train_test = load_dataset("parquet", data_files={"train":f"/dbfs{train_dbfs_path}/*.parquet", "test":f"/dbfs{test_dbfs_path}/*.parquet"})
    
    #16GB == 22min
    

    Not only was this cumbersome, but it also meant that data had to be written to disk and then read in again. On top of that, the data would get rematerialized once loaded back into the dataset, which eats up more resources and, therefore, more time and cost. Using this method, we saw that a relatively small (16GB) dataset took about 22 minutes to go from Spark dataframe to Parquet, and then back into the Hugging Face dataset.

    With the latest Hugging Face release, we make it much simpler for users to accomplish the same task by simply calling the new “from_spark” function in Datasets:

    from datasets import Dataset
    
    df = [some Spark dataframe or Delta table loaded into df]
    
    dataset = Dataset.from_spark(df)
    
    #16GB == 12min
    

    This allows users to use Spark to efficiently load and transform data for training or fine-tuning a model, then easily map their Spark dataframe into a Hugging Face dataset for super simple integration into their training pipelines. This combines cost savings and speed from Spark and optimizations like memory-mapping and smart caching from Hugging Face datasets. These improvements cut down the processing time for our example 16GB dataset by more than 40%, going from 22 minutes down to only 12 minutes.



    Why does this matter?

    As we transition to this new AI paradigm, organizations will need to use their extremely valuable data to augment their AI models if they want to get the best performance within their specific domain. This will almost certainly require work in the form of data transformations, and doing this efficiently over large datasets is something Spark was designed to do. Integrating Spark with Hugging Face gives you the cost-effectiveness and performance of Spark while retaining the pipeline integration that Hugging Face provides.



    Continued Open-Source Support

    We see this release as a new avenue to further contribute to the open source community, something that we believe Hugging Face does extremely well, as it has become the de facto repository for open source models and datasets. This is only the first of many contributions. We already have plans to add streaming support through Spark to make the dataset loading even faster.

    In order to become the best platform for users to jump into the world of AI, we’re working hard to provide the best tools to successfully train, tune, and deploy models. Not only will we continue contributing to Hugging Face, but we’ve also started releasing improvements to our other open source projects. A recent MLflow release added support for the transformers library, OpenAI integration, and Langchain support. We also announced AI Functions within Databricks SQL that lets users easily integrate OpenAI (or their own deployed models in the future) into their queries. To top it all off, we also released a PyTorch distributor for Spark to simplify distributed PyTorch training on Databricks.

    This article was originally published on April 26, 2023 in Databricks’s blog.

    Faster Language Large Models Training Tuning
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    Training a language model with 🤗 Transformers using TensorFlow and TPUs

    November 14, 2026

    How to Install and Use the Hugging Face Unity API

    November 14, 2026

    A State-of-the-Art LLM for Code

    November 14, 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
    Machine Learning

    Goal Encoding in LLMs

    By adminNovember 14, 20260

    arXiv:2611.17297v1 Announce Type: cross Abstract: We investigate whether and how LLMs encode goals: internal neural…

    up to 40% faster training and tuning of Large Language Models

    November 14, 2026

    Multi-Objective Optimization via Objective Space Navigation with Reinforcement Learning

    November 14, 2026

    Training a language model with 🤗 Transformers using TensorFlow and TPUs

    November 14, 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

    Goal Encoding in LLMs

    November 14, 2026

    up to 40% faster training and tuning of Large Language Models

    November 14, 2026

    Multi-Objective Optimization via Objective Space Navigation with Reinforcement Learning

    November 14, 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.