I’ve tried coding and every one I’ve tried fails unless really, really basic small functions like what you learn as a newbie compared to say 4o mini that can spit out more sensible stuff that works.

I’ve tried explanations and they just regurgitate sentences that can be irrelevant, wrong, or get stuck in a loop.

So. what can I actually use a small LLM for? Which ones? I ask because I have an old laptop and the GPU can’t really handle anything above 4B in a timely manner. 8B is about 1 t/s!

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    27 minutes ago

    It’ll work for quick bash scripts and one-off things like that. But there’s not usually enough context window unless you’re using a 24G GPU or such.

  • ragingHungryPanda@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    I’ve run a few models that I could on my GPU. I don’t think the smaller models are really good enough. They can do stuff, sure, but to get anything out of it, I think you need the larger models.

    They can be used for basic things, though. There are coder specific models you can look at. Deepseek and qwen coder are some popular ones

    • scottrepreneur@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Been coming to similar conclusions with some local adventures. It’s decent but not as able to process larger contexts.

  • some_guy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 hours ago

    I installed Llama. I’ve not found any use for it. I mean, I’ve asked it for a recipe because recipe websites suck, but that’s about it.

  • MTK@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 hours ago

    Have you tried RAG? I believe that they are actually pretty good for searching and compiling content from RAG.

    So in theory you could have it connect to all of you local documents and use it for quick questions. Or maybe connected to your signal/whatsapp/sms chat history to ask questions about past conversations

      • MTK@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        5 hours ago

        RAG is basically like telling an LLM “look here for more info before you answer” so it can check out local documents to give an answer that is more relevant to you.

        You just search “open web ui rag” and find plenty kf explanations and tutorials

        • iii@mander.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          60 minutes ago

          I think RAG will be surpassed by LLMs in a loop with tool calling (aka agents), with search being one of the tools.

  • Mordikan@kbin.earth
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    7 hours ago

    I’ve used smollm2:135m for projects in DBeaver building larger queries. The box it runs on is Intel HD graphics with an old Ryzen processor. Doesn’t seem to really stress the CPU.

    UPDATE: I apologize to the downvoter for not masochistically wanting to build a 1000 line bulk insert statement by hand.

  • HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    28
    ·
    edit-2
    10 hours ago

    Sorry, I am just gonne dump you some links from my bookmarks that were related and interesting to read, cause I am traveling and have to get up in a minute, but I’ve been interested in this topic for a while. All of the links discuss at least some usecases. For some reason microsoft is really into tiny models and made big breakthroughs there.

    https://reddit.com/r/LocalLLaMA/comments/1cdrw7p/what_are_the_potential_uses_of_small_less_than_3b/

    https://github.com/microsoft/BitNet

    https://www.microsoft.com/en-us/research/blog/phi-2-the-surprising-power-of-small-language-models/

    https://news.microsoft.com/source/features/ai/the-phi-3-small-language-models-with-big-potential/

    https://techcommunity.microsoft.com/blog/aiplatformblog/introducing-phi-4-microsoft’s-newest-small-language-model-specializing-in-comple/4357090

  • entwine413@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    10 hours ago

    I’ve integrated mine into Home Assistant, which makes it easier to use their voice commands.

    I haven’t done a ton with it yet besides set it up, though, since I’m still getting proxmox configured on my gaming rig.

    • Passerby6497@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      What are you using for voice integration? I really don’t want to buy and assemble their solution if I don’t have to

      • entwine413@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        I just use the companion app for now. But I am designing a HAL9000 system for my home.

  • CrayonDevourer@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    9 hours ago

    Currently I’ve been using a local AI (a couple different kinds) to first - take the audio from a Twitch stream; so that I have context about the conversation, convert it to text, and then use a second AI; an LLM fed the first AIs translation + twitch chat and store ‘facts’ about specific users so that they can be referenced quickly for a streamer who has ADHD in order to be more personable.

    That way, the guy can ask User X how their mothers surgery went. Or he can remember that User K has a birthday coming up. Or remember that User G’s son just got a PS5 for Christmas, and wants a specific game.

    It allows him to be more personable because he has issues remembering details about his users. It’s still kind of a big alpha test at the moment, because we don’t know the best way to display the ‘data’, but it functions as an aid.

    • shnizmuffin@lemmy.inbutts.lol
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      3
      ·
      7 hours ago

      Hey, you’re treating that data with the respect it demands, right? And you definitely collected consent from those chat participants before you Hoover’d up their [re-reads example] extremely Personal Identification Information AND Personal Health Information, right? Because if you didn’t, you’re in violation of a bunch of laws and the Twitch TOS.

      • CrayonDevourer@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        2 hours ago

        If I say my name is Doo doo head, in a public park, and someone happens to overhear it - they can do with that information whatever they want. Same thing. If you wanna spew your personal life on Twitch, there are bots that listen to all of the channels everywhere on twitch. They aren’t violating any laws, or Twitch TOS. So, *buzzer* WRONG.

        Right now, the same thing is being done to you on Lemmy. And Reddit. And Facebook. And everywhere else.

        Look at a bot called “FrostyTools” for Twitch. Reads Twitch chat, Uses an AI to provide summaries of chat every 30 minutes or so. If that’s not violating TOS, then neither am I. And thousands upon thousands of people use FrostyTools.

        I have the consent of the streamer, I have the consent of Twitch (through their developer API), and upon using Twitch, you give the right to them to collect, distribute, and use that data at their whim.

      • CrayonDevourer@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 hours ago

        Yes. The small LLM isn’t retrieving data, it’s just understanding context of text enough to know what “Facts” need to be written to a file. I’m using the publicly released Deepseek models from a couple of months ago.

    • Hadowenkiroast@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      8 hours ago

      sounds like salesforce for a twitch setting. cool use case, must make fun moments when he mentions such things.

        • CrayonDevourer@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          7 hours ago

          That hasn’t been a problem at all for the 200+ users it’s tracking so far for about 4 months.

          I don’t know a human that could ever keep up with this kind of thing. People just think he’s super personable, but in reality he’s not. He’s just got a really cool tool to use.

          He’s managed some really good numbers because being that personal with people brings them back and keeps them chatting. He’ll be pushing for partner after streaming for only a year and he’s just some guy I found playing Wild Hearts with 0 viewers one day… :P

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

    I think that’s a size where it’s a bit more than a good autocomplete. Could be part of a chain for retrieval augmented generation. Maybe some specific tasks. And there are small machine learning models that can do translation or sentiment analysis, though I don’t think those are your regular LLM chatbots… And well, you can ask basic questions and write dialogue. Something like “What is an Alpaca?” will work. But they don’t have much knowledge under 8B parameters and they regularly struggle to apply their knowledge to a given task at smaller sizes. At least that’s my experience. They’ve become way better at smaller sizes during the last year or so. But they’re very limited.

    I’m not sure what you intend to do. If you have some specific thing you’d like an LLM to do, you need to pick the correct one. If you don’t have any use-case… just run an arbitrary one and tinker around?