News for hackers. Stuff that matters.
Re:Windows 11 calls a zip file a 'postcode file' in UK English by RheingoldRiver on Wednesday June 07, 2023 @04:54PM (#36233413)
Surely, an LLM could handle this, if it were to get fed the entire book in chunks. "Change all mentions of the word 'flat' in its connotation as the British word for 'apartment', to say 'apartment'. Make no other changes to the manuscript." Then have it double-check its work afterwards. "Does every instance of the word 'apartment' in this text make sense? Does every instance of the word 'flat' in this text make sense in American English?"

and then run this prompt on each pair of words that you want it to do. When it's done, run a quick diffcheck on it & check its work to learn of any gotchas.

Re:Windows 11 calls a zip file a 'postcode file' in UK English by LordShredda on Wednesday June 07, 2023 @05:19PM (#36233738)
Why the hell does it have to be AI? A regex would be faster to run, test, and diff check. Even better,instead of paying a programmer to waste your time just pay an actual editor to proof read it
Re:Windows 11 calls a zip file a 'postcode file' in UK English by TeMPOraL on Wednesday June 07, 2023 @05:40PM (#36233976)
It doesn't. It perhaps shouldn't.

That said, I found myself doing little text mangling tasks with GPT-4 instead of appropriate command line tools, because fuck if I remember the flags to sort and unique, and it's much faster to just describe what I want and have the LLM take a crack at it.

This is why, I think, you'll see a lot of simple(ish) tasks being done by LLMs, at couple orders of magnitude more compute cost - it's just that much more convenient.

Re:Windows 11 calls a zip file a 'postcode file' in UK English by lalopalota on Wednesday June 07, 2023 @05:56PM (#36234174)
Typing out the instructions, copying and pasting the data, then analyzing the output for correctness is faster than running `sort -h` ?
Re:Windows 11 calls a zip file a 'postcode file' in UK English by messe on Thursday June 08, 2023 @02:02AM (#36237816)
It can be less mental effort, not necessarily faster.
Re:Windows 11 calls a zip file a 'postcode file' in UK English by TeMPOraL on Thursday June 08, 2023 @04:27AM (#36238838)
Faster than recalling or finding out again that it's `sort -h`, and not `sort -n` or `xargs -wtf -- sort -xkcd {}` or whatever.
Re:Windows 11 calls a zip file a 'postcode file' in UK English by RheingoldRiver on Wednesday June 07, 2023 @06:20PM (#36234448)
But the LLM already "understands" the changes that need to be made. A regex to figure out if "flat" means "apartment" or not? Consider the text (which I just made up & I'm really not a fiction writer so I apologize for it being terrible):

"Oh, I live near there too! House or flat?"

Stanley hesitated. These questions were getting more and more personal. Was this her idea of casual conversation? Or was she trying to get to know him personally? Well, he thought, what could go wrong if I treat this like a conversation. "Flat," he said. And then asked a question of his own. "What kind of pop do you like?"

How are you going to decide if "flat" is talking about non-fizzy pop/soda, or a dwelling space with a regex? It's a lot closer to the word "pop."

Of course, GPT handles this perfectly https://chat.openai.com/share/fb6a56a2-749c-4e71-9506-541bb8...

Re:Windows 11 calls a zip file a 'postcode file' in UK English by hunter2_ on Wednesday June 07, 2023 @11:22PM (#36236767)
Some places in America do say "pop" instead of "soda," so I'm hesitant to call it perfect...

But I'll admit I agree that this is well beyond the scope of regex.

Re:Windows 11 calls a zip file a 'postcode file' in UK English by numpad0 on Wednesday June 07, 2023 @10:43PM (#36236517)
Because replacing all appearances of apartment with apartment just apartment out isn’t going to work?
Re:Windows 11 calls a zip file a 'postcode file' in UK English by asddubs on Wednesday June 07, 2023 @06:19PM (#36234430)
instead of feeding it into a black box and hoping it does the right thing, how about just paying someone to manually find each instance and only replace it if appropriate. it's tedious and grueling but assuming every other word isn't "flat" should only take a few hours.
Re:Windows 11 calls a zip file a 'postcode file' in UK English by anlaw on Wednesday June 07, 2023 @06:25PM (#36234500)
Surely the effort to manage LLMs is wasted on keeping a publisher from having to do the job they’re paid for.

Are we really going to let big corp automate away their role in the social contract? Ostensibly Random House needs to provide real output not just be a brand that farms out all the work to AI, and thus captures value on the fiat ledger.

The number of rent seeker non-contributors is too damn high. We cannot base society off dying peoples hallucinations about how the world works anymore. This is bonkers.

I never asked to exist. Why am I constrained to beliefs like Bill Gates and the like are divine in contemporary ways?

Re:Windows 11 calls a zip file a 'postcode file' in UK English by andrewfong on Thursday June 08, 2023 @12:38AM (#36237283)
If you're going to use an ML model, you might as well use an existing language translation model rather than asking ChatGPT or the like to convert words one by one. You'd probably get better results treating American English and British English as entirely different languages rather than assuming one is the same as the other but with a handful of different words.