* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, May 23, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    SRM Entertainment Announces $5 Million Private Placement – GlobeNewswire

    SRM Entertainment Secures $5 Million Investment to Fuel Growth!

    Embracer intends to spin off Coffee Stain Group by the end of 2025, with remaining business rebranded as Fellowship Entertainment – GamesIndustry.biz

    Embracer intends to spin off Coffee Stain Group by the end of 2025, with remaining business rebranded as Fellowship Entertainment – GamesIndustry.biz

    San Jose eyes creation of entertainments zones with FIFA World Cup, Super Bowl LX on the horizon – The Mercury News

    San Jose Sets Its Sights on Exciting Entertainment Zones Ahead of FIFA World Cup and Super Bowl LX!

    Wilmington’s future of fun: 5 recreation and entertainment spaces planned in the Port City – Wilmington Star-News

    Exciting Developments Ahead: 5 New Recreation and Entertainment Spaces Coming to Wilmington!

    Jason Momoa Is Done With Peace in Apple’s ‘Chief of War’ Teaser – Yahoo

    Jason Momoa Embraces Chaos in Gripping Teaser for Apple’s ‘Chief of War’

    AI Entertainment Studio Promise Inks Deal With Google, Raises Investment from Michael Ovitz’s Crossbeam – The Hollywood Reporter

    AI Entertainment Studio Promise Secures Major Deal with Google and Attracts Investment from Michael Ovitz’s Crossbeam!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    InfiMotion Technology launches TL 300 integrated drive system – Automotive Powertrain Technology International

    InfiMotion Technology Unveils Game-Changing TL 300 Integrated Drive System!

    Aera Technology Debuts Decision Intelligence Skill to Navigate Shifting Tariff Dynamics Across Value Chains – Silicon Canals

    Unlocking Success: Aera Technology Launches Innovative Decision Intelligence Skill to Tackle Evolving Tariff Challenges in Value Chains

    Auditory Processing and Psychosocial Improvements with Remote Microphone Technology: An Evidence Review – The Hearing Review

    Unlocking Sound: How Remote Microphone Technology Enhances Auditory Processing and Boosts Psychosocial Well-Being

    Quadient and Nuvei Forge Strategic Technology Partnership – Finovate

    Quadient and Nuvei Forge Strategic Technology Partnership – Finovate

    Novotech Honored with Triple Win in 2025 Pharmaceutical Technology Excellence Awards – Morningstar

    Novotech Celebrates Triple Triumph at the 2025 Pharmaceutical Technology Excellence Awards!

    Experts Issue Warning on New TSA Technology – Men’s Journal

    Experts Sound Alarm Over New TSA Technology: What You Need to Know

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    SRM Entertainment Announces $5 Million Private Placement – GlobeNewswire

    SRM Entertainment Secures $5 Million Investment to Fuel Growth!

    Embracer intends to spin off Coffee Stain Group by the end of 2025, with remaining business rebranded as Fellowship Entertainment – GamesIndustry.biz

    Embracer intends to spin off Coffee Stain Group by the end of 2025, with remaining business rebranded as Fellowship Entertainment – GamesIndustry.biz

    San Jose eyes creation of entertainments zones with FIFA World Cup, Super Bowl LX on the horizon – The Mercury News

    San Jose Sets Its Sights on Exciting Entertainment Zones Ahead of FIFA World Cup and Super Bowl LX!

    Wilmington’s future of fun: 5 recreation and entertainment spaces planned in the Port City – Wilmington Star-News

    Exciting Developments Ahead: 5 New Recreation and Entertainment Spaces Coming to Wilmington!

    Jason Momoa Is Done With Peace in Apple’s ‘Chief of War’ Teaser – Yahoo

    Jason Momoa Embraces Chaos in Gripping Teaser for Apple’s ‘Chief of War’

    AI Entertainment Studio Promise Inks Deal With Google, Raises Investment from Michael Ovitz’s Crossbeam – The Hollywood Reporter

    AI Entertainment Studio Promise Secures Major Deal with Google and Attracts Investment from Michael Ovitz’s Crossbeam!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    InfiMotion Technology launches TL 300 integrated drive system – Automotive Powertrain Technology International

    InfiMotion Technology Unveils Game-Changing TL 300 Integrated Drive System!

    Aera Technology Debuts Decision Intelligence Skill to Navigate Shifting Tariff Dynamics Across Value Chains – Silicon Canals

    Unlocking Success: Aera Technology Launches Innovative Decision Intelligence Skill to Tackle Evolving Tariff Challenges in Value Chains

    Auditory Processing and Psychosocial Improvements with Remote Microphone Technology: An Evidence Review – The Hearing Review

    Unlocking Sound: How Remote Microphone Technology Enhances Auditory Processing and Boosts Psychosocial Well-Being

    Quadient and Nuvei Forge Strategic Technology Partnership – Finovate

    Quadient and Nuvei Forge Strategic Technology Partnership – Finovate

    Novotech Honored with Triple Win in 2025 Pharmaceutical Technology Excellence Awards – Morningstar

    Novotech Celebrates Triple Triumph at the 2025 Pharmaceutical Technology Excellence Awards!

    Experts Issue Warning on New TSA Technology – Men’s Journal

    Experts Sound Alarm Over New TSA Technology: What You Need to Know

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

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

