BillionaireClubCollc
  • News
  • Notifications
  • Shop
  • Cart
  • Media
  • Advertise with Us
  • Profile
  • Groups
  • Games
  • My Story
  • Chat
  • Contact Us
home shop notifications more
Signin
  •  Profile
  •  Sign Out
Skip to content

Billionaire Club Co LLC

Believe It and You Will Achieve It

Primary Menu
  • Home
  • Politics
  • TSR
  • Anime
  • Michael Jordan vs.Lebron James
  • Crypto
  • Soccer
  • Dating
  • Airplanes
  • Forex
  • Tax
  • New Movies Coming Soon
  • Games
  • CRYPTO INSURANCE
  • Sport
  • MEMES
  • K-POP
  • AI
  • The Bahamas
  • Digital NoMad
  • Joke of the Day
  • RapVerse
  • Stocks
  • SPORTS BETTING
  • Glamour
  • Beauty
  • Travel
  • Celebrity Net Worth
  • TMZ
  • Lotto
  • COVD-19
  • Fitness
  • The Bible is REAL
  • OutDoor Activity
  • Lifestyle
  • Culture
  • Boxing
  • Food
  • LGBTQ
  • Poetry
  • Music
  • Misc
  • Open Source
  • NASA
  • Science
  • Natural & Holstict Med
  • Gardening
  • DYI
  • History
  • Art
  • Education
  • Pets
  • Aliens
  • Astrology
  • Farming and LiveStock
  • LAW
  • Fast & Furious
  • Fishing & Hunting
  • Health
  • Credit Repair
  • Grants
  • All things legal
  • Reality TV
  • Africa Today
  • China Today
  • "DUMB SHIT.."
  • CRYPTO INSURANCE

How to Run LLMs Using LM Studio in Linux (for Beginners)

LM Studio is a popular GUI application that allows users with basic computer knowledge to easily download, install, and run large language models (LLMs) locally on their Linux machines.
\
Popular LLM models such as Llama 3, Phi3, Falcon, Mistral, StarCoder, Gemma, and many more can be easily installed, set up, and accessed using the LM Studio chat interfaces.
\
This way, you won't be stuck with proprietary cloud-based AI like OpenAI's ChatGPT and can easily run your own LLM privately offline without paying any extra money for the full features.
\
In this article, I'll show you how to install LM Studio on Linux, set it up, and use the GPT-3 model.
System Requirements
Running LLM models locally on a PC requires meeting certain minimum requirements to ensure a decent experience. Make sure you have at least…
\

An NVIDIA or AMD graphics card with at least 8 GB of VRAM.
20 GB of free storage (SSD would be a better option).
16 GB of DDR4 RAM.

Installing LM Studio on Linux
First, visit the official LM Studio website, and download the LM Studio AppImage by clicking "Download LM Studio for Linux."
\

\
Once the download is complete, open your terminal, navigate to the downloads directory, and assign executable permissions to the LM Studio AppImage.
\
$ cd ~/Downloads/
$ chmod u+x LM_Studio-*.AppImage

\

\
Next, unpack the contents of the AppImage using the command below, which will create a new directory named "squashfs-root."
\
$ ./LM_Studio-*.AppImage --appimage-extract

\

\
Now, navigate to the extracted "squashfs-root" directory and assign appropriate permissions and ownership to the "chrome-sandbox" file.
\
$ cd squashfs-root/
$ sudo chown root:root chrome-sandbox
$ sudo chmod 4755 chrome-sandbox

\

\
Finally, run the LM Studio application within the same directory using this command:
\
$ ./lm-studio

\

\
That's it! You can now search, download, and access your favorite open-source LLMs with LM Studio. For instructions on setting up and accessing GPT-3, see the next section.
Accessing the GPT-3 Model in LM Studio
To access the GPT-3 model, you need to first download it. To achieve this, click on the search icon in the left panel, type "GPT-3" as the model name, and select the appropriate model size based on your system specifications.
\

\
The download process will begin, and you can track the progress by clicking on the bottom panel.
\

\
Once the download is complete, click the chat icon on the left panel, select the GPT-3 model from the top dropdown, and start chatting with the GPT-3 model by typing your message in the bottom input field.
\

\
That's it! You can now ask any question locally on the GPT-3 model. The response time could vary depending on your system specifications. For example, I've got a decent GPU with 8 GB of VRAM and 16 GB of DDR4 RAM, for which it took around 45 seconds to generate 150–200 words.
\
If the response is too poor in your case, you can try using a different LLM model. I would recommend using the Meta Llama 3 and making sure to choose the smallest size for the model to start with.
Wrap Up
In this article, you’ve learned how to use LM Studio to download and access open-source LLM models like GPT-3 and Llama 3 on your local PC. Now, before you transition from cloud services to using your PC for LLMs, keep in mind that it uses a GPU, which consumes electricity and affects GPU lifespan.
\
So, if you're an AI enthusiast and privacy advocate, it won't bother you, but if you're concerned about electricity bills or have a less powerful PC, unfortunately, cloud-based AI may be your only option.

Welcome to Billionaire Club Co LLC, your gateway to a brand-new social media experience! Sign up today and dive into over 10,000 fresh daily articles and videos curated just for your enjoyment. Enjoy the ad free experience, unlimited content interactions, and get that coveted blue check verification—all for just $1 a month!

Source link

Share
What's your thought on the article, write a comment
0 Comments
×

Sign In to perform this Activity

Sign in
×

Account Frozen

Your account is frozen. You can still view content but cannot interact with it.

Please go to your settings to update your account status.

Open Profile Settings

Ads

  • Original Billionaire128 Old School Bucket Hat

    $ 28.50
  • Original Billionaire128 Cuffed Beanie

    $ 19.50
  • Billionaire128 Liquid Gold Bean Bag Chair COVER

    $ 70.00
  • News Social

    • Facebook
    • Twitter
    • Facebook
    • Twitter
    Copyright © 2024 Billionaire Club Co LLC. All rights reserved