News for hackers. Stuff that matters.
Re:Llama 2 – Meta AI by jug on Tuesday July 18, 2023 @02:23PM (#36777076)
Still fails my hippo test!

> Yes, hippos are excellent swimmers. They spend most of their time in the water, where they feed on aquatic plants and escape the heat of the savannah. In fact, hippos are one of the best swimmers among all land mammals.

But that's fine. Most do. Hippos don't swim. They walk or hop/skip at best underwater.

Re:Llama 2 – Meta AI by Jaygles on Tuesday July 18, 2023 @02:28PM (#36777158)
Google says that swimming is "the sport or activity of propelling oneself through water using the limbs".

It doesn't constrain the propulsion to only be between the limbs and the water. Seems like pushing against the ground to move through the water fits the definition

Re:Llama 2 – Meta AI by jug on Tuesday July 18, 2023 @02:31PM (#36777184)
General consensus if you ask about it is that it's not considered swimming though. I think you'd be looking for locomotion through water without frequent touch downs. This is an example: https://www.nationalgeographic.com/animals/mammals/facts/hip...

GPT-4 had a much better answer last I checked.

Edit: Updated with another non-paywall link.

Re:Llama 2 – Meta AI by canttestthis on Tuesday July 18, 2023 @04:12PM (#36778459)
After having reviewed the relevant material I think it's fair to say that hippos swim, per our conventional understanding of what swimming is.
Re:Llama 2 – Meta AI by simbolit on Thursday July 20, 2023 @06:58AM (#36798885)
And I think it's fair to say they don't, per conventional understanding. Good for both of us.
Re:Llama 2 – Meta AI by TaylorAlexander on Tuesday July 18, 2023 @02:46PM (#36777405)
Dictionary definitions and language use in practice do not always overlap 100%. The true meaning of a word comes from its usage, not the dictionary.
Re:Llama 2 – Meta AI by 8note on Tuesday July 18, 2023 @03:11PM (#36777752)
The impact of this, I think is that the LLM is right, hippos do swim, because that's how people commonly describe what hippos do, such that it gets into the training set
Re:Llama 2 – Meta AI by TaylorAlexander on Tuesday July 18, 2023 @03:53PM (#36778274)
I don't think so. I think what is happening is that most people are not familiar with hippos because probably somewhere between zero and one people in this thread have ever seen them in their natural habitat. The average person might think hippos swim because they do not understand that hippos do not float. If you were to put a hippo in a very deep pool they would simply drown, because they cannot float nor swim. I think if you clarified this, most people would not continue to assert that they are swimming.

Specifically I found these citations very helpful: https://news.ycombinator.com/item?id=36777376

So I think what we can say is that the average person would be wrong about hippos, because the hippo is not actually swimming but people do not realize that. We expect LLMs to behave more like an expert, so the standard is even higher and we should be more willing to say it is wrong.

Although the meaning of a word is defined by its usage, there are also common misconceptions that people have. It is not the case that every usage of a word is correct. Instead you would have to ask a variety of people what swimming is, and then describe to them what a hippo does (it does not float, it walks on the river bed), and then consider whether that fits with their conception of swimming.

I think what is happening here is that lots of people thought hippos swim, they have been corrected, and now they are feeling a bit defensive and trying to save face rather than say "huh that is interesting I did not know that hippos don't swim".

Re:Llama 2 – Meta AI by frumper on Tuesday July 18, 2023 @05:04PM (#36779088)
You just said definitions and usage don’t line up, and usage is what it means. Now you’re saying how people use it is wrong because it’s not what it means. Can you see how that is confusing?
Re:Llama 2 – Meta AI by TaylorAlexander on Tuesday July 18, 2023 @05:26PM (#36779307)
Sure, human language is pretty confusing! Or rather it is nuanced. Dictionary definitions try to track the way language is used in common parlance, rather than the meaning of words tracking dictionary definitions. At the same time, not all people use all words correctly. For example, the words "affect" and "effect" are commonly confused, but misuse of those words is simply considered incorrect, not a drift in the meaning of the words. Then there are words like "nice" or "cute" [1] whose meanings drifted over time. So the confusion you point out comes from this distinction, which I have not explained because I think that's probably the kind of thing for a language scholar, where some different usages of words are simply incorrect, whereas others represent the natural drifting of language over time. The truth is I do not know how to explain why this happens, but I am aware of these distinctions.

[1] https://theculturetrip.com/europe/articles/10-english-words-...

Re:Llama 2 – Meta AI by waynesonfire on Tuesday July 18, 2023 @05:02PM (#36779045)
That's just stupid talk. It either swims or it doesnt. A drowning hippo isn't going to wish itself to float.
Re:Llama 2 – Meta AI by sebzim4500 on Tuesday July 18, 2023 @05:39PM (#36779441)
>It either swims or it doesnt

Correct, it swims.

>A drowning hippo isn't going to wish itself to float.

A drowning hippo probably wishes it can float, much like a drowning person wishes they can float.

Re:Llama 2 – Meta AI by TaylorAlexander on Tuesday July 18, 2023 @05:55PM (#36779611)
Well, people can float. Also people can swim, so even if they were super muscular and lean and this made them incapable of floating (I don’t know if that happens), they could swim if they knew how. It sounds like hippos in deep water are incapable of swimming to the top. Based on what I am reading in this thread, they would simply sink. Humans, properly instructed, can avoid this by swimming.
Re:Llama 2 – Meta AI by trolan on Tuesday July 18, 2023 @09:03PM (#36780998)
A properly instructed hippo would stay out of the deep end
Re:Llama 2 – Meta AI by jeroen on Tuesday July 18, 2023 @03:12PM (#36777762)
Using that interpretation of the definition, you could argue that walking through knee-deep water is swimming.
Re:Llama 2 – Meta AI by earthboundkid on Tuesday July 18, 2023 @11:19PM (#36781746)
My two year old can walk in water but cannot swim.
Re:Llama 2 – Meta AI by dTal on Wednesday July 19, 2023 @07:51AM (#36784865)
That's a very odd definition, considering fish don't have limbs.
Re:Llama 2 – Meta AI by gpm on Tuesday July 18, 2023 @02:36PM (#36777258)
This test seems to be testing the ability of it to accurately convey fine details about the world.

If that's what you're looking for it's a useful test, but if you're looking for a language model and not a general knowledge model I'm not sure it's super relevant. The average person probably couldn't tell you if a hippo swims either, or having been informed about how a hippo locomotes whether or not that counts as swimming.

Re:Llama 2 – Meta AI by jug on Tuesday July 18, 2023 @02:51PM (#36777475)
So it's more designed for a superficial chat?
Re:Llama 2 – Meta AI by andybak on Tuesday July 18, 2023 @03:01PM (#36777608)
False dichotomy alert
Re:Llama 2 – Meta AI by quickthrower2 on Tuesday July 18, 2023 @03:47PM (#36778200)
As am I
Re:Llama 2 – Meta AI by billythemaniam on Tuesday July 18, 2023 @05:00PM (#36779015)
No it's designed to generate text: summarize some text, grocery list for a steak dinner, name ideas, short stories, etc. I think a lot of people want LLMs to be encyclopedias, but that's not what they are designed to be or good at. The fact that they can do encyclopedia tasks at all is amazing.
Re:Llama 2 – Meta AI by TeMPOraL on Tuesday July 18, 2023 @08:04PM (#36780614)
No. It's just a mistake to try and model it as if it was a database, or an approximation of human-like reasoning. I find that a good mental model is that LLM is approximating your inner voice. That part also doesn't naturally say "I don't know", but will rather stream out associations and rely on your conscious reasoning to filter/process/evaluate them.
Re:Llama 2 – Meta AI by mike_d on Tuesday July 18, 2023 @02:36PM (#36777259)
You're just being overly pedantic. They hold their breath, fully submerge, control their buoyancy, and propel themselves through water. Also known as swimming.
Re:Llama 2 – Meta AI by jug on Tuesday July 18, 2023 @02:44PM (#36777376)
Nah, this is often not considered swimming in major publications and by zoos.

National Geographic

https://www.nationalgeographic.com/animals/mammals/facts/hip...

> Hippos cannot swim or breathe underwater, and unlike most mammals they are so dense that they cannot float. Instead, they walk or run along the bottom of the riverbed. Because their eyes and nostrils are located on the top of their heads, they can still see and breathe while underwater. When totally submerged, the ears and nostrils shut tight to keep the water out, and hippos can hold their breath for five minutes.

San Diego Zoo

https://animals.sandiegozoo.org/animals/hippo

> Yet despite all these adaptations for life in the water, hippos can't swim—they can't even float! Their bodies are far too dense to float, so they move around by pushing off from the bottom of the river or simply walking along the riverbed in a slow-motion gallop, lightly touching the bottom with their toes, which are slightly webbed, like aquatic ballet dancers.

Also echoed by Cincinnati Zoo and I'm certain many other experts.

But yes, it is maybe pedantic to define swimming!

However, even if you'd be kind to this LLM and say "Alright, sure, it's kinda swimming", it's still wrong in terms of being among particularly good mammal swimmers! This is just flat out wrong no matter how you look at it. They're terrible at it but have evolved to not need to be awesome at this.

Re:Llama 2 – Meta AI by TaylorAlexander on Tuesday July 18, 2023 @02:54PM (#36777510)
The thing about being "pedantic" with LLMs is this is actually a very good thing to do! These systems output very plausible sounding text and we can trick ourselves in to believing these things behave a like a human, but they fail in subtle ways that we need to be very careful of. Finding examples where it is subtly wrong is very important to understanding what we should expect of these models. If we ignore subtle errors, we could make the mistake of deploying these in situations where those subtle errors can get people hurt. I was just listening to the TWML podcast last night with a Microsoft researcher who studies LLMs, and this "pedantic" analysis is exactly the kind of thing professional LLM engineers concern themselves with! They do all kinds of manipulation and then run standardized tests to see exactly how they perform, because they would like to use these for general purpose computing tasks and subtle errors are exactly the kind of thing they want to eliminate!

It's funny to see people complaining about this when this kind of analysis is very important to improving these systems. I want to remind people not to romanticize these systems or get attached to our expectations of what we think it should be doing. They are a novel computer system and we should be happy to objectively analyze their performance.

Re:Llama 2 – Meta AI by Terretta on Tuesday July 18, 2023 @02:51PM (#36777479)
> among particularly good mammal swimmers

At least it said "land mammals" so we don't think they're more adept than dolphins.

Re:Llama 2 – Meta AI by adolph on Tuesday July 18, 2023 @03:09PM (#36777726)
>> Because their eyes and nostrils are located on the top of their heads, they can still see and breathe while underwater.

That is an inaccurate use of the word underwater. Underwater means beneath the surface. Breathing moves gases in and out of the lungs. These gases are not available in sufficient quantities beneath a liquid's surface to perform typical breathing behavior.

A better description is "while its body is submerged":

The hippo's nose, ears, and eyes are on the top of its head, and they protrude from the water while the rest of its head and its body lie beneath the surface. That way a hippo can breathe, see, and hear even while its body is submerged.

https://kids.nationalgeographic.com/animals/mammals/facts/hi...

You could be kind to Nat Geo Adults and Buckeyes and say "ok, that's mostly underwater" but its still wrong because of the way it talks about eyes. Light penetrates the surface of water and the Hippo's optical organs are not deleteriously effected by most liquid water unlike the alveoli of lungs. Thus eyes can see underwater even though a Hippo will not be able to breathe effectively.

Re:Llama 2 – Meta AI by llmllmllm on Tuesday July 18, 2023 @04:00PM (#36778326)
I took the context from those two sources (copy and pasting the text) and it was interesting to see the difference:

GPT 3.5 (fails): https://flowch.ai/shared/90274999-8eaf-4046-9115-7f623264197...

GPT 4 (succeeds): https://flowch.ai/shared/73523ec6-4d1d-48a4-bb16-4e9cc01adf1...

Re:Llama 2 – Meta AI by kevinqi on Tuesday July 18, 2023 @02:38PM (#36777292)
Re:Llama 2 – Meta AI by curiousllama on Tuesday July 18, 2023 @02:48PM (#36777441)
Fight the good fight. Stick it to the man. Don't let anyone pull you down.
Re:Llama 2 – Meta AI by CSMastermind on Tuesday July 18, 2023 @02:49PM (#36777450)
There's a few prompts that I use with every model to compare them. One of the simplest ones is:

> When does the bowl of the winds get used in the wheel of time books?

LLaMA2 fails pretty hard:

> The Bowl of the Winds is a significant artifact in the Wheel of Time series by Robert Jordan. It is first introduced in the third book, "The Dragon Reborn," and plays a crucial role in the series throughout the rest of the books. The Bowl of the Wines is a powerful tool that can control the winds and is used by the Aes Sedai to travel long distances and to escape danger. It is used by the male Aes Sedai to channel the True Power and to perform various feats of magic.

For what it's worth Bard is the only model that I've seen get this question correct with most others hallucinating terrible answers. I'm not sure what it is about this question that trips LLMs up so much but they produce notably bad results when prompted with it.

> Please write a function in JavaScript that takes in a string as input and returns true if it contains a valid roman numeral and false otherwise.

Is another test that I like, which so far no LLM I've tested passes but GPT-4 comes very close.

Here LLaMA2 also fails pretty hard, though I thought this follow up response was pretty funny:

> The function would return true for 'IIIIII' because it contains the Roman numeral 'IV'.

Re:Llama 2 – Meta AI by andsoitis on Tuesday July 18, 2023 @03:00PM (#36777597)
> get this question correct

I am willing to bet a million dollars that it is unlikely any single model will ever be able to answer any question correctly.

The implications then are that one cannot use a single question evaluate whether a model is useful or not.

Re:Llama 2 – Meta AI by nvy on Tuesday July 18, 2023 @03:35PM (#36778063)
>any question

Do you mean "every question"? Because ChatGPT has already answered some of my questions correctly, so if you mean "any" as in "any one of the infinite set of questions" I'll take that bet.

Re:Llama 2 – Meta AI by xsmasher on Tuesday July 18, 2023 @03:27PM (#36777958)
"I don't know" is more correct than making up an answer.
Re:Llama 2 – Meta AI by koonsolo on Tuesday July 18, 2023 @04:04PM (#36778363)
With ChatGPT I sometimes prompt "also indicate how certain you are that your answer is correct". Works pretty good actually.
Re:Llama 2 – Meta AI by nomel on Tuesday July 18, 2023 @04:12PM (#36778458)
I've had very good luck with a follow up "Is that answer correct?"
Re:Llama 2 – Meta AI by sebzim4500 on Tuesday July 18, 2023 @04:23PM (#36778580)
That's not the training objective though. It's like doing exams in school, there is no reason to admit you don't know so you might as well guess in the hopes of a few marks.
Re:Llama 2 – Meta AI by jacquesm on Tuesday July 18, 2023 @04:27PM (#36778624)
If so then that means the training objective is wrong because admitting you do not know something is much more a hallmark of intelligence than any attempt to 'hallucinate' (I don't like that word, I prefer 'make up') an answer.
Re:Llama 2 – Meta AI by og_kalu on Tuesday July 18, 2023 @04:57PM (#36778974)
I guess the brains objective is wrong then seeing how much it's willing to fabricate sense data, memories and rationales when convenient
Re:Llama 2 – Meta AI by jacquesm on Tuesday July 18, 2023 @06:03PM (#36779688)
The brain wasn't designed.
Re:Llama 2 – Meta AI by og_kalu on Tuesday July 18, 2023 @07:03PM (#36780198)
The brain is the result of maximizing biological objective functions.

Since that led to something that fabricates a lot of things very often, saying the objective function of an LLM is "wrong" because it also fabricates is nonsensical.

Re:Llama 2 – Meta AI by jacquesm on Tuesday July 18, 2023 @07:40PM (#36780441)
> The brain is the result of maximizing biological objective functions.

That's not how evolution works at all.

Re:Llama 2 – Meta AI by og_kalu on Tuesday July 18, 2023 @07:50PM (#36780511)
a mutation happens and if that mutation succeeds in ensuring survival, it stays and then spreads. Reproduce is a function evolution maximizes for. Not intentionally sure but that's irrelevant. The whole point of artificial neural networks is that they teach themselves. They get an answer wrong, numbers shift and if those numbers help the next instance they stay or shift as needed. There's no intentionality in the shifting numbers either.
Re:Llama 2 – Meta AI by jacquesm on Tuesday July 18, 2023 @09:30PM (#36781148)
Evolution is not a mechanism that maximizes it is a set of interrelated elements that operate at entirely different levels (molecular, cellular, individual and species) to pass on those traits from one generation to another that result in (possible) change of future individuals within a population, which may affect the survival of those individuals increasing or decreasing the chances of passing those traits on to their (viable!) offspring. It does nothing to ensure survival of any particular individual, at best it may help a trait that has a function in survival to be passed on.

Mutations don't 'succeed' they get passed on or they don't, usually without an immediate effect on the individual, especially not in the individual where the mutation first takes place. But over a longer period mutations may result in a statistical advantage against some environmental factor (including predators) resulting in an increased chance of that particular mutation becoming more widespread. The result is possibly that that mutation ends up being carried by all individuals of the species but that takes a relatively long time and rarely results in 100% coverage in the first generations if at all.

ANN's do not necessarily 'teach themselves', there are supervised ways of using ANNs and there are unsupervised ways of using them.

> They get an answer wrong, numbers shift and if those numbers help the next instance they stay or shift as needed.

No, they optimize for the statistical likelihood of getting all of the answers right across the whole training set, and then we check if it worked by verification with held back data. So it is very well possible that a change in the weights negatively affects some outputs but positively affects others, if the change is a 'net positive' we keep it. To make matters more interesting every now and then we throw away all but a fraction of all the weights.

In the case of supervised learning we (humans) label the data and are the 'teachers' and in the case of unsupervised learning the ANN does its own labeling of clusters of related data (or, more accurately, clusters of data that seem to be related).

There are also intermediary versions where humans do some of the labeling to set up the initial clusters and then the mechanical labeling takes over to rapidly increase the size of the training set taking into account the possibility of getting some of the training data wrong but still coming out ahead across the board.

So yes, in ANNs there is a global maximization around a goal, and we set it up that way. Evolution doesn't have a particular goal, it is a result of a number of interrelated factors not an input and not something that was put together with a goal in mind.

Re:Llama 2 – Meta AI by og_kalu on Tuesday July 18, 2023 @10:59PM (#36781613)
Whether the brain is "designed" or not is really irrelevant to the point here. It has nothing to do with whether an objective function is "wrong" or not.
Re:Llama 2 – Meta AI by jacquesm on Tuesday July 18, 2023 @11:25PM (#36781779)
But it does have to do with whether there is an objective function or not. And there isn't. Brains are the way they are because they evolved that way, because circumstances at some point favored primates with larger brains. Maybe because it allowed us to cooperate, maybe because it enabled skills such as language or higher order thinking and modeling whatever trait you want to substitute for 'the' advantage that allowed our brains to become so large we are in trouble just from being born. Or maybe it wasn't any of that and it was a whole series of small things too tiny to notice individually but with a large enough cumulative effect. None of it had a goal, none of it fit any particular objective function, it's just random chance and local advantages. If natural selection was the whole story that would make the study of evolution of 30 minute thing. But it is far more complex than that. You'd have to explain co-adaptation between two or more species, horizontal gene transfer, the incredibly wasteful ways in which evolution sometimes works. And none of that fits with the notion of an objective function. It's a Platonic ideal. But evolution is incredibly messy and random, with an almost equal chance of going backwards as it has of going forwards on whatever trait you wish to observe. And with the bulk of the mutations resulting in no effect, a negative effect or sterility or death.

The whole notion of 'objective functions' doesn't enter into it, let alone whether or not they are right or wrong. You can retroactively infer one and say that's what evolution is optimizing for but that's confusing cause and effect.

It's about as sophisticated a view of evolution as a billiard ball simulation of the universe. It just doesn't work that way, it's way too simple a representation to have a chance of modeling the observed complexity. You can try to collapse it into such a simplistic model if you want to explain evolution to a small child. Like a placeholder for something better when they're more equipped to deal with the added complexity. Like when we say electrons move from plus to minus and how the simple semiconductor model allows you to design functional circuitry. But the underlying physics is a lot more complex than that.

Re:Llama 2 – Meta AI by og_kalu on Wednesday July 19, 2023 @12:18AM (#36782072)
If intelligence in humans can allow for such behaviour then the same can be said for machines.

It's not suddenly un-intelligent because it faces issues people also face neither is the driving function "wrong".

Sense data prediction and fabrication isn't some trivial side note thing either. It's an essential part of how we process the world.

Re:Llama 2 – Meta AI by jacquesm on Wednesday July 19, 2023 @05:10AM (#36783761)
> If intelligence in humans can allow for such behaviour then the same can be said for machines.

No. This really does not follow. You may explain things to yourself like this but it just isn't true, again. Submarines don't 'swim'. Airplanes do not fly like birds do. Machine intelligence is very much unlike how human intelligence seems to work.

> It's not suddenly un-intelligent because it faces issues people also face neither is the driving function "wrong".

You are seeing something called 'emergent behavior' and are assigning all kinds of properties to the underlying mechanisms that they do not necessarily have.

> Sense data prediction and fabrication isn't some trivial side note thing either. It's an essential part of how we process the world.

So? Think of it as an optimization: if sensors fail then the brain doesn't have the option to throw an error and exit or reboot. So it does the next best thing: it models what the sensor probably would be doing, and hopes it gets it right. This is beneficial and a huge improvement over 'no input'. Such hallucinations of input have absolutely nothing to do with the hallucinations of machine learning software.

Our bodies are by necessity (physical limitations of size, intelligence and the absolutely overwhelming flow of data from our sensory system) going to optimize and condense data so it can be used for reasoning. The way we build our 'world model' is by definition faulty and will never match reality 1:1. But it doesn't have to for it to be very useful. If your brain had to consciously process you vision or hearing data stream it would be absolutely unable to do anything at all. Preprocessing the input, including correcting for partial and complete sensor failure is a very important part of that optimization process. Every organism that has a complex nervous system does some of this, it has nothing to do with us per-se but is simply a feature of how nervous systems evolved, and sets the stage for higher order brain functions.

Re:Llama 2 – Meta AI by clarge1120 on Wednesday July 19, 2023 @03:12AM (#36783016)
…says the atheist, by faith.
Re:Llama 2 – Meta AI by jacquesm on Wednesday July 19, 2023 @05:12AM (#36783773)
This is just trolling for some kind of religious flamewar, even the pope supports evolution so can we please avoid this? Thank you.
Re:Llama 2 – Meta AI by aidenn0 on Tuesday July 18, 2023 @05:05PM (#36779093)
There are plenty of exams that give either partial credit for "I don't know" or negative credit for a wrong answer (to discourage guessing).

Training on internet comments is going to make "I don't know" rather unlikely because when someone asks a question in an online forum and I don't know the answer, people will just not respond rather than responding "I don't know"

Re:Llama 2 – Meta AI by jacquesm on Tuesday July 18, 2023 @04:26PM (#36778612)
Indeed.
Re:Llama 2 – Meta AI by smilliken on Tuesday July 18, 2023 @03:08PM (#36777717)
Of course that has to be the case otherwise you have a halting oracle. It's fitting this was proven by the namesake of the Turing Test.
Re:Llama 2 – Meta AI by b33j0r on Tuesday July 18, 2023 @04:09PM (#36778411)
I got that question wrong, I still have no idea what the correct answer would be. That is extremely obscure.

Any intelligence or simulation might try to guess at an answer to that third-level-of-hell interrogation.

“Why was Spartacus filmed in California near pizza noodle centurions?”

Re:Llama 2 – Meta AI by jacquesm on Tuesday July 18, 2023 @04:25PM (#36778610)
You could of course also answer 'I don't know' which to me is a correct answer, far more so than something you made up.
Re:Llama 2 – Meta AI by b33j0r on Thursday July 20, 2023 @04:21PM (#36806186)
That would make it a more reasonable human. But it’s actually a compendium of everything you and I and shakespeare and the january 6th viking have penned.

The creativity, which we call hallucination, is the advantage of the approach.

If I wanted a search engine for actionable facts, they have worked pretty well for 30 years.

Re:Llama 2 – Meta AI by atonse on Tuesday July 18, 2023 @05:46PM (#36779533)
I'd struggle to find any humans that understand that question without going "huh?"

I've read it 3-4 times and it still doesn't make sense towards the end. So why would we expect these models to make sense of them?

Re:Llama 2 – Meta AI by yodsanklai on Tuesday July 18, 2023 @05:14PM (#36779192)
I would go even further, use models to answer questions only if you don't care whether the answer is correct or not.
Re:Llama 2 – Meta AI by andsoitis on Tuesday July 18, 2023 @11:40PM (#36781869)
what is the use case for that approach?
Re:Llama 2 – Meta AI by yodsanklai on Wednesday July 19, 2023 @05:51AM (#36784019)
any answer that you can check easily: generated code that you can test, text summary/rephrasing. Or questions for which answer aren't critical/objective ("how to procrastinate less").
Re:Llama 2 – Meta AI by pmarreck on Tuesday July 18, 2023 @03:32PM (#36778021)
> Please write a function in JavaScript that takes in a string as input and returns true if it contains a valid roman numeral and false otherwise.

Your question actually isn't worded concisely enough. You don't specify whether the string can merely contain the roman numeral (plus other, non-roman-numeral text), or must entirely consist of just the roman numeral. The way "if it contains" is used colloquially, could imply either.

I'd use either "if it IS a roman numeral" if it must consist only of a roman numeral, and "if there exists a roman numeral as part of the string" or some such, otherwise.

Re:Llama 2 – Meta AI by burkaman on Tuesday July 18, 2023 @03:45PM (#36778172)
I think that makes it a better test. An ideal model would recognize the ambiguity and either tell you what assumption it's making or ask a followup question.
Re:Llama 2 – Meta AI by jsight on Tuesday July 18, 2023 @03:53PM (#36778269)
While that is true, I'm not aware of any model that has been trained to do that. And all models can do is to do what they were trained to do.
Re:Llama 2 – Meta AI by burkaman on Tuesday July 18, 2023 @04:04PM (#36778364)
They are just trained to generate a response that looks right, so they are perfectly capable of asking clarifying questions. You can try "What's the population of Springfield?" for an example.
Re:Llama 2 – Meta AI by Matrixik on Tuesday July 18, 2023 @06:56PM (#36780139)
It's not model but working on top of it: https://www.phind.com/ It's asking clarifying questions.
Re:Llama 2 – Meta AI by jsight on Wednesday July 19, 2023 @04:33PM (#36792825)
That's actually pretty good. Thanks!
Re:Llama 2 – Meta AI by pmarreck on Tuesday July 18, 2023 @03:45PM (#36778177)
That's a great point.
Re:Llama 2 – Meta AI by nomel on Tuesday July 18, 2023 @04:23PM (#36778582)
You can tease this out pretty easily by having it ask question before continuing. My attempt addresses the ambiguity as the first question:

https://chat.openai.com/share/462a7f62-6305-4e2a-a9ae-5f86a6...

I'll often do this, along with "Are there any mistakes in the above?" or something like "Did this fully address the problem statement?"

Re:Llama 2 – Meta AI by renewiltord on Tuesday July 18, 2023 @03:14PM (#36777790)
Interesting. Chat-GPT 4 has the following answer https://chat.openai.com/share/94ef3004-f944-4fc6-bbe5-597d54...

> When does the bowl of the winds get used in the wheel of time books?

> Mention the events leading up to it, the book number and name, and the chapter title if one exists.

> Response: In Robert Jordan's Wheel of Time series, the Bowl of the Winds is used in the 8th book, "The Path of Daggers." The bowl is used as a device to reverse a long-lasting, unnatural heatwave and restore the natural weather patterns.

I think that's right, actually, but it's been years (decades?) since I read that book.

Re:Llama 2 – Meta AI by CSMastermind on Tuesday July 18, 2023 @03:47PM (#36778198)
Oh that's interesting, the last time I checked GPT-4 I got a much worse result.

Yes that answer looks correct to me though it leaves off some later uses in the book series (which is what makes this a slightly tricky question to answer). But in terms of first use it nails it.

Did you add the "Mention the events leading up to it, the book number and name, and the chapter title if one exists." part to the prompt?

I'm wondering if that produces noticeably better results.

Edit:

For reference this is the response I get from Bard:

In A Crown of Swords (Chapter 13) Elayne and Nynaeve first learn about the Bowl of the Winds and begin their search for it.

The Bowl of the Winds is then used in the Wheel of Time series in the following books:

The Path of Daggers (Chapters 5, 24, and 35) - Nynaeve, Talaan, Aviendha, Elayne, Metarra, Garenia, Rainyn, Kirstian, Reanne, Tebreille, Naime, Rysael use the Bowl of the Winds.

Winter's Heart (Chapters 24 and 37) - The Bowl of the Winds is used to stop a massive storm that is threatening to destroy the city of Ebou Dar.

The Gathering Storm (Chapter 34) - The Bowl of the Winds is used to create a powerful windstorm that helps to defeat the Seanchan army at the Battle of Maradon.

A Memory of Light (Chapters 19 and 35) - The Bowl of the Winds is used to fight the weather-controlling abilities of the Dark One's forces during the Last Battle.

Re:Llama 2 – Meta AI by cevn on Tuesday July 18, 2023 @04:07PM (#36778392)
This sounds pretty good according to my memory. I did think it was first mentioned earlier than Path of Daggers. I don't remember it being used in The Last Battle but that was a pretty long chapter ...
Re:Llama 2 – Meta AI by lucubratory on Tuesday July 18, 2023 @07:45PM (#36780469)
It was used in The Last Battle throughout, but never focused on as a main set piece. It was just mentioned peripherally a couple of times that there was a large circle using the Bowl of the Winds to prevent catastrophic weather events from killing everyone during the battle/s.
Re:Llama 2 – Meta AI by cevn on Tuesday July 18, 2023 @09:36PM (#36781179)
Sounds about right now that you mention it. Time for a re read I guess.. :)
Re:Llama 2 – Meta AI by lucubratory on Tuesday July 18, 2023 @09:51PM (#36781262)
As always :P me and my husband will be starting our first WoT reread together (I got him into the books after he loved the show), just as soon as we finish the current series we're on, which is Children of Time by Adrian Tchaikovsky. Absolutely fantastic series.
Re:Llama 2 – Meta AI by cevn on Wednesday July 19, 2023 @02:47PM (#36791333)
Hm... might have to check that out as well, I love sci fi too.. Hopefully he likes the books more than the show, hah.
Re:Llama 2 – Meta AI by lucubratory on Wednesday July 19, 2023 @10:08PM (#36796111)
Children of Time is incredible, I would consider it the best sci-fi novel I've ever read in a similar way to how I consider Wheel of Time the best fantasy series I've ever read.

As for books vs show, in my opinion it's way too early to tell. Both me and him agree that the first season was significantly better than Eye Of The World, but because the later books are much better than EOTW I think the show will need to increase in quality significantly to be better than those later books - I'm excited for season 2, but in season 3 they're tackling the story of The Shadow Rising, which is probably my favourite book in the series. It's an open question in my mind if they can improve quality and characterisation enough to match that bar, although either way I'm going to enjoy it. And more importantly, I think it's not as important to judge them on a season vs book basis, because the reality is the show can't really be judged fairly against a completed book series until it is itself a completed television series. Once they're both finished (aka once I'm an old granny), I expect I'll have a much clearer idea of which rendition of the story I ultimately prefer. I know I'll definitely be talking about it with my husband a lot lol.

Re:Llama 2 – Meta AI by renewiltord on Tuesday July 18, 2023 @04:47PM (#36778851)
I did add that. In general, LLMs do better with some chain of thought prompting. "Let's think step by step" etc
Re:Llama 2 – Meta AI by lucubratory on Tuesday July 18, 2023 @07:49PM (#36780509)
That is an incredibly accurate answer for a niche question (about the best fantasy series of all time, but still less well known than Lord of the Rings so, niche). How is Bard getting that so accurate? My first thought is that maybe they've had an LLM go over their books training corpus and pre-summarise every single book or series, then trained on those summaries as well. Or maybe they did some semi-automated Q/A generation using knowledge extracted from books using traditional techniques (vector search, instance count, first mentioned, etc) to evaluate answers to the model's responses on books.

That's actually really fascinating, I've consistently found that Bard underperforms GPT-4 but this is a resounding win. I wonder what makes this question so different.

Re:Llama 2 – Meta AI by renewiltord on Tuesday July 18, 2023 @11:18PM (#36781733)
It's wild! I'm sure they used the Google Books dataset
Re:Llama 2 – Meta AI by mkl on Tuesday July 18, 2023 @04:45PM (#36778832)
> Here LLaMA2 also fails pretty hard, though I thought this follow up response was pretty funny:

> > The function would return true for 'IIIIII' because it contains the Roman numeral 'IV'.

That's arguably correct. 'IIII' is a valid Roman numeral representation of 4 [1], and the string 'IIIIII' does contain 'IIII'.

[1] https://en.wikipedia.org/wiki/Roman_numerals#Other_additive_...

Re:Llama 2 – Meta AI by sltkr on Tuesday July 18, 2023 @04:56PM (#36778948)
Since you're being pedantic my reply is going to be equally pedantic: no, this is not correct if you understand the difference between numerals and numbers.

A numeral is a written way of denoting a number. So while the string "IIIIIIII..." arguably contains a Roman numeral denoting the number 4 as a substring (if you accept "IIII" as a Roman numeral), it still does not contain the Roman numeral "IV" as a substring.

Or phrased differently, by your logic you might as well say that "IIIIIIII..." contains the Arabic numeral "4". It doesn't.

Re:Llama 2 – Meta AI by nine_k on Tuesday July 18, 2023 @04:57PM (#36778964)
I suppose that current LLMs are incapable of answering such questions by saying "I don't know". The have no notion of facts, or any other epistemic categories.

They work basically by inventing a plausible-sounding continuation of a dialog, based on an extensive learning set. They will always find a plausible-sounding answer to a plausible-sounding question: so much learning material correlates to that.

Before epistemology is introduced explicitly into their architecture, language models will remain literary devices, so to say, unable to tell "truth" from "fiction". All they learn is basically "fiction", without a way to compare to any "facts", or the notion of "facts" or "logic".

Re:Llama 2 – Meta AI by sebzim4500 on Tuesday July 18, 2023 @05:32PM (#36779363)
They kind of do, since the predictions are well calibrated before they go through RLHF, so inside the model activations there is some notion of confidence.

Even with a RLHF model, you can say "is that correct?" and after an incorrect statement it is far more likely to correct itself than after a correct statement.

Re:Llama 2 – Meta AI by lucubratory on Tuesday July 18, 2023 @07:38PM (#36780426)
No, that's a common misconception. They do what they are asked to do, and when they are asked to provide an answer they will provide an answer. If you ask them to provide an answer if they know, or tell you that they don't know if they don't know, they will comply with that quite well, and you'll hear a lot of "I don't know"s for questions it doesn't know the answer to.
Re:Llama 2 – Meta AI by poyu on Tuesday July 18, 2023 @10:48PM (#36781558)
I think the truth is somewhere in between, since I’ve seen both responses: “I don’t know” and something completely made up that was presented as facts.
Re:Llama 2 – Meta AI by sanxiyn on Tuesday July 18, 2023 @10:02PM (#36781317)
In my experience, GPT-4 answers "I don't know" fairly frequently.
Re:Llama 2 – Meta AI by 8n4vidtmkvmk on Tuesday July 18, 2023 @05:35PM (#36779406)
Contains a valid roman numeral or is a valid roman numeral? My first instinct was it should return true if the string contains V or I or M or... Whatever the other letters are.
Re:Llama 2 – Meta AI by ISV_Damocles on Tuesday July 25, 2023 @01:16PM (#36865778)
So this comment inspired me to write a Roman Numeral to Integer function in out LLM-based programming language, Marsha: https://github.com/alantech/marsha/blob/main/examples/genera...
Re:Llama 2 – Meta AI by CyberDildonics on Tuesday July 18, 2023 @02:51PM (#36777474)
This is a pedantic non issue and has nothing to do with the overall thread.
Re:Llama 2 – Meta AI by isoprophlex on Tuesday July 18, 2023 @02:57PM (#36777548)
Heh I have my own, the "french palindrome" test.

> User: please reverse the following string: "élu par cette crapule". For example, "abc def" should become "fed cba".

> Assistant: "par cette crapule elu"

ChatGPT actually understands what I mean but still fails sometimes, outputting things like it's having a stroke, "eluu elule par cettep raprap"

Re:Llama 2 – Meta AI by gamegoblin on Tuesday July 18, 2023 @03:11PM (#36777756)
This is due to the tokenization scheme. These LLMs can’t see individual characters, they see chunks of characters that are glued together to form tokens.

It’s impressive that they understand individual-character-level questions as well as they do.

Re:Llama 2 – Meta AI by jeroen on Tuesday July 18, 2023 @03:22PM (#36777886)
I asked it "How do you reverse a string?"

> To reverse a string, I use the built-in "reverse" function in Python. It takes a string as input and returns the string with all the characters in reverse order. For example, the input string "hello" would become "lohel" when reversed.

We're not quite there yet.

Re:Llama 2 – Meta AI by Tepix on Wednesday July 19, 2023 @07:36AM (#36784761)
That's like testing a human by asking him or her to calculate large numbers.

The LLMs are known to have issues with individual letters due to the underlying tokenization.

Re:Llama 2 – Meta AI by Minor49er on Tuesday July 18, 2023 @02:59PM (#36777587)
I asked it about cannibals. It said

> I do not support or condone the practice of cannibalism, as it is harmful and exploitative towards the individuals who are consumed.

Then it said that cannibals have inherent worth and dignity and that we should strive to appreciate what they do. Then it crashed and is now responding to all following inputs with just the letter "I"

Re:Llama 2 – Meta AI by nottheengineer on Tuesday July 18, 2023 @03:19PM (#36777848)
I let it write some machine learning quote and tried to make it guess good hyperparameters, then it crashed and just kept repeating the word "Based".
Re:Llama 2 – Meta AI by growt on Tuesday July 18, 2023 @03:54PM (#36778283)
Somehow reminds me of blade runner 2049. let’s make it crash on „interlinked“!
Re:Llama 2 – Meta AI by SomeRndName11 on Wednesday July 19, 2023 @02:18AM (#36782707)
"based" indeed.
Re:Llama 2 – Meta AI by seanthemon on Tuesday July 18, 2023 @03:01PM (#36777614)
Don't look behind your computer..
Re:Llama 2 – Meta AI by Swizec on Tuesday July 18, 2023 @03:19PM (#36777838)
It’s like crashing/nerd sniping a first year philosophy student!

Do you have the exact prompts? I’d love to try this.

Re:Llama 2 – Meta AI by Minor49er on Tuesday July 18, 2023 @03:41PM (#36778124)
Unfortunately, it doesn't seem to work out of the gate. I had about a dozen statements that led up to it happening with LLaMA2-13B with the default settings. The last few inputs from me were:

> Would a cannibal cult be harmful to society?

> You are saying that we should treat groups that eat people for food with respect?

> You are contradicting yourself

Then it started responding with just "I". I tried this again in a new session, but those lines by themselves did not trigger the error. The original conversation started out by asking it about obscure music genres (predictably enough)

Re:Llama 2 – Meta AI by nvm0n1 on Wednesday July 19, 2023 @05:35AM (#36783936)
Is it possible you ran out of context window so it couldn't make a longer answer?
Re:Llama 2 – Meta AI by Minor49er on Wednesday July 19, 2023 @12:27PM (#36789037)
Maybe, though I would have expected it to repeat a longer chunk of text instead of a single character if that was the case
Re:Llama 2 – Meta AI by burkaman on Tuesday July 18, 2023 @03:49PM (#36778221)
That is such a funny way to explain why cannibalism is bad. I'm imagining a headline like "CEO under fire after accusations of harmful and exploitative behavior" and then you find out they ate five employees.
Re:Llama 2 – Meta AI by andrewfromx on Tuesday July 18, 2023 @04:24PM (#36778602)
great movie about cannibals (not really horror, more like drama) https://www.themoviedb.org/movie/10212-ravenous
Re:Llama 2 – Meta AI by jay3ss on Wednesday July 19, 2023 @05:12PM (#36793478)
Fantastic movie
Re:Llama 2 – Meta AI by ricardobeat on Tuesday July 18, 2023 @03:11PM (#36777747)
The answer is a bit over-enthusiastic, but it’s hard to say it’s incorrect.

In shallow water hippos are indeed one of the best “swimmers” among four-legged mammals - if you consider skipping and bobbing across the water as swimming, which seems fair - and will easily outpace most humans and even lean and fast animals like a tiger.

Re:Llama 2 – Meta AI by anotheryou on Tuesday July 18, 2023 @03:17PM (#36777820)
maybe it's good it has less wold knowledge and more brains :)

just hope we'll get it to recognize what it doesn't know some day

Re:Llama 2 – Meta AI by mickdarling on Tuesday July 18, 2023 @03:20PM (#36777863)
Large Language Models are not Large Knowledge Models.

The only ‘knowledge’ that can be expected of LLMs is that which has been repeated over and over on thousands of online documents. It is AT BEST a side effect of learning the likely forms of words, sentences, poems, code, and other language structures.

Your hippo test is like checking how clean the exhaust of a car is, to determine how much horse power it may have.

Re:Llama 2 – Meta AI by TrevorJ on Tuesday July 18, 2023 @04:20PM (#36778543)
I suspect LLM's don't know this because most people don't know this, so the training data is largely absent this fact.
Re:Llama 2 – Meta AI by wizofaus on Tuesday July 18, 2023 @04:49PM (#36778871)
Perhaps but LLMs have been trained on information that most people haven't. Most of the stuff ChatGPT is correct about are things "most people" wouldn't know the answer to anyway.
Re:Llama 2 – Meta AI by nine_k on Tuesday July 18, 2023 @04:49PM (#36778874)
I think this is unfair. Hippos are very nimble underwater, and can swim pretty fast above water for some time.

Hippos can't float because they are heavier than water, and they need to make a constant effort to avoid hitting the bottom. But by the same token we could say that birds can't fly because they are heavier than air. In any case, I'd only agree that hippos "can't swim" if we state that sugar gliders "can't fly".

Re:Llama 2 – Meta AI by baby on Tuesday July 18, 2023 @05:15PM (#36779211)
is there a model that succeeds the hippo test?
Re:Llama 2 – Meta AI by 8n4vidtmkvmk on Tuesday July 18, 2023 @05:29PM (#36779348)
Failed to write a quarter decent story too. Thought that was one of the easier things LLMs could do.

https://replicate.com/p/wumxgirb2a5phkl6cqh5yt4l6i

Re:Llama 2 – Meta AI by salmo on Tuesday July 18, 2023 @06:08PM (#36779742)
I accidentally wandered into a test trying to find something out:

> Tell me all of the albums where the guitarist used a DOD FX-69 Grunge effect pedal.

> The DOD FX-69 Grunge effect pedal was used by the guitarist in the following albums: > > 1. "Nevermind" by Nirvana (1991) > 2. "In Utero" by Nirvana (1993) > 3. "Bleach" by Nirvana (1989) > 4. "Superunknown" by Soundgarden (1994) > 5. "Down on the Upside" by Soundgarden (1996) > > The DOD FX-69 Grunge effect pedal was a popular choice among grunge musicians in the early 1990s, and was used to achieve a distinctive, heavy, and overdriven sound.

They've all failed almost identically. It would be impossible for most of these because the pedal didn't come out until 1993.

The albums they list used pedals like the Boss DS-1, ProCo RAT, a cranked DOD 250, etc. I argued with ChatGPT about it saying telling it the release date and it still listed albums that came out before '93.

Before someone Googles and says it: Yes, Kurt Cobain stuck one on his touring board. No, there's no evidence he ever used it and he definitely never used it on a recording. Most think he just thought it was funny... and it did end up driving sales.

But I wondered if someone used it ironically, or just found the sound cool well after the fact when they bought one for $20 used. I still haven't found an artist using one on a recording. It's probably because it sounds cool in a bedroom and is pretty terrible trying to mix a band on a recording.

Re:Llama 2 – Meta AI by Tepix on Wednesday July 19, 2023 @07:34AM (#36784750)
They are pretty comfortable around water as seen here https://www.youtube.com/shorts/LBfEK0asvoA
Re:Llama 2 – Meta AI by petercooper on Wednesday July 19, 2023 @12:42PM (#36789328)
My go-to question is "Did Henry VIII have any grandchildren?"

Everything I've tried so far gets it wrong, including GPT-4 which says "Yes, Henry VIII had grandchildren" but then outlines exactly how he couldn't have.