Im using Ollama on my server with the WebUI. It has no GPU so its not quick to reply but not too slow either.

Im thinking about removing the VM as i just dont use it, are there any good uses or integrations into other apps that might convince me to keep it?

  • RandomLegend [He/Him]@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    34
    arrow-down
    1
    ·
    5 months ago

    It’s a tool like any other. If you don’t have any usecase for it, just don’t use it.

    I use it to summarize release notes and generate some minor descriptions for generic stuff in my TTRPG campaigns.

    • DrinkMonkey@lemmy.ca
      link
      fedilink
      English
      arrow-up
      14
      ·
      5 months ago

      generate some minor descriptions for generic stuff in my TTRPG campaigns.

      Need a quick 200 word description of the interior of an apothecary? Or a band of marauding orcs? It’s been a huge time saver for me.

  • yesman@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    5 months ago

    Think of LLMs like a stupid office worker. You wouldn’t rely on them to make critical decisions, but they’re valuable for tedious stuff.

    For example, my calendar changed the way to enter new events breaking my workflow. Now I just type out a skeletal schedule and have LLM convert that into a .csv that I import.

    I’m thinking of Ripping my CD collection again. I’m researching a way to use a LLM to tidy up the metadata.

    I had a folder full of random stuff I’ve saved for years. Had a LLM organize and categorize it for me. I had to tweak the prompt enough that this was a medium difficulty task, but still way easier than doing it manually.

    • Domi@lemmy.secnd.me
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      I’m thinking of Ripping my CD collection again. I’m researching a way to use a LLM to tidy up the metadata.

      If you ever figure out how to use AI to determine the genre(s) of a song, let me know. Have been looking for something like that for quite a while.

    • miau@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Can you share some info on how you did that folder organization? Did you provide the AI with a list of files?

      • 1rre@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        Yeah even gpt4o couldn’t keep track of encounters, run battles etc. in my case…

        I think if you wanted to do it mechanically consistently you’d probably need to integrate it into a vtt where you give it context and potentially fine-tune it to give quest related summaries & gming rather than just “stuff”

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

          I don’t know how tech savvy you are, but I’m assuming since your on lemmy it’s pretty good :)

          The way we’ve solved this sort of problem in the office is by using the LLM’s JSON response, and a prompt that essentially keeps a set of JSON objects alongside the actual chat response.

          In the DND example, this would be a set character sheets that get returned every response but only changed when the narrative changes them. More expensive, and needing a larger context window, but reasonably effective.

      • RachelRodent@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        edit-2
        5 months ago

        the answer is very spesific to ur pc and amount of vram you have availşble to you. But anything lama 3 even 8b models finetuned to DM or write stories should theoritically work. The other reply that reccomends connecting to another program to make sure rules are consistent sounds like a great idea whşch I have not tried. I use silly tavern as the ui whşch has lots of options and shit to mske thşngs wkrk well. I would reccomend goşng şnto the “KoboldAI” discord and askşng şn the support sectşon folk there are very helpfull sorry for not beşng able to gşve a strsight answer Also boost the context size way up that shit makes dşfference I habe like 16k or sumthin. good luck!

        • RandomLegend [He/Him]@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          5 months ago

          What on earth is going on with your keyboad?!

          Besides that, i have 20GB of VRAM and 64GB or RAM. I can run the mixtral 8x7b model relatively usable. Currently i use oobabooga the most.

          • RachelRodent@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            edit-2
            5 months ago

            I type very poorly on my phone. with that much vram ypu csn get somethşng lşke a 70b model defineyly ask around in the koboldai community that shşt’s crszy

  • pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 months ago

    I’ve used it to summarize long articles, news posts, or videos when the title/thumbnail looks interesting but I’m not sure if it’s worth the 10+ minutes to read/watch.
    There are other solutions, like a dedicated summarizer, but I’ve investigated into them and they only extract exact quotes from the original text, an LLM can also paraphrase making the summary a bit more informative IMO.
    (For example, one article mentioned a quote from an expert talking about a company, the summarizer only extracted the quote and the flow of the summary made me believe the company said it, but the LLM properly stated the quote came from the expert)

    This project https://github.com/goniszewski/grimoire has in it’s road map a way to connect to an AI to summarize the bookmarks you make and generate at 3 tags.
    I’ve seen the code, I don’t remember what the exact status of the integration.


    Also I have a few models dedicated for coding, so I’ve also asked a few pieces of code and configurations to just get started on a project, nothing too complicated.

  • thirdBreakfast@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months ago

    I use the Continue VS Code plugin with Ollama to use a couple of different models (deepseek-coder-v2 & starcoder2) to recreate a local only Github Copilot type experience for coding. This is on an M1 Apple Silicon though. For autocomplete the generation needs to be pretty brisk - I’m not sure how that would go in a VM without a GPU.

      • thirdBreakfast@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago
        starcoder2:latest       	f67ae0f64584	1.7 GB	3 days ago 	
        phi3:latest             	d184c916657e	2.2 GB	3 weeks ago	
        deepseek-coder-v2:latest	8577f96d693e	8.9 GB	3 weeks ago	
        llama3:8b-instruct-q8_0 	1b8e49cece7f	8.5 GB	3 weeks ago	
        dolphin-mistral:latest  	5dc8c5a2be65	4.1 GB	3 weeks ago	
        codeqwen:latest         	df352abf55b1	4.2 GB	3 weeks ago	
        llama3:latest           	365c0bd3c000	4.7 GB	4 weeks ago
        

        I mostly use starcoder2 with Continue for code autocomplete, the big deepseek coder is a bit slow (I can feel it thinking), but it and the regular llama3 are good for chatbot type programming questions.

        I don’t really have anything to compare the M1 performance to. I guess the 8GB models output text a little slower than the web versions of the same models, and the 4GB ones about the same. Using ollama in the terminal, there’s sometimes a 0.5-2 second pause before it starts outputting. Not with phi3 though - it’s surprisingly snappy for the quality of answers.

  • bizarroland@fedia.io
    link
    fedilink
    arrow-up
    4
    ·
    5 months ago

    I have a 4070 sitting around collecting dust that I got from a trade, I’ve been thinking about setting it up with whispr and TTS and having a way to talk to my house.

    I have a couple of smart home integrations, mostly air conditioning, light switches, security, and doors.

    What I would like would be to have a few speakers on the walls that can talk to my server where I can say something like, hey computer, turn on the lights in the dining room and the lights in the dining room would turn on without transmitting that information to Google or Amazon.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      I am really curious if you can get the traditional smart functionality along with a LLM. Maybe have some sort of keyword the prompts the AI. You also could write a custom generated system prompt that includes the weather, time and any other information

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    5 months ago

    Roleplay (text adventures), a (stupid but occasionally funny) dungeon master, translation and help with creativity. These are the use cases I found. If you don’t need that, you might get rid of it.

  • andreasA
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    I use local AI for coding (more recently) and ML Photo storage facial recognition and security camera object detection (been using the later 2 for years now actually, don’t want that kind of info out on someone else’s cloud training on my images)

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    5 months ago

    Wanting answers to things you don’t want google to know that you don’t know.

      • umami_wasabi@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        IMO LLMs are ok to get a head start of searching. Like got a vague idea of something but don’t know the exact keywords. LLMs can help and use the output on whatever search engine you like. This saves a lots of time tinkering the right keywords.

        • dwindling7373@feddit.it
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          5 months ago

          Sure, or you could send an email to the leading international institution on the matter to get a very accurate answer!

          Is it the most reasonable course of action? No. Is it more reasonable than waste a gazillion Watt so you can maybe get some better keywords to then paste in a search engine? Yes.

          • kitnaht@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 months ago

            Once the model is trained, the electricity that it uses is trivial. LLMs can run on a local GPU. So you’re completely wrong.

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

                Those were statements. Statements of fact.

                Once the models are already trained, it takes almost no power to use them.

                Yes, TRAINING the models uses an immense amount of power - but utilizing the training datasets locally consumes almost nothing. I can run the llama 7b set on a 15w Raspberry Pi for example. Just leaving my PC on uses 400w. This is all local – Nothing entering or leaving the Pi. No communication to an external server, nothing being done on anybody else’s server or any AWS instances, etc.

                • dwindling7373@feddit.it
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  5 months ago

                  Notwithstanding that running an LLM is still more expensive than a search engine, in any reasoning around running an LLM you must include the training and, most of all, the incentive as a consumer you are giving to further training.

                  It’s like arguing that cooking a steak has negligible environmental impact. The point is the whole industry meant to provide you the steak in the first place.

                • dwindling7373@feddit.it
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  5 months ago

                  Notwithstanding that running an LLM is still more expensive than a search engine, in any reasoning around running an LLM you must include the training and, most of all, the incentive as a consumer you are giving to further training.

                  It’s like arguing that cooking a steak has negligible environmental impact. The point is the whole industry meant to provide you the steak in the first place.

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

      But they run locally on the phone, if I’m not completely mistaken. So no use for a server.

      Or do they offer this option? I think they explicitly advertise no internet access.

  • minnix@lemux.minnix.dev
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    4
    ·
    5 months ago

    Ollama without a GPU is pretty useless unless you’re using with Apple silicon. I’d just get rid of it until you get a GPU.