March 16, 2024
in Technology
Once “too scary” to release, GPT-2 gets squeezed into an Excel spreadsheet
Share on FacebookShare on Twitter

Sleeper cell —

OpenAI’s GPT-2 running locally in Microsoft Excel teaches the basics of how LLMs work.

Benj Edwards
– Mar 15, 2024 8:56 pm UTC

An illustration of robots sitting on a logical block diagram.

Getty Images

It seems like AI large language models (LLMs) are everywhere these days due to the rise of ChatGPT. Now, a software developer named Ishan Anand has managed to cram a precursor to ChatGPT called GPT-2—originally released in 2019 after some trepidation from OpenAI—into a working Microsoft Excel spreadsheet. It’s freely available and is designed to educate people about how LLMs work.

“By using a spreadsheet anyone (even non-developers) can explore and play directly with how a ‘real’ transformer works under the hood with minimal abstractions to get in the way,” writes Anand on the official website for the sheet, which he calls “Spreadsheets-are-all-you-need.” It’s a nod to the 2017 research paper “Attention is All You Need” that first described the Transformer architecture that has been foundational to how LLMs work.

Anand packed GPT-2 into an XLSB Microsoft Excel binary file format, and it requires the latest version of Excel to run (but won’t work on the web version). It’s completely local and doesn’t do any API calls to cloud AI services.

Even though the spreadsheet contains a complete AI language model, you can’t chat with it like ChatGPT. Instead, users input words in other cells and see the predictive results displayed in different cells almost instantly. Recall that language models like GPT-2 were designed to do next-token prediction, which means they try to complete an input (called a prompt, which is encoded into chunks called tokens) with the most likely text. The prediction could be the continuation of a sentence or any other text-based task, such as software code. Different sheets in Anand’s Excel file allow users to get a sense of what is going on under the hood while these predictions are taking place.

Spreadsheets-are-all-you-need only supports 10 tokens of input. That’s tiny compared to the 128,000-token context window of GPT-4 Turbo, but it’s enough to demonstrate some basic principles of how LLMs work, which Anand has detailed in a series of free tutorial videos 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 started the project so he could satisfy his own curiosity and understand the Transformer in detail. “Modern AI is so different from the AI I learned when I was getting my CS degree that I felt I needed to go back to the fundamentals to truly have a mental model for how it worked.”

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

“I walked away from Karpathy’s videos realizing GPT is mostly just a big computational graph (like a spreadsheet),” he says, “And [I] loved how Jeremy often uses spreadsheets in his course to make the material more approachable. After watching those two, it suddenly clicked that it might be possible to do the whole GPT-2 model in a spreadsheet.”

We asked: Did he have any difficulty implementing a LLM in a spreadsheet? “The actual algorithm for GPT2 is mostly a lot of math operations which is perfect for a spreadsheet,” he says. “In fact, the hardest piece is where the words are converted into numbers (a process called tokenization) because it’s text processing and the only part that isn’t math. It would have been easier to do that part in a traditional programming language than in a spreadsheet.”

When Anand needed assistance, he naturally got a little help from GPT-2’s descendant: “Notably ChatGPT itself was very helpful in the process in terms helping me solve thorny issues I would come across or understanding various stages of the algorithm, but it would also hallucinate so I had to double-check it a lot.”

GPT-2 rides again

This whole feat is possible because OpenAI released the neural network weights and source code for GPT-2 in November 2019. It’s particularly interesting to see that particular model baked into an educational spreadsheet because when it was announced in February 2019, OpenAI was afraid to release it—the company saw the potential that GPT-2 might be “used to generate deceptive, biased, or abusive language at scale.”

