this post was submitted on 25 Apr 2024
53 points (100.0% liked)

Technology

37353 readers
455 users here now

Rumors, happenings, and innovations in the technology sphere. If it's technological news or discussion of technology, it probably belongs here.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 2 months ago (4 children)

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.

[–] [email protected] 1 points 2 months ago (2 children)

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.

[–] [email protected] 2 points 2 months ago (1 children)

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 ^^

[–] [email protected] 2 points 2 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.

load more comments (1 replies)