Skip to content

Both.org

News, Opinion, Tutorials, and Community for Linux Users and SysAdmins

Primary Menu
  • About Us
  • Computers 101
    • Hardware 101
    • Operating Systems 101
  • End of 10 Events
    • Wake Forest, NC, — 2025-09-20
  • Linux
    • Why I use Linux
    • The real reason we use Linux
  • My Linux Books
    • systemd for Linux SysAdmins
    • Using and Administering Linux – Zero to SysAdmin: 2nd Edition
    • The Linux Philosophy for SysAdmins
    • Linux for Small Business Owners
    • Errata
      • Errata for The Linux Philosophy for SysAdmins
      • Errata for Using and Administering Linux — 1st Edition
      • Errata for Using and Administering Linux — 2nd Edition
  • Open Source Resources
    • What is Open Source?
    • What is Linux?
    • What is Open Source Software?
    • The Open Source Way
  • Write for us
    • Submission and Style guide
    • Advertising statement
  • Downloads
  • Home
  • Mozilla Unveils Llamafile: A Game-Changer for Large Language Models in AI
  • AI
  • Linux
  • Open Source

Mozilla Unveils Llamafile: A Game-Changer for Large Language Models in AI

Mozilla, a pioneer in open-source software, has once again made a significant contribution to artificial intelligence by introducing the Llamafile. This innovative technology is designed to simplify the deployment and utilization of large language models (LLMs), marking a significant leap forward in AI.
Don Watkins March 16, 2024 3 minutes read
api.openverse-02

The world is burgeoning with large language models. Everyone is buzzing about artificial intelligence and how it can change the landscape of many fields of endeavor including education, medicine and software development There is lots of pushback from folks who are skeptical of the accuracy and the source of the data that has been fed into the large language models that are in the backplane of these systems.

What is a large language model (LLM)? Briefly, they are a type of artificial intelligence (AI) that excels at processing and understanding large amounts of text data. They are essentially complex algorithms trained on massive datasets of text and code, enabling them to perform various tasks related to natural language processing. Can we trust the information they are sending back to us from questions that we ask them? These questions are called text prompts. I started experimenting with ChatGPT in December of 2022. Since then, I have used other proprietary systems like Google’s Gemini and Microsoft’s Copilot. These systems remind me of the once popular movie, “2001: A Space Odyssey,” where a computer named HAL tells his human operator, “Dave, that is something I cannot allow to happen.” Now, we’re at that moment where art and life intersect. We have machines which we talk to with text prompts, and they generate code, complete essays, create content for books, and even supply images that trigger our imagination. This all seems Orwellian, and it has prompted a lot of skepticism and alarm among academics, developers, and the general public, who are concerned that our privacy is being compromised.

Recently I learned of a large language model that I could download and install on my Linux computer to let me explore this exciting new world of LLMs without compromising my privacy. It is called Llamafile, and it’s being developed by Mozilla, which has long been a respected member of the open-source community. Llamafile is a single executable file that runs locally on most computers. Best of all, it is open source. Llamafile currently has nearly thirty developers led by Justine Tunney. It has an Apache 2.0 license. The project aims to make large language models more accessible to developers and end users.

To use Llamafile, you need to download it to your computer. Be sure to follow the Quickstart Guide highlighted in the project’s Github repository.

Open your terminal and navigate to the directory where you downloaded the example Llamafile. Make the file executable by changing the permissions. 

$  chmod +x llava-v1.5-7b-q4.llamafile

Once the file has become executable, you can launch it in the terminal. 

$ ./llava-v1.5-7b-q4.llamafile -ngl 9999

At this point, your browser should open automatically to https://127.0.0.1:8080 or https://locahost:8080, and you can interact with the LLM in its chat interface. 

Now that the Llamafile is active, I can ask it some questions to see if this large language model can supply me with the correct code to create a square using the ‘turtle’ module in Python. Here is the result.

Here’s another great example of using a text prompt to generate in this case a thank you note to my wife for preparing a wonderful meal. No home should be without AI.

Tags: AI Artificial Intelligence Llamafile

Post navigation

Previous: Using ‘if’ in a Bash script
Next: How I configured a DHCP server for my personal lab network

Related Stories

connections_wires_sysadmin_cable
  • Linux
  • Networking

Network Interface Card (NIC) name assignments

David Both April 17, 2026
browser_web_internet_website
  • Open Source
  • Web Browser

Brave: The Open-Source Alternative You Should Be Using

Don Watkins April 13, 2026
A Black femail working on a computer in an office.
  • Linux
  • Moving to Linux
  • Open Source
  • Opinion

Why choose Linux?

Don Watkins April 10, 2026

Random Quote

Computers are easy; People are hard.

— Bridget Kromhout

Why I’ve Never Used Windows

On February 12 I gave a presentation at the Triangle Linux Users Group (TriLUG) about why I use Linux and why I’ve never used Windows.

Here’s the link to the video: https://www.youtube.com/live/uCK_haOXPFM 

David Both ATO Interview

Last October at All Things Open (ATO) I was interviewed by Jason Hibbits of We Love Open Source. It’s posted in the article “Why today’s AI isn’t intelligent (yet)“.

Technically We Write — Our Partner Site

Our partner site, Technically We Write, has published a number of articles from several contributors to Both.org. Check them out.

Technically We Write is a community of technical writers, technical editors, copyeditors, web content writers, and all other roles in technical communication.

Subscribe to Both.org

To comment on articles, you must have an account.

Send your desired user ID, first and last name, and an email address for login (this must be the same email address used to register) to subscribe@both.org with “Subscribe” as the subject line.

You’ll receive a confirmation of your subscription with your initial password as soon as we are able to process it.

Administration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

License and AI Statements

Both.org aims to publish everything under a Creative Commons Attribution ShareAlike license. Some items may be published under a different license. You are responsible to verify permissions before reusing content from this website.

The opinions expressed are those of the individual authors, not Both.org.

You may not use this content to train AI.

 

Advertising Statement

Both.org does not sell advertising on this website.


Advertising may keep most websites running—but at Both.org, we’re committed to keeping our corner of the web ad-free. Both.org does not sell advertising on the website. Nor do we offer sponsored articles at this time. We’ll update this page if our position on sponsorships changes.

We want to be open about how the website is funded. Both.org is supported entirely by David Both and a few other dedicated individuals.

 

 

Copyright © All rights reserved. | MoreNews by AF themes.