Close Menu
Ztoog
    What's Hot
    Crypto

    Cardano Price Rejected at $0.36, How Long Will The Correction Last?

    Crypto

    Ethereum: Balancing Act At $2,300 – Scaling The Heights Or Facing A Looming Drop?

    The Future

    Sunita Williams suffers bone density loss: These are space food categories designed for optimal nutrition

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      Can work-life balance tracking improve well-being?

      Any wall can be turned into a camera to see around corners

      JD Vance and President Trump’s Sons Hype Bitcoin at Las Vegas Conference

      AI may already be shrinking entry-level jobs in tech, new research suggests

      Today’s NYT Strands Hints, Answer and Help for May 26 #449

    • Technology

      Elon Musk tries to stick to spaceships

      A Replit employee details a critical security flaw in web apps created using AI-powered app builder Lovable that exposes API keys and personal info of app users (Reed Albergotti/Semafor)

      Gemini in Google Drive can now help you skip watching that painfully long Zoom meeting

      Apple iPhone exports from China to the US fall 76% as India output surges

      Today’s NYT Wordle Hints, Answer and Help for May 26, #1437

    • Gadgets

      Future-proof your career by mastering AI skills for just $20

      8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

      Google Home is getting deeper Gemini integration and a new widget

      Google Announces AI Ultra Subscription Plan With Premium Features

      Google shows off Android XR-based glasses, announces Warby Parker team-up

    • Mobile

      Deals: the Galaxy S25 series comes with a free tablet, Google Pixels heavily discounted

      Microsoft is done being subtle – this new tool screams “upgrade now”

      Wallpaper Wednesday: Android wallpapers 2025-05-28

      Google can make smart glasses accessible with Warby Parker, Gentle Monster deals

      vivo T4 Ultra specs leak

    • Science

      June skygazing: A strawberry moon, the summer solstice… and Asteroid Day!

      Analysts Say Trump Trade Wars Would Harm the Entire US Energy Sector, From Oil to Solar

      Do we have free will? Quantum experiments may soon reveal the answer

      Was Planet Nine exiled from the solar system as a baby?

      How farmers can help rescue water-loving birds

    • AI

      Rationale engineering generates a compact new tool for gene therapy | Ztoog

      The AI Hype Index: College students are hooked on ChatGPT

      Learning how to predict rare kinds of failures | Ztoog

      Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

      AI learns how vision and sound are connected, without human intervention | Ztoog

    • Crypto

      Bitcoin Maxi Isn’t Buying Hype Around New Crypto Holding Firms

      GameStop bought $500 million of bitcoin

      CoinW Teams Up with Superteam Europe to Conclude Solana Hackathon and Accelerate Web3 Innovation in Europe

      Ethereum Net Flows Turn Negative As Bulls Push For $3,500

      Bitcoin’s Power Compared To Nuclear Reactor By Brazilian Business Leader

    Ztoog
    Home » Once “too scary” to release, GPT-2 gets squeezed into an Excel spreadsheet
    Gadgets

    Once “too scary” to release, GPT-2 gets squeezed into an Excel spreadsheet

    Facebook Twitter Pinterest WhatsApp
    Once “too scary” to release, GPT-2 gets squeezed into an Excel spreadsheet
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Getty Images

    It looks like AI massive language fashions (LLMs) are in all places as of late due to the rise of ChatGPT. Now, a software program developer named Ishan Anand has managed to cram a precursor to ChatGPT referred to as GPT-2—initially launched in 2019 after some trepidation from OpenAI—into a working Microsoft Excel spreadsheet. It’s freely out there and is designed to educate folks about how LLMs work.

    “By utilizing a spreadsheet anybody (even non-developers) can discover and play straight with how a ‘actual’ transformer works below the hood with minimal abstractions to get in the best way,” writes Anand on the official web site for the sheet, which he calls “Spreadsheets-are-all-you-need.” It’s a nod to the 2017 analysis paper “Attention is All You Need” that first described the Transformer structure that has been foundational to how LLMs work.

    Anand packed GPT-2 into an XLSB Microsoft Excel binary file format, and it requires the newest model of Excel to run (however will not work on the internet model). It’s utterly native and would not do any API calls to cloud AI companies.

    Even although the spreadsheet incorporates an entire AI language mannequin, you may’t chat with it like ChatGPT. Instead, customers enter phrases in different cells and see the predictive outcomes displayed in numerous cells virtually immediately. Recall that language fashions like GPT-2 have been designed to do next-token prediction, which implies they struggle to full an enter (referred to as a immediate, which is encoded into chunks referred to as tokens) with the probably textual content. The prediction may very well be the continuation of a sentence or some other text-based process, resembling software program code. Different sheets in Anand’s Excel file permit customers to get a way of what’s going on below the hood whereas these predictions are happening.

    Advertisement

    Spreadsheets-are-all-you-need solely helps 10 tokens of enter. That’s tiny in contrast to the 128,000-token context window of GPT-4 Turbo, but it surely’s sufficient to display some fundamental rules of how LLMs work, which Anand has detailed in a collection of free tutorial movies he has uploaded to YouTube.

    A video of Iman Anand demonstrating “Spreadsheets-are-all-you-need” in a YouTube tutorial.

    In an interview with Ars Technica, Anand says he began the venture so he may fulfill his personal curiosity and perceive the Transformer intimately. “Modern AI is so completely different from the AI I realized once I was getting my CS diploma that I felt I wanted to return to the basics to really have a psychological mannequin for the way it labored.”

    He says he was initially going to re-create GPT-2 in JavaScript, however he loves spreadsheets—he calls himself “a spreadsheet addict.” He pulled inspiration from information scientist Jeremy Howard’s quick.ai and former OpenAI engineer Andrej Karpathy’s AI tutorials on YouTube.

    “I walked away from Karpathy’s movies realizing GPT is generally only a large computational graph (like a spreadsheet),” he says, “And [I] liked how Jeremy usually makes use of spreadsheets in his course to make the fabric extra approachable. After watching these two, it instantly clicked that it is perhaps attainable to do the entire GPT-2 mannequin in a spreadsheet.”

    We requested: Did he have any problem implementing a LLM in a spreadsheet? “The precise algorithm for GPT2 is generally quite a lot of math operations which is ideal for a spreadsheet,” he says. “In truth, the toughest piece is the place the phrases are transformed into numbers (a course of referred to as tokenization) as a result of it is textual content processing and the one half that is not math. It would have been simpler to try this half in a conventional programming language than in a spreadsheet.”

    Advertisement

    When Anand wanted help, he naturally bought somewhat assist from GPT-2’s descendant: “Notably ChatGPT itself was very useful within the course of in phrases serving to me clear up thorny points I’d come throughout or understanding varied phases of the algorithm, however it might additionally hallucinate so I had to double-check it so much.”

    GPT-2 rides once more

    This complete feat is feasible as a result of OpenAI launched the neural community weights and supply code for GPT-2 in November 2019. It’s notably fascinating to see that exact mannequin baked into an academic spreadsheet as a result of when it was introduced in February 2019, OpenAI was afraid to launch it—the corporate noticed the potential that GPT-2 is perhaps “used to generate misleading, biased, or abusive language at scale.”

    Still, the corporate launched the total GPT-2 mannequin (together with weights recordsdata wanted to run it regionally) in November 2019, however the firm’s subsequent main mannequin, GPT-3, which launched in 2020, has not acquired an open-weights launch. A variation of GPT-3 later shaped the premise for the preliminary model of ChatGPT, launched in 2022.

    A video of Anand demonstrating “Spreadsheets-are-all-you-need” at AI Tinkerers Seattle, October 2023.

    Anand’s spreadsheet implementation runs “GPT-2 Small,” which in contrast to the total 1.5-billion-parameter model of GPT-2 clocks in at 124 million parameters. (Parameters are numerical values in AI fashions that retailer patterns realized from coaching information.) Compared to the 175 billion parameters in GPT-3 (and even bigger fashions), it in all probability wouldn’t qualify as a “massive” language mannequin if launched in the present day. But in 2019, GPT-2 was thought of state-of-the-art.

    You can obtain the GPT-2-infused spreadsheet on GitHub, although bear in mind that it is about 1.2GB. Because of its complexity, Anand stated it will probably often lock up or crash Excel, particularly on a Mac; he recommends working the sheet on Windows. “It is very beneficial to use the handbook calculation mode in Excel and the Windows model of Excel (both on a Windows listing or by way of Parallels on a Mac),” he writes on his web site.

    And earlier than you ask, Google Sheets is presently out of the query: “This venture really began on Google Sheets, however the full 124M mannequin was too large and switched to Excel,” Anand writes. “I’m nonetheless exploring methods to make this work in Google Sheets, however it’s unlikely to match into a single file as it will probably with Excel.”

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    Gadgets

    Future-proof your career by mastering AI skills for just $20

    Gadgets

    8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

    Gadgets

    Google Home is getting deeper Gemini integration and a new widget

    Gadgets

    Google Announces AI Ultra Subscription Plan With Premium Features

    Gadgets

    Google shows off Android XR-based glasses, announces Warby Parker team-up

    Gadgets

    The market’s down, but this OpenAI for the stock market can help you trade up

    Gadgets

    We Hand-Picked the 24 Best Deals From the 2025 REI Anniversary Sale

    Gadgets

    “Google wanted that”: Nextcloud decries Android permissions as “gatekeeping”

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Mobile

    The Motorola Razr Plus is still the most fun foldable I’ve used

    Ryan Haines / Android AuthorityWe’ll most likely look again at 2023 as the 12 months…

    Science

    Storms on Saturn are so huge that their traces last hundreds of years

    A radio picture of Saturn exhibits traces of previous storms. The broad, brilliant band close…

    The Future

    The (Cleaning) Droid You’re Looking for – Review Geek

    Rating: 8/10 ? 1 – Absolute Hot Garbage 2 – Sorta Lukewarm Garbage 3 -…

    Mobile

    Telegram now lets anyone transcribe voice messages for free

    What you want to knowTelegram is increasing its voice and video message transcription function past…

    The Future

    Microsoft Reseller is Offering a 75% Discount on The Pro Suite Ahead of Black Friday

    As the vacation buying season approaches, professionals alike are in for a deal with with…

    Our Picks
    Gadgets

    15 Best Festival Accessories and Gear (2023): Fanny Packs, Inflatable Couches, and More

    The Future

    I Tried Apple’s New ‘Vehicle Motion Cues’ Feature and Risked Puking So You Don’t Have To

    Crypto

    Ethereum Exchange Balances Drop Drastically, What This Means For ETH Price

    Categories
    • AI (1,493)
    • Crypto (1,754)
    • Gadgets (1,805)
    • Mobile (1,851)
    • Science (1,867)
    • Technology (1,803)
    • The Future (1,649)
    Most Popular
    AI

    15 Artificial Intelligence AI Tools That You Should Try in June 2023

    The Future

    7 Tech Tools Every Landlord Needs to Be More Efficient

    The Future

    Why 7 million UK smart meters will stop working and what it will mean

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

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