No Stupid Questions
No such thing. Ask away!
!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules (interactive)
Rule 1- All posts must be legitimate questions. All post titles must include a question.
All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.
Rule 2- Your question subject cannot be illegal or NSFW material.
Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.
Rule 3- Do not seek mental, medical and professional help here.
Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.
Rule 4- No self promotion or upvote-farming of any kind.
That's it.
Rule 5- No baiting or sealioning or promoting an agenda.
Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.
Rule 6- Regarding META posts and joke questions.
Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.
On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.
If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.
Rule 7- You can't intentionally annoy, mock, or harass other members.
If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.
Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.
Rule 8- All comments should try to stay relevant to their parent content.
Rule 9- Reposts from other platforms are not allowed.
Let everyone have their own content.
Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.
Credits
Our breathtaking icon was bestowed upon us by @Cevilia!
The greatest banner of all time: by @TheOneWithTheHair!
view the rest of the comments
An LLM reads the previous prompts and replies, plus any base prompts. This is considered the context window. Don't ask me why its not infinite.
The machine will then generate text following the previous text that continues the spirit and intent of the previous text, based on other texts previously digested into weights.
Its the same thing as your phones autocomplete but with a few gigabytes of weights instead of a few kilobytes.
If the data its working with is larger than the context, it will lose it. Theres a chance it'll halucinate anyway because the text generator later in the text is non-deterministic. Say you're working with insurance data. Maybe your data is familiar enough to data it previously injested data. So now it starts using wrong data, but it "feels" right as far as the LLM is concerned, because its a text generator, not a truth checker.
You can ask it to look again but its just generating fresh tokens while the context gets more polluted.
Just start looking at the volumes of non-trivial psuedo-information it generates and just try to verify some of the facts it states about your data.
It’s fundamentally not the same thing as autocomplete. Give autocomplete all the data an LLM has, every gig, every terabyte if it, and it still won’t be an LLM. Autocomplete lacks the semantic meaning layer as well as some other parts. People say it’s nothing but autocomplete from a misunderstanding of what a reward function does in backpropagation training (saying “the reward function is to predict the next word” is not even close to the equivalent of “it’s doing the same thing as autocomplete”)
I’m writing this short reply with hopes that when I have more time in the next two days or so I’ll come back with a more complete explanation, (including why context windows have to be limited).
Disclaimer: : All of my LLM experience is with local models in Ollama on extremely modest hardware (an old laptop with NVidia graphics) , so I can't speak for the technical reasons the context window isn't infinite or at least larger on the big player's models. My understanding is that the context window is basically its short term memory. In humans, short term memory is also fairly limited in capacity. But unlike humans, the LLM can't really see (or hold) the big picture in its mind.
But yeah, all you said is correct. Expanding on that, if you try to get it to generate something long-form, such as a novel, it's basically just generating infinite chapters using the previous chapter (or as much of the history fits into its context window) as reference for the next. This means, at minimum, it's going to be full of plot holes and will never reach a conclusion unless explicitly directed to wrap things up. And, again, given the limited context window, the ending will be full of plot holes and essentially based only on the previous chapter or two.
It's funny because I recently found an old backup drive from high school with some half-written Jurassic Park fan fiction on it, so I tasked an LLM with fleshing it out, mostly for shits and giggles. The result is pure slop that seems like it's building to something and ultimately goes nowhere. The other funny thing is that it reads almost exactly like a season of Camp Cretaceous / Chaos Theory (the animated kids JP series) and I now fully believe those are also LLM-generated.
You can improve the novel writing by using agents. First you generate just an outline with the plot points to every chapter. Then you chop that up and feed it to several agents to flesh out individual chapters. Finally the generated chapters are verified against the outline and overall plot. If that doesn't fit, the agents are tasked with a rewrite. Repeat that until you have something serviceable.
As you point out, there exists plenty of bad writing in TV series. These often have a number of different authors, who don't necessarily know the other episodes very well.
I will say that while most of these models are non-deterministic their training data was very similar so if you did something like this I can guarantee you if you churned out enough you would start to see the common threads.
Sure. Lots of fiction, especially TV stick to well established tropes, regardless of a human writing it or not.