Still, the company released the full GPT-2 model (including weights files needed to run it locally) in November 2019, but the company’s next major model, GPT-3, which launched in 2020, has not received an open-weights release. A variation of GPT-3 later formed the basis for the initial version 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 unlike the full 1.5-billion-parameter version of GPT-2 clocks in at 124 million parameters. (Parameters are numerical values in AI models that store patterns learned from training data.) Compared to the 175 billion parameters in GPT-3 (and even larger models), it probably would not qualify as a “large” language model if released today. But in 2019, GPT-2 was considered state-of-the-art.

You can download the GPT-2-infused spreadsheet on GitHub, though be aware that it’s about 1.2GB. Because of its complexity, Anand said it can frequently lock up or crash Excel, especially on a Mac; he recommends running the sheet on Windows. “It is highly recommended to use the manual calculation mode in Excel and the Windows version of Excel (either on a Windows directory or via Parallels on a Mac),” he writes on his website.

And before you ask, Google Sheets is currently out of the question: “This project actually started on Google Sheets, but the full 124M model was too big and switched to Excel,” Anand writes. “I’m still exploring ways to make this work in Google Sheets, but it is unlikely to fit into a single file as it can with Excel.”

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Ars Technica – https://arstechnica.com/?p=2010453

Tags: ‘tooscarytechnology
Previous Post

Huawei, Xiaomi, and Geely’s new EVs have details leaked on Chinese government site

Next Post

NatGeo’s Photographer flips the lens to focus on visual storytellers

Oct. 3 – Ecology fines 35 plastic producers $416,000 for not using enough recycled plastic – Washington State Department of Ecology (.gov)

Ecology Takes Action: 35 Plastic Producers Fined $416,000 for Insufficient Use of Recycled Materials!

May 23, 2025
‘It was probably some kind of an ambush’: 17,000 years ago, a man died in a projectile weapon attack in what is now Italy – Live Science

‘It was probably some kind of an ambush’: 17,000 years ago, a man died in a projectile weapon attack in what is now Italy – Live Science

May 23, 2025
A polymicrobial perspective into the ecological role of Enterococcus faecalis in dental root canal infections – Nature

A polymicrobial perspective into the ecological role of Enterococcus faecalis in dental root canal infections – Nature

May 23, 2025
Trump’s attack on science is growing fiercer and more indiscriminate – The Economist

Trump’s attack on science is growing fiercer and more indiscriminate – The Economist

May 23, 2025
Fit & Fun to raise money for Special Olympics – Coastal Point

Fit & Fun to raise money for Special Olympics – Coastal Point

May 23, 2025
Who took ‘Napalm Girl’? World Press Photo ‘suspends’ attribution of historic Vietnam War image – CNN

Unraveling the Mystery: The Story Behind the Iconic ‘Napalm Girl’ Photograph

May 23, 2025
Javier Milei courts undeclared cash to dollarise Argentina’s economy – Financial Times

Javier Milei courts undeclared cash to dollarise Argentina’s economy – Financial Times

May 23, 2025
SRM Entertainment Announces $5 Million Private Placement – GlobeNewswire

SRM Entertainment Secures $5 Million Investment to Fuel Growth!

May 23, 2025
Seventy-eighth World Health Assembly – Daily update: 22 May 2025 – World Health Organization (WHO)

Highlights from the 78th World Health Assembly: Key Updates for May 22, 2025

May 23, 2025
US indicts Russian accused of running major global cybercrime ring – CNN

US Charges Russian National in Major Global Cybercrime Operation

May 23, 2025

Categories

Archives

May 2025
MTWTFSS
 1234
567891011
12131415161718
19202122232425
262728293031 
« Apr    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (633)
  • Economy (645)
  • Entertainment (21,558)
  • General (15,227)
  • Health (9,686)
  • Lifestyle (650)
  • News (22,149)
  • People (648)
  • Politics (653)
  • Science (15,869)
  • Sports (21,154)
  • Technology (15,634)
  • World (635)

Recent News

Oct. 3 – Ecology fines 35 plastic producers $416,000 for not using enough recycled plastic – Washington State Department of Ecology (.gov)

Ecology Takes Action: 35 Plastic Producers Fined $416,000 for Insufficient Use of Recycled Materials!

May 23, 2025
‘It was probably some kind of an ambush’: 17,000 years ago, a man died in a projectile weapon attack in what is now Italy – Live Science

‘It was probably some kind of an ambush’: 17,000 years ago, a man died in a projectile weapon attack in what is now Italy – Live Science

May 23, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version