I really want to use AI like llama, ChatGTP, midjourney etc. for something productive. But over the last year the only thing I found use for it was to propose places to go as a family on our Hokaido Japan journey. There were great proposals for places to go.

But perhaps you guys have some great use cases for AI in your life?

  • hollyberries@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    8 months ago

    I use it to generate code documentation because I’m incapable of documenting things without sounding like a condescending ass. Paste in a function, tell it to produce docstrings and doctests, then edit the hell out of it to sound more human and use actual data in the tests.

    Its also great for readmes. I have a template that I follow for that and only work on one section at a time.

    • bobburger@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      I use it for exactly the same thing.

      I used to spend hours agonizing over documenting things because I couldn’t get the tone right, or in over explained, or some other stupid shit.

      Now I give my llamafile the code, it gives me a reasonable set of documentation, I edit the documentation because the LLM isn’t perfect, and I’m done in 10 minutes.

      • hollyberries@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        Over-explaining is my biggest issue. I’m entirely self taught and the trash quality of certain softwares with non-descriptive variable and function names sort of steered me towards clearly naming things (sometimes verbosely). That has the unfortunate side effect of repetition when documenting and it comes across as sarcastic or condescending when proofreading.

        Its far easier to have a machine do it than to second-guess every sentence.

        You mentioned a llamafile, is that offline? I’m using GPT-4 at the moment because my partner has a subscription. If so, I maaaay have to check it out ^^

        • bobburger@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          Llamafile runs entirely on your machine. The largest one I can run locally is Mistral-7B and Wizardcoder 13B. They seem to be on par with chatgpt-3, but that’s okay for my purposes.