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
    8
    ·
    18 hours 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.

    • catty@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      Yeah shell scripts are one of those things that you never remember how to do something and have to always look it up!

    • smayonak@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      Snippets are a great use.

      I use StableCode on my phone as a programming tutor for learning Python. It is outstanding in both speed and in accuracy for this task. I have it generate definitions which I copy and paste into Anki the flashcard app. Whenever I’m on a bus or airplane I just start studying. Wish that it could also quiz me interactively.

      • catty@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 hours ago

        Please be very careful. The python code it’ll spit out will most likely be outdated, not work as well as it should (the code isn’t “thought out” as if a human did it.

        If you want to learn, dive it, set yourself tasks, get stuck, and f around.