how can I remove an LLM from my Ubuntu computer? - eviltoast

SOLVED by joneskind

I have Ubuntu 20.04.1, I’ve installed ollama and a couple llms, it’s amazing, but tinyllama is gibberish and I’ve just realized I don’t know how to remove the llms from my computer or where they’re stored, or anything about them.

Mistral is very impressive btw

  • joneskind@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    6 months ago

    In a terminal:

    ollama list => list of installed models

    ollama rm <name_of_llm> to delete the model

    mistral and mixtral moe are great indeed. The v3 is impressive.

    • Varyk@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      edit-2
      6 months ago

      You are the best. Solid, concise answer. Thank you, worked like a charm.

      And now that you’ve already solved my problem, I remembered to check the manual and there are the commands you’ve given me.

      Thank you very much, I will try to learn my lesson. One day at a time!

      • glitchy_nobody@leminal.space
        link
        fedilink
        arrow-up
        8
        ·
        6 months ago

        Just as a general piece of advice, the --help flag will usually list out flags that can be used with a command.

        Also the tldr package is available for a lot of distros. Might be worth seeing if yours has it. It’s like --help but a little more human readable.

        • Cris@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          6 months ago

          Not op, but this is very helpful to me too, when I have a laptop again I’ll have to check out tldr!

          I really appreciate more knowledgeable folks like yourself taking time to help show the ropes to others, it makes a big difference