I’m looking for a resource efficient AI model for text generation (math, coding etc.) that will work with LocalAI. Which model should I use? I don’t want it to use more than 1-3 GB RAM. I’ll run it on a vps to use with Nextcloud.

Edit: I’m use Mistral AI and Groq.com instead of selfhosting the models. They both have generous free plan.

  • leisesprecher@feddit.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 month ago

    None. There is no model that can output anything even remotely usable on that tiny amount of RAM and certainly not using the few CPU cycles your vps has to offer.

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 month ago

      Correct answer. There is no general purpose AI model that can fit ino 1GB. These small models exist, but they do very specific small tasks. Sentiment analysis, object detection, word embeddings for vector databases…

      For coding, answering questions and generating text, you’d need like 6-8GB minimum. For maths way more than that and they’ll still be throwing dice instead of giving correct answers.

      • voracitude@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        1 month ago

        Hello I would like to run a neural network to play Cyberpunk 2077 at max settings, only catch is my rig is a month old potato, my monitor is a cracked windshield I ripped off the wreck of an old Pontiac at the local junkyard, the night attendant feels bad for me so he lets me scavenge sometimes, plz help