this post was submitted on 25 Apr 2024
53 points (100.0% liked)
Technology
37724 readers
481 users here now
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
Templates in sections are somewhere where it shines. I set up a template for giving information about a song -- tempo, scales used and applicable overlapping ones, and other misc stuff. It's really nice for just wanting to get going, it's yet to be inaccurate. It's quite nice, having a fast database that's mostly accurate. I do scrutinize it, but honestly even if it were to be wrong one day, it's just music and the scale being "wrong" can only be so wrong anyhow.
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.
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 ^^
